@Jason-Allred Try running pip install --upgrade setuptools
then netifaces should work.
Jeff Karney
@Jeff Karney
Best posts made by Jeff Karney
-
RE: Octoprint (3D print server) on Omega2+
Latest posts made by Jeff Karney
-
RE: Octoprint (3D print server) on Omega2+
@Jason-Allred Try running
pip install --upgrade setuptools
then netifaces should work. -
RE: Octoprint (3D print server) on Omega2+
@Jason-Allred I did forget to add the
opkg install python-dev
part. I'll run through everything else I did on a clean system to figure out what else I missed. I will point out that netifaces is where the hangup was. Whatever I am missing here got it to install. -
RE: Octoprint (3D print server) on Omega2+
I was able to get Octoprint 1.3.1 installed with minimal effort. It requires python libs that require compiling with GCC so you need to install GCC.
You will need more RAM for this to work. You can do this by creating a swap file. I put my swap file in the root (/) folder which resides on the SD card when following the instructions here. I also made my swap file 512 megabytes, 256 was not enough.
Follow the instructions above and stop at step 3.
Un-comment this line in the /etc/opkg/distfeeds.conf
src/gz reboot_base http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/base
Run
opkg update
opkg install gcc python-dev --force-overwrite
pip install --upgrade setuptools
Replace step 3 with the following steps...
cd /root
wget https://github.com/foosel/OctoPrint/archive/1.3.1.zip
unzip 1.3.1.zip
cd OctoPrint-1.3.1
pip install -r requirements.txt
Follow the remaining steps but replace OctoPrint-1.0.0 with OctoPrint-1.3.1