pkg_resources.DistributionNotFound: The 'click==6.2' distribution was not found and is required by whatportis
misakar opened this issue · 4 comments
misakar commented
timofurrer commented
How did you install whatportis
exactly?
The following works perfectly fine on my machine: (Ubuntu 16.10)
virtualenv testenv -p python2.7
source testenv/bin/activate
python -m pip install whatportis
whatportis 1080
misakar commented
timofurrer commented
I think your whatportis
is the one installed outside of your virtualenv and there click
is not installed.
Can you try to call whatportis
with an absolute path, like: testenv/bin/whatportis
?
misakar commented
@timofurrer Yeah!!!!!!! You are right!!!!
Now I notice the command is from /usr/local/bin/whatportis
😄
I try ./venv/bin/whatportis/
, it work!!!!
Thanks for your help!!!!!!!