ncrocfer / whatportis

Whatportis : explore IANA's list of ports

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pkg_resources.DistributionNotFound: The 'click==6.2' distribution was not found and is required by whatportis

misakar opened this issue · comments

screen shot 2016-12-26 at 13 53 36

I use whatportis in virtualenv and I successfully install click==6.2 in virtualenv.

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

Thanks for your answer

I use pip install whatportis
and I follow your method, the same error
screen shot 2016-12-26 at 18 27 20

my machine is OSX Yosemite 10.10.4, my pip version is 9.0.1

and very strange, there are several successful install, when I tried many times.
I think maybe it's my pip problem...

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?

@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!!!!!!!