-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Closed
Description
Trying to install pytorch from source using python 3.5 in an anaconda environment on Redhat linux distro 3.10.0-514.21.1.el7.x86_64
# /home/henrye/anaconda3/envs/pytorch35/lib/python3.5/site-packages/torch/__pycache__/__init__.cpython-35.pyc matches /home/henrye/anaconda3/envs/pytorch35/lib/python3.5/site-packages/torch/__init__.py
# code object from '/home/henrye/anaconda3/envs/pytorch35/lib/python3.5/site-packages/torch/__pycache__/__init__.cpython-35.pyc'
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 665, in exec_module
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File "/home/henrye/anaconda3/envs/pytorch35/lib/python3.5/site-packages/torch/__init__.py", line 53, in <module>
from torch._C import *
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 666, in _load_unlocked
File "<frozen importlib._bootstrap>", line 577, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 906, in create_module
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
ImportError: /home/henrye/anaconda3/envs/pytorch35/lib/python3.5/site-packages/torch/lib/libTHD.so.1: undefined symbol: _ZN4thpp8THTensorIcEC1EP13THLongStorageS3_
From the other issues and things I've read this is probably something to do with C compilers but I have no idea what do in that regard.
Metadata
Metadata
Assignees
Labels
No labels