Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No matching distribution found for pywin32==306 python v 3.11.4 #2131

Closed
sajeshmorje opened this issue Sep 28, 2023 · 2 comments
Closed

No matching distribution found for pywin32==306 python v 3.11.4 #2131

sajeshmorje opened this issue Sep 28, 2023 · 2 comments

Comments

@sajeshmorje
Copy link

Note that issues in this repository are only for bugs or feature requests in the pywin32.

If you need support or help using this package, please follow these instructions - support or help requests will be closed without comment.

For all bugs, please provide the following information.

ERROR: Could not find a version that satisfies the requirement pywin32==306 (from versions: none)
ERROR: No matching distribution found for pywin32==306

I am getting above error when i try to deploy webapi to azure web app. I have observed when i have installed azure-identity (pip install azure-identity), pywin32 gets added into requirements.txt (after freeze cmd). i have also tried to upgrade pywin32 as per documentation but no success. I have also tried to install pip install pypiwin32, but still its failing

can you please help or guide?

  • Expected behavior and actual behavior.

  • Steps to reproduce the problem.

  • Version of Python and pywin32

@sajeshmorje sajeshmorje changed the title No matching distribution found for pywin32==306 No matching distribution found for pywin32==306 python v 3.11.4 Sep 28, 2023
@vernondcole
Copy link
Collaborator

You have not included information about which operating system you are using.
Usually, this error message occurs when installing on a Linux or other non-Windows system.
You should edit your requirements.txt file to look like
pywin32;sys_platform == 'win32'
so that pip does not attempt to install pywin32 unless you are running on Windows.

@sajeshmorje
Copy link
Author

@vernondcole
thank you for reply, we are deploying FastApi in Azure Web App. I guess internally it uses docker
I am able to resole this issue simply by ust removing entry from requirements.txt of pywin32 == 306

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants