[Django]-Could not find a version that satisfies the requirement pywin32==227 heroku

6👍

✅

I got the same error while deploying flask app in azure app server.

Removing/commentting out pywin32==227 in requirements.txt worked for me.

7👍

Conditional dependencies is a better choice in this situation. This way you don’t break things on Windows.

Add ;platform_system == "Windows" right after the Windows-only packages

0👍

I had the same problem in Pycharm.

Installing new version or packages like pypiwin32 did not work as described above.
Removing packages from the req file did not work either.

I copied my dev files, then I deleted the project.
I set up a completely new project and copied the Py files into it.
It worked.

The cause for the error message above was:

I did corrupt my project by trying to install chart_studio with pip, which did not work. It only works with Conda.
This corrupted my req and my site packages.

Leave a comment