mirror of
https://github.com/google/brotli.git
synced 2026-09-22 22:56:08 +00:00
Import problem #299
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ironthehorse77 on GitHub (Nov 28, 2019).
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 commented on GitHub (Nov 28, 2019):
what operating system are you on? What Python distribution are you using (ie. where did you get python from)? What version of Python?
@ironthehorse77 commented on GitHub (Nov 28, 2019):
Windows 10 Pro, python 3.7 64bit from python.org
@anthrotype commented on GitHub (Nov 28, 2019):
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 commented on GitHub (Nov 28, 2019):
Redis helped. Thousand thanks.
@1trackprojects1 commented on GitHub (Nov 30, 2021):
Hey im still having this problem not fixed for me even after i installed the visual c++ redistributable
@dobin commented on GitHub (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).