Hello
Can't run octoprint.
I built the image of an openwrt with python and pip and flashing it in a router
Install OctoPrint
# pip install octoprint
the installation goes without fail
Execute it
# octoprint serve
2019-11-28 20:08:32,981 - octoprint.startup - INFO - ******************************************************************************
2019-11-28 20:08:32,995 - octoprint.startup - INFO - Starting OctoPrint 1.3.12
2019-11-28 20:08:32,999 - octoprint.startup - INFO - ******************************************************************************
2019-11-28 20:08:33,367 - octoprint.plugin.core - INFO - Loading plugins from /usr/lib/python2.7/site-packages/octoprint/plugins, /root/.octoprint/plugins and installed plugin packages...
2019-11-28 20:08:34,403 - octoprint.plugin.core - INFO - Found 1 plugin(s) providing 0 mixin implementations, 0 hook handlers
2019-11-28 20:08:36,466 - octoprint.startup - CRITICAL - Could not initialize environment detector: cannot import name _psutil_linux
2019-11-28 20:08:36,478 - octoprint.startup - CRITICAL - There was a fatal error starting up OctoPrint.
Could not initialize environment detector: cannot import name _psutil_linux
There was a fatal error starting up OctoPrint
List of installed packages, psutil installed.
# pip list
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Package Version
---------------- -----------
argh 0.26.2
awesome-slugify 1.6.5
Babel 2.7.0
backports-abc 0.5
blinker 1.4
cachelib 0.1
certifi 2019.11.28
chainmap 1.0.3
chardet 3.0.4
Click 7.0
emoji 0.5.4
feedparser 5.2.1
filetype 1.0.5
Flask 0.10.1
Flask-Assets 0.12
Flask-Babel 0.12.2
Flask-Login 0.2.11
Flask-Principal 0.4.0
frozendict 1.2
future 0.17.1
futures 3.2.0
idna 2.8
itsdangerous 1.1.0
Jinja2 2.8.1
Markdown 3.0.1
MarkupSafe 1.1.1
monotonic 1.5
netaddr 0.7.19
netifaces 0.10.9
OctoPrint 1.3.12
pathtools 0.1.2
pip 19.2.3
pkginfo 1.5.0.1
psutil 5.6.7
pyasn1 0.4.8
pylru 1.2.0
pyserial 3.4
pytz 2019.3
PyYAML 5.1.2
regex 2019.11.1
requests 2.22.0
rsa 4.0
sarge 0.1.5.post0
scandir 1.10.0
semantic-version 2.6.0
sentry-sdk 0.7.7
setuptools 41.2.0
singledispatch 3.4.0.3
six 1.13.0
tornado 4.5.3
typing 3.7.4.1
Unidecode 0.4.21
urllib3 1.25.7
watchdog 0.9.0
webassets 0.12.1
websocket-client 0.56.0
Werkzeug 0.15.6
wrapt 1.11.2
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
root@OpenWrt:~#
Unfortunately I do not know python and cannot fix this problem. How to run it?