2

I'm new to python. I would like to install the latest version of mitmproxy(0.17.1). The current version installed on the system is 0.15. When I do

easy_install -U mitmproxy 

It says:

Reading https://pypi.python.org/simple/mitmproxy/
Best match: mitmproxy 0.15
Processing mitmproxy-0.15-py2.7.egg
mitmproxy 0.15 is already the active version in easy-install.pth

So it can not find the latest version and when I do:

easy_install  'mitmproxy==0.17.1'

I get :

No local packages or download links found for mitmproxy==0.17.1

Why can't it find the latest version? What should I do to install the latest one?

Alex
  • 1,914
  • 6
  • 26
  • 47

1 Answers1

1

From Why use pip over easy_install? (bold mine):

Binary packages are now distributed as wheels (.whl files)—not just on PyPI, but in third-party repositories like Christoph Gohlke's Extension Packages for Windows. pip can handle wheels; easy_install cannot.

If you visit the mitmproxy page on PyPi, you will notice that the only download there for version 0.17 is in .whl format.

That is why easy_install does not work for you: it can't find anything that it actually can install for the latest version.

Solution

Community
  • 1
  • 1
Akshat Mahajan
  • 9,543
  • 4
  • 35
  • 44