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
ImportError: DLL load failed: The specified module could not be found. #5217
Comments
This usually points to the fact that spaCy was not installed properly (as in the cited thread), or perhaps there are some conflicting packages. From your output, it looks like you're not working in a virtual environment, which I would definitely recommend. So I would advice to create an entirely new If it doesn't work, can you share the full install logs? |
This issue has been automatically closed because there has been no response to a request for more information from the original author. With only the information that is currently in the issue, there's not enough information to take action. If you're the original author, feel free to reopen the issue if you have or find the answers needed to investigate further. |
Hallo uit Gent! ;-) Sorry for the late response, but I'm still struggling with installing spacy in a windows docker container. I tried your suggestion by creating a virtual environment, but the issue remains the same...
The python-3-7-5-base is just a base image for python in a windows server 2016 container. The requirements.txt file:
The container builds ok, but when I run it I get the error in my original post. Any help much appreciated! |
After installing it like this, what is the error you're getting? If it's exactly the same, the code is not running in the virtual environment. In that case, you need to check your settings and check If it's different than your original post, could you paste the full stack trace? |
This issue has been automatically closed because there has been no response to a request for more information from the original author. With only the information that is currently in the issue, there's not enough information to take action. If you're the original author, feel free to reopen the issue if you have or find the answers needed to investigate further. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
1 similar comment
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
How to reproduce the behaviour
When running my python script in a Docker container on Windows, I get the following error when importing spacy :
Exactly the same issue has been described before, see #4733, albeit not running in Docker
When I execute the same script on the host computer, it runs fine (same python and spacy versions as in the container)
Environment
The text was updated successfully, but these errors were encountered: