-
Notifications
You must be signed in to change notification settings - Fork 95
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 on Windows 8.1 #445
Comments
You seem to be mixing conda-forge and regular conda packages. Make sure you install theano and pygpu/libgpuarray from the same source as your python install.
|
I was thinking that if I use Anyway, I removed
As you see |
This seems ok because they now both come from the official packages. Are you still having problems? |
Yes, problem is still the same. Can't load DLL for some reason. Do you need anything from my side, environment variables, versions of tools? |
Can you list the contents of |
Sure. Here it is:
Also here is egg:
|
Can you try to use Dependecy Walker (http://www.dependencywalker.com/) on gpuarray.cp36-win_amd64.pyd? |
Ok, Here it is. |
According to the trace, it fails to load python36.dll. I don't think that this is right, especially when you run from python. The funny thing is that it finds gpuarray.dll, so maybe a live tracing would be required to see what fails to load and why. I'm not too sure how to do that on windows however. |
I found strange thing.
Do you know how |
pkg is the repository of conda packages that you have downloaded. The dates are all the same, it's only the hour which varies a bit, but I don't think it's a problem of any kind. Are you doing the tests in the "Anaconda command prompt" or just a regular shell? |
I use regular shell (cmd). I just run python and execute |
Can you try from the Anaconda command prompt? |
I opened Anaconda command prompt, ran python and executed
When I try |
This is strange. Do you have another install of Theano somewhere? Try running |
Here is full output. |
I'm sorry but I have no idea what's wrong. You could try to completely remove anaconda and reinstall it if it's not too much of a hassle, but I have no guarantees that it will even help. |
BTW
Why I don't see |
Because libgpuarray is a C library not a python package. |
So it could be the source of problem. I will try to investigate this and return to you with results. |
It is normal that there is no libgpuarray package in the site-packages directory. There shouldn't be one and it is not a source of problems. |
How I install:
How I check:
DLL location:
The text was updated successfully, but these errors were encountered: