question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ModuleNotFoundError: No module named 'cherrypy'

See original GitHub issue

I have installed cherrypy on python3.6.6 and python3.7.

when i run tutorial file, i’m getting error as below.

Traceback (most recent call last):
  File "C:\Python36\source_code\env\Lib\site-packages\cherrypy\tutorial\tut01_helloworld.py", line 10, in <module>
    import cherrypy
ModuleNotFoundError: No module named 'cherrypy'

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
webknjazcommented, Jul 10, 2018

How do you run that? (Are you sure you run it via Python executable, which points to the same env cherrypy is installed?)

0reactions
webknjazcommented, Jul 17, 2018

run.py:

#! /usr/bin/env python

from cheroot.wsgi import Server as WSGIServer

from yourdjangoapp.wsgi import application

bind_addr = '0.0.0.0', 8080
WSGIServer(bind_addr, application).safe_start()
$ ./run.py
Read more comments on GitHub >

github_iconTop Results From Across the Web

ModuleNotFoundError: No module named 'cherrypy · Issue #464
Hello. when you run the command "python3 sf.py" an error occurs "ModuleNotFoundError: No module named 'cherrypy' " how to solve it?
Read more >
python - ModuleNotFoundError: No module named 'cherrypy'
1. You probably have multiple versions of Python installed. Try python3.6 -m pip list and verify that cherrypi is in the list. If...
Read more >
ModuleNotFoundError: No module named 'CherryPy'
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'CherryPy' How to remove the ModuleNot.
Read more >
ImportError no module named cherrypy - Google Groups
I'm getting a simple ImportError -- no module named CherryPy -- when I try to use the first method cited in this [http://code.google.com/p/...
Read more >
Bug #19919: mgr: ImportError: No module named cherrypy
I have seen this error occur at various places ImportError: No module named cherrypy probably looks like it can be ignored since the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found