Back to Browse

Install OctoPrint - 3D Printer Web UI - on Windows

1.2K views
Jan 13, 2025
5:37

#OctoPrint #3DPrinting #Windows Full steps can be found at https://i12bretro.github.io/tutorials/0989.html -------------------------------------------------------------------- What is OctoPrint? -------------------------------------------------------------------- OctoPrint provides a snappy web interface for controlling consumer 3D printers. - https://github.com/OctoPrint/OctoPrint   -------------------------------------------------------------------- Installation --------------------------------------------------------------------    01. Log into the Windows device    02. Download Python v3.11.x  https://www.python.org/downloads/windows/    03. Download Visual Studio Build Tools  https://download.visualstudio.microsoft.com/download/pr/1afa33fc-e800-4714-9e19-31b928ea2572/1fc592e65b7c697cb80f96ae2c2f7ac9e6b366fecd42d7ecb451cc9f0de89624/vs_BuildTools.exe    04. Run the downloaded VS Build Tools installer    05. Select Individual components from the top left ≫ Filter the list to C++ x64/x86 build tools ≫ Check the box next to the option for x64/x86 build tools (Latest)    06. Filter the list to Windows SDK ≫ Check the box next to the option for the latest Windows SDK ≫ Click Install at the bottom right    07. Once the installation completes close VS Build Tools installer    08. Run the downloaded Python installer    09. Select the options to Use Admin privileges and Add python.exe to PATH ≫ Click Customize installation    10. Check the pip, py launcher and for all users options ≫ Click Next    11. Check the top five options, set the install location to C:\Program Files\Python ≫ Click Install    12. Launch PowerShell as Administrator    13. Run the following commands in PowerShell          # create octoprint path          New-Item -Path 'C:\apps\octoprint' -ItemType Directory -Force | Out-Null          # change directory to the new path          cd 'C:\apps\octoprint'          # create and activate the virtual environment          python -m venv .\octo-venv          .\octo-venv\Scripts\activate          # install wheel          pip install --upgrade pip wheel          # install octoprint          pip install octoprint          # run octoprint          .\octo-venv\Scripts\octoprint.exe serve    14. If prompted, allow Python to have network access    15. Open a web browser and navigate to http://DNSorIP:5000   -------------------------------------------------------------------- Run OctoPrint on System Startup --------------------------------------------------------------------    01. Press CTRL + C to kill the running OctoPrint process    02. Open a text editor and paste the following          :: Start OctoPrint server          cd /D "%~dp0"          start "octoprint" /b "C:\apps\octoprint\octo-venv\Scripts\octoprint.exe" serve    03. Save the file as startup.bat in the OctoPrint directory, C:\apps\OctoPrint in this example    04. Click on the Start Button ≫ Type task ≫ Launch Task Scheduler    05. Right click the Task Scheduler Library folder in the left pane ≫ Create Basic Task...    06. Set the name to OctoPrint and optionally set a Description ≫ Click Next    07. For the Trigger, select When the computer starts ≫ Click Next    08. For the Action, select Start a program ≫ Click Next    09. Complete the form fields as follows:          Program/script: "C:\apps\octoprint\startup.bat"          Add arguments:          Start in:    10. Click Next    11. Check the Open the Properties dialog checkbox ≫ Click Finish    12. In the Properties dialog, click the Change User or Group... button    13. Type System in the Object name field ≫ Click OK    14. Click OK to create the scheduled task    15. Right click the OctoPrint task ≫ Run    16. Refresh the open web browser to verify OctoPrint is now running from the scheduled task    17. Click Next on the Start screen    18. Click Next on the Restore Backup screen    19. Create an account my entering a Username and entering and confirming a password ≫ Click Create Account    20. Once the account is created, click Next    21. Choose to Enable or Disable the Connectivity Check ≫ Click Next    22. Choose to Enable or Disable Anonymous Usage Tracking ≫ Click Next    23. Choose to Enable or Disable the Plugin Blacklist ≫ Click Next    24. Click Next on the Webcam Wizard screen    25. Click Next on the Default Printer Profile screen    26. Click Next on the Server Commands screen    27. Acknowledge all the messages on the Finish screen ≫ Click Finish    28. Welcome to OctoPrint   Source:  https://community.octoprint.org/t/setting-up-octoprint-on-windows/383   ### Connect with me and others ### ★ Discord: https://discord.com/invite/EzenvmSHW8 ★ Reddit: https://reddit.com/r/i12bretro ★ Twitter: https://twitter.com/i12bretro

Download

0 formats

No download links available.

Install OctoPrint - 3D Printer Web UI - on Windows | NatokHD