-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
can't start snare.py #83
Comments
Hi, please run Seems like you have problems with yarl version |
ubuntu@test:~$ pip3 freeze |
Yeah, you have yarl==1.1.0, try to install yarl==0.9.8 (I have this version and snare starts without any problem) |
ok, i've run thank you should yarl==0.9.8 be in requirements.txt then? |
Yeah, you can make a pr :) |
hello
i'm really new to python
installed snare as described
system is ubuntu 16.04, python3 3.5.2
when trying to start:
ubuntu@test:~/snare$ sudo python3 snare.py --port 8080 --page-dir example.com
Traceback (most recent call last):
File "snare.py", line 37, in
from aiohttp.web import StaticResource as StaticRoute
File "/home/ubuntu/.local/lib/python3.5/site-packages/aiohttp/web.py", line 10, in
from . import (hdrs, web_exceptions, web_middlewares, web_reqrep, web_server,
File "/home/ubuntu/.local/lib/python3.5/site-packages/aiohttp/web_middlewares.py", line 5, in
from aiohttp.web_urldispatcher import SystemRoute
File "/home/ubuntu/.local/lib/python3.5/site-packages/aiohttp/web_urldispatcher.py", line 17, in
from yarl import URL, unquote
ImportError: cannot import name 'unquote'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "snare.py", line 39, in
from aiohttp.web import StaticResource
File "/home/ubuntu/.local/lib/python3.5/site-packages/aiohttp/web.py", line 10, in
from . import (hdrs, web_exceptions, web_middlewares, web_reqrep, web_server,
File "/home/ubuntu/.local/lib/python3.5/site-packages/aiohttp/web_middlewares.py", line 5, in
from aiohttp.web_urldispatcher import SystemRoute
File "/home/ubuntu/.local/lib/python3.5/site-packages/aiohttp/web_urldispatcher.py", line 17, in
from yarl import URL, unquote
ImportError: cannot import name 'unquote'
what should i do?
The text was updated successfully, but these errors were encountered: