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

Error with latest pywin32 #23

Closed
ShadetHeart opened this issue Oct 27, 2020 · 2 comments
Closed

Error with latest pywin32 #23

ShadetHeart opened this issue Oct 27, 2020 · 2 comments

Comments

@ShadetHeart
Copy link

After updating the library with pip, "import pywin32" results in the following error:
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.

This is due to the newest official pywin32 build being faulty.
(Described here: mhammond/pywin32#1598)

A solution to this is using an unofficial pywin32 build:
https://www.lfd.uci.edu/~gohlke/pythonlibs/

  1. Download "pywin32‑228‑cp39‑cp39‑win_amd64.whl"
  2. run "pip uninstall pywin32"
  3. install the downloaded package with "pip install pywin32‑228‑cp39‑cp39‑win_amd64.whl"

Hope this helps anybody running into the same issue and saves them some time.

@CoffeeStraw
Copy link
Owner

Thank you for your issue! I will keep that open until pywin32 will get fixed.
Since some unofficial builds providing a solution already came out, I think it is a matter of days until this issue will get fixed.

@CoffeeStraw
Copy link
Owner

I tried a fresh install of PyonFX using Python 3.9.1 and pywin32 300 (latest version atm of writing) and I do not have any issue on Windows platform. As this issue is Windows-only, I'm going to close the issue, as it seems to be solved.

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