-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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 #1018
Comments
Any idea @peterjc123 ? Edit: found this pytorch/pytorch#21477 |
How did you try to install torchvision? |
Edit: Click to expand
|
It's nothing special. I'll need to update that in the Would you please use something like |
I have same problem
|
I think I know the reason. It's because caffe2 and torch get merged now, so one DLL could not be found anymore. You'll have to rebuild torchvision to fix this. |
@peterjc123 |
@Jonas1312 Not needed anymore. See what I said in the last post. |
I fixed by this. |
@zemelLeong Yes, installing stable version is also a workground if you don't use |
can you please suggest me what is the stable version |
Thank you. I used conda .. |
cuda10:conda install pytorch torchvision cudatoolkit=10.0 -c pytorch |
So we have to build the latest |
I am encountering the same issue with
when I run: C:\ProgramData\Anaconda3\lib\site-packages\torchvision\ops\boxes.py in <module>()
1 import torch
----> 2 from torchvision import _C
3
4
5 def nms(boxes, scores, iou_threshold):
ImportError: DLL load failed: The specified module could not be found. |
@anemes Yes, that's because we didn't upload torchvision 0.4.0 for Windows. I'll tell you when it's ready. |
@peterjc123 now that the new Windows binaries are available, can we close this? |
Yes, please. |
conda install pytorch torchvision cudatoolkit=10.0 -c pytorch worked for me. |
Contra @fmassa's comment, I'm not seeing any windows binaries for torchvision 0.4.0. As of time of posting, the webpage has wheels for macosx and manylinux only, not win_amd64 (my system), and pip is not having any more luck. So I'm still SOL when it comes to using torchvision. Apologies if this bug report is the wrong place to raise this; I'm not sure what the etiquette is for dev-ops issues. Edit: Created new issue for this, since closed issues don't appear on the live issues list. |
@AlexLabram wheels are available for windows according to the comments in #1399 |
Got this problem with pytorch 1.7.1 and torchvision 0.4.1 and 0.3.0. |
same issue Got this problem with pytorch 1.7.1 and torchvision 0.4.1 and 0.3.0. from torchvision import _C as C |
I have a
dll load failed the specified module could not be found
error when importing torchvisionPyTorch stable 1.1:
Nightly:
The text was updated successfully, but these errors were encountered: