-
Notifications
You must be signed in to change notification settings - Fork 2.5k
_C.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN3c106Device8validateEv #891
Comments
I'm facing the same issue while importing torchvision in python 3.6 EDIT: Somehow uninstalling torch and torchvision and deleting the copies from /lib/python3.6/site-packages/ and reinstalling them fixed my issue. |
This issue is probably helpful. |
ok,thanks,l wil try fellow you advice.thank you again for you reply. |
@adityakillekar your tips successfully solve my problem~~ |
I faced the same problem, |
Yep
worked for me :-) |
@GinSoda but this will change torch version to 1.2.0 right? will that work for this project? |
if you have build folder, create again using the current pytorch version |
I don't understand the term "build folder" unfortunately. What folder are you referring to specifically? |
SOLVED MY PROBLEM |
Thank you! It works! |
Solved it with installing cuda10.1 and running |
@rvorias did you use pip to install cuda10.1?? If so then can u please suggest me a link for the same. I went https://download.pytorch.org/whl/cu100/torch_stable.html for the wheel file but I couldn't find one for my specs. I use linux and torch==1.5.0+cu101 torchvision==0.6.0 |
Worked for me after upgrading as suggested (pytorch/audio#62 (comment)). Might be need to be careful with the version you intend to use though. pip install -U torch torchvision --no-cache-dir |
❓ Questions and Help
ImportError: /home/ltc/anaconda3/envs/maskrcnn_benchmark_/lib/python3.6/site-packages/torchvision/_C.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN3c106Device8validateEv
I do not why this always happend.I have create two clean conda envs(python=3.7, and python=3.6),but the same wrong.
The text was updated successfully, but these errors were encountered: