In that case add -no-cache-dir to the install command, e.g. If this installs an old version of OctoPrint, pip probably still has something cached. OctoPrint and it's Python dependencies can then be installed using pip: pip install -upgrade pip wheel Sudo apt install python3 python3-pip python3-dev python3-setuptools python3-venv git libyaml-dev build-essential libffi-dev libssl-dev To setup Python, dependencies and the virtual environment, run: cd ~ Installing OctoPrint should be done within a virtual environment, rather than an OS wide install, to help prevent dependency conflicts. Make sure you are using the correct version - it is probably be installed as python3, not python. For some Git basics please take a look here.įor the basic package you'll need Python 3.7, 3.8, 3.9 or 3.10 (one of these is probably installed by default) and pip. This is not a "Linux for Beginners guide", those can be found for example here and here. how to use the Internet to help you if you run into problems.how to SSH into your Pi (so you don't need to also attach keyboard and monitor),.what the difference is between your user account (e.g.how to edit a text file from the command line,.In order to follow it you'll need to know: Important: This guide expects you to have a more than basic grasp of the Linux command line. If on the other hand you want to run the latest versions of Raspbian, install OctoPrint and all the other packages, and get a sense of how it all fits together, do follow the instructions below ( warning: not for the faint of heart). Just download it, flash it to an SD card and you are good to go - you can follow this excellent video guide by Thomas Sanladerer who explains all needed steps in detail. If you want to get OctoPrint up and running as fast as possible, it is highly recommended to take a look at OctoPi, which is an SD card image based on Raspbian already prepared with OctoPrint, webcam support, HAProxy and SSL. Find problems, typos, or incorrect information? Please contribute. This is a wiki node that every user of this forum at trust level 1 or higher can edit.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |