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

ModuleNotFoundError: No module named 'command_line' #12

Open
ColeShelly opened this issue Oct 8, 2018 · 6 comments
Open

ModuleNotFoundError: No module named 'command_line' #12

ColeShelly opened this issue Oct 8, 2018 · 6 comments

Comments

@ColeShelly
Copy link

Traceback (most recent call last):
File "/usr/local/bin/snapception", line 7, in
from snapception.command_line import launch
File "/usr/local/lib/python3.6/dist-packages/snapception/init.py", line 1, in
import command_line
ModuleNotFoundError: No module named 'command_line'

???

@ravaxis
Copy link

ravaxis commented Feb 6, 2019

Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/bin/snapception", line 11, in
load_entry_point('snapception==1.1.1', 'console_scripts', 'snapception')()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/init.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/init.py", line 2793, in load_entry_point
return ep.load()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/init.py", line 2411, in load
return self.resolve()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/init.py", line 2417, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/snapception/init.py", line 1, in
import command_line
ModuleNotFoundError: No module named 'command_line'

I might be fucking up the version or pythonpath

@an0ndev
Copy link

an0ndev commented Jul 10, 2019

Looks like this is an issue with Click versioning: mitmproxy needs click 6.2, but the actual program needs click 7.0, which provides command_line.

@S1700
Copy link

S1700 commented Oct 10, 2020

yo any fixes yet

@an0ndev
Copy link

an0ndev commented Oct 10, 2020

To resolve the import issue, try pip3 install click==7.0.

@S1700
Copy link

S1700 commented Oct 11, 2020

okay thanks

@nosson-p
Copy link

I fixed it by pip install command_line

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

5 participants