Jump to content

Orange Pi Zero - Installing OctoPrint getting error


Brian Greul

Recommended Posts

I'm getting an error and I'd like some feedback if it is a missing package (apt-get) or a bug in OctoPrint or something wrong in Python.

 

It looks like something is blowing up with Python trying to install a package called scandir 1.3, but I'm not getting anything when I google it with the error.  Thoughts?

 

The documentation on Git was up to date... the documentation on Octoprint.org is wrong for building it from source.  :(

 

Error:


 
creating 'dist/OctoPrint-1.3.0-py2.7.egg' and adding 'build/bdist.linux-armv7l/egg' to it
removing 'build/bdist.linux-armv7l/egg' (and everything under it)
Processing OctoPrint-1.3.0-py2.7.egg
creating /home/admin/OctoPrint/venv/lib/python2.7/site-packages/OctoPrint-1.3.0-py2.7.egg
Extracting OctoPrint-1.3.0-py2.7.egg to /home/admin/OctoPrint/venv/lib/python2.7/site-packages
Adding OctoPrint 1.3.0 to easy-install.pth file
Installing octoprint script to /home/admin/OctoPrint/venv/bin
 
Installed /home/admin/OctoPrint/venv/lib/python2.7/site-packages/OctoPrint-1.3.0-py2.7.egg
Processing dependencies for OctoPrint==1.3.0
Searching for scandir>=1.3,<1.4
Best match: scandir 1.3
Processing scandir-1.3.tar.gz
Writing /tmp/easy_install-9cHv1O/scandir-1.3/setup.cfg
Running scandir-1.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-9cHv1O/scandir-1.3/egg-dist-tmp-iWmvMz
_scandir.c:14:20: fatal error: Python.h: No such file or directory
 #include <Python.h>
                    ^
compilation terminated.
error: Setup script exited with error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
root@OPIZ:/home/admin/OctoPrint# apt-get install scandir
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package scandir
root@OPIZ:/home/admin/OctoPrint#

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines