Skip to content

ImportError: No module named cheroot #27

Open
@the-dbp

Description

@the-dbp

Process Process-5:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 267, in _bootstrap
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "silvia-pi.py", line 297, in rest_server
run(host='0.0.0.0',port=conf.port,server='cheroot')
File "/root/silvia-pi/bottle.py", line 3703, in run
server.run(app)
File "/root/silvia-pi/bottle.py", line 3281, in run
from cheroot import wsgi
ImportError: No module named cheroot

trying to run pip install cheroot gives:

Process Process-5:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 267, in _bootstrap
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "silvia-pi.py", line 297, in rest_server
run(host='0.0.0.0',port=conf.port,server='cheroot')
File "/root/silvia-pi/bottle.py", line 3703, in run
server.run(app)
File "/root/silvia-pi/bottle.py", line 3281, in run
from cheroot import wsgi
ImportError: No module named cheroot
root@raspberrypi:~/silvia-pi# pip install cheroot
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting cheroot
Using cached https://files.pythonhosted.org/packages/bf/be/51b1517c6dbf3851d44b36ff08a6e1012464149f89f74c46b29d2f76545e/cheroot-8.2.1-py2.py3-none-any.whl
Collecting backports.functools-lru-cache; python_version < "3.3" (from cheroot)
Using cached https://files.pythonhosted.org/packages/da/d1/080d2bb13773803648281a49e3918f65b31b7beebf009887a529357fd44a/backports.functools_lru_cache-1.6.1-py2.py3-none-any.whl
Collecting more-itertools>=2.6 (from cheroot)
Using cached https://files.pythonhosted.org/packages/2f/9d/dcfe59e213093695f108508af1214cf9cd95cc5489e46877ec5cb56369e5/more_itertools-5.0.0-py2-none-any.whl
Requirement already satisfied: six>=1.11.0 in /usr/lib/python2.7/dist-packages (from cheroot) (1.12.0)
Collecting jaraco.functools (from cheroot)
Using cached https://www.piwheels.org/simple/jaraco-functools/jaraco.functools-3.0.0-py2.py3-none-any.whl
jaraco.functools requires Python '>=3.6' but the running Python is 2.7.16

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions