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

Import problem #782

Closed
ironthehorse77 opened this issue Nov 28, 2019 · 6 comments
Closed

Import problem #782

ironthehorse77 opened this issue Nov 28, 2019 · 6 comments

Comments

@ironthehorse77
Copy link

I installed Brotli 1.0.7 with pip, but can't use it because python drop this import error.

import _brotli
builtins.ImportError: DLL load failed: The specified module could not be found.

What need to install to work this under windows?

@anthrotype
Copy link
Member

what operating system are you on? What Python distribution are you using (ie. where did you get python from)? What version of Python?

@ironthehorse77
Copy link
Author

Windows 10 Pro, python 3.7 64bit from python.org

@anthrotype
Copy link
Member

strange, it should just work. Is your python directory in the %PATH%?

try to drop the _brotli.pyd module in http://www.dependencywalker.com/ and verify that all its DLL dependencies are satisfied.

Maybe you're system is missing the visual c++ redistributable DLLs (though I think python itself should come with one).
You said 64-bit, try to install the current "vc_redist.x64.exe" from this link
https://support.microsoft.com/en-gb/help/2977003/the-latest-supported-visual-c-downloads

@ironthehorse77
Copy link
Author

Redis helped. Thousand thanks.

@1trackprojects1
Copy link

Hey im still having this problem not fixed for me even after i installed the visual c++ redistributable

@dobin
Copy link

dobin commented Jun 25, 2023

Installing vc_redist.x64.exe solved the problem for me. Nevertheless this is a bit cumbersome in a python project to tell everyone using windows that the brotli dependency requires them to install that thing (new installed windows 10 doesnt have it).

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

4 participants