11

It's possible with easy_install to install exes from http://www.lfd.uci.edu/~gohlke/pythonlibs/. Is there a way to do the same thing with pip?

Thanks.

bbigras
  • 1,311
  • 2
  • 17
  • 32
  • possible duplicate of [Can I install Python windows packages into virtualenvs?](http://stackoverflow.com/questions/3271590/can-i-install-python-windows-packages-into-virtualenvs) – Jan Katins Jul 11 '14 at 08:41

3 Answers3

12

I don't think this is possible with pip, but this can be done with easy_install. e.g.

$ easy_install -U -Z "exe_installer_path"

--upgrade, -U
--always-unzip, -Z

For further explanation of the command line options please take a look here.

radzak
  • 2,986
  • 1
  • 18
  • 27
nih
  • 171
  • 2
  • 6
  • 2
    It's 2014 and in some cases still `easy_install > pip`. Sometimes you're stuck in Windows, with no admin privileges, and all you have to install a package is this. – astrojuanlu Jul 24 '14 at 11:26
6

No, with pip it is not possible to install an .exe file. These .exe files provided are installer scripts themselves and should be managed by the operating system itself.

Constantinius
  • 34,183
  • 8
  • 77
  • 85
4

Just because I found this question earlier than the better answer in Can I install Python windows packages into virtualenvs?: there is now a way to convert exe installer into wheels which then can be installed via pip. The link has the details.

Community
  • 1
  • 1
Jan Katins
  • 2,219
  • 1
  • 25
  • 35