Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install pywin32 with pip in Windows 7 does not work in python 3.4.2

Hy@everybody,

i've try to install pywin32 via pip (1.5.6) with python 3.4.2 under Windows 7, but i've always got the follwing error-message:

Could not find any downloads that satisfy the requirement pywin32
Some externally hosted files were ignored (use --allow-external pywin32 to all
ow).
Cleaning up...
No distributions at all found for pywin32
Storing debug log for failure in C:\Users\tonka\pip\pip.log

All other installations with pip works absolutely fine. On pypi.org, there is an package for pywin32, so don't really understand why this is happening.

I've also tried this --allow-external flag, but then i got the following error

Could not find any downloads that satisfy the requirement pywin32
Some insecure and unverifiable files were ignored (use --allow-unverified pywi
n32 to allow).
Cleaning up...
No distributions at all found for pywin32
Storing debug log for failure in C:\Users\tonka\pip\pip.log

Then i used the --allow-unverified flag and i get this error

Could not find any downloads that satisfy the requirement pywin32
Cleaning up...
No distributions at all found for pywin32
Storing debug log for failure in C:\Users\tonka\pip\pip.log

Is there a package in pip for pywin32 for 3.4? pypi-link

Does anybody has the same problem/behavior?

Edit:

For anybody who is searching for a way to install pywin32 via pip. Use the package pypiwin32 instead of pywin32, it is the same package, but it is pip-able

Greetings
Tonka

like image 724
Michael Aigner Avatar asked Oct 31 '14 08:10

Michael Aigner


People also ask

Does pywin32 work on 64 bit Python?

There is no pywin64 . But pywin32 has 64-bit builds.

Could not find a version that satisfies the requirement pywin32 from versions none?

To fix the error, remove both pywin32 and pywinpty from lines 72 and 73 of your requirements. txt file. Make sure to upload any datasets (including California_Fire_Incidents. csv ) used in your app to the GitHub repo.


1 Answers

In answer to your first question, it appears that there is not a pip pywin32 package for python 3.4. If you take a look at this page: url https://pypi.python.org/simple/pywin32/, you can see that there is a 214_download_url. This indicates that version 214 is the latest available, and the 214 download directory here does not contain an installer for anything later than python 3.1.

In answer to your second question, yes, I see the same problem/behaviour with python 3.4.1. As mentioned by @sk11 in a comment, you can download an installer from here. (I can't add a comment because I don't have the rep.) I've just tried the installer and it appears to work fine.

like image 193
Captain Whippet Avatar answered Oct 12 '22 03:10

Captain Whippet