ihrapsa / OctoWrt

A guide to install Octoprint on the Creality WiFi Box or similar OpenWrt devices
80 stars 26 forks source link

Octoprint installation - python errors #46

Open Modimpulse opened 1 year ago

Modimpulse commented 1 year ago

Hi all,

trying to install Octoprint 1.8.4 on Creality Box 1, everything goes ok with no errors but on reboot octoprint won't start, i tried everything but it seems that every python command i try (uninstall, run setup script) and octoprint service restart pops up the same errors:

`Thu Feb 9 19:48:56 2023 daemon.err octoprint[2824]: Traceback (most recent call last):

Thu Feb 9 19:48:56 2023 daemon.err octoprint[2824]: File "/usr/bin/octoprint", line 33, in

Thu Feb 9 19:48:56 2023 daemon.err octoprint[2824]: sys.exit(load_entry_point('OctoPrint==1.8.4', 'console_scripts', 'octoprint')())

Thu Feb 9 19:48:56 2023 daemon.err octoprint[2824]: File "/usr/bin/octoprint", line 22, in importlib_load_entry_point

Thu Feb 9 19:48:56 2023 daemon.err octoprint[2824]: for entry_point in distribution(dist_name).entry_points

Thu Feb 9 19:48:56 2023 daemon.err octoprint[2824]: File "/usr/lib/python3.10/importlib/metadata/init.py", line 957, in distribution

Thu Feb 9 19:48:56 2023 daemon.err octoprint[2824]: File "/usr/lib/python3.10/importlib/metadata/init.py", line 548, in from_name

Thu Feb 9 19:48:56 2023 daemon.err octoprint[2824]: importlib.metadata.PackageNotFoundError: No package metadata was found for OctoPrint`

i installed python3 python3-pip python3-dev python3-psutil python3-netifaces python3-pillow without errors