Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doesn't start in venv #267

Open
grafst opened this issue Jan 20, 2023 · 1 comment
Open

doesn't start in venv #267

grafst opened this issue Jan 20, 2023 · 1 comment

Comments

@grafst
Copy link

grafst commented Jan 20, 2023

this:

> venv/bin/activate
> python3 -m pip install livereload
> livereload

results in this:

Traceback (most recent call last):
  File "/Users/stephan/git/tennn/venv/bin/livereload", line 5, in <module>
    from livereload.cli import main
  File "/Users/stephan/git/tennn/venv/lib/python3.10/site-packages/livereload/__init__.py", line 15, in <module>
    from .server import Server, shell
  File "/Users/stephan/git/tennn/venv/lib/python3.10/site-packages/livereload/server.py", line 20, in <module>
    from tornado.wsgi import WSGIContainer
  File "/Users/stephan/git/tennn/venv/lib/python3.10/site-packages/tornado/wsgi.py", line 40, in <module>
    from tornado import httputil
  File "/Users/stephan/git/tennn/venv/lib/python3.10/site-packages/tornado/httputil.py", line 106, in <module>
    class HTTPHeaders(collections.MutableMapping):
AttributeError: module 'collections' has no attribute 'MutableMapping'
@lepture
Copy link
Owner

lepture commented Jan 21, 2023

Maybe tornado doesn't support python 3.10. Try python <= 3.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants