-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Closed
Description
I'm getting this when I try to import torch:
Python 3.5.2 |Continuum Analytics, Inc.| (default, Jul 2 2016, 17:52:12)
[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Volumes/home500/anaconda/envs/pytorch/lib/python3.5/site-packages/torch/__init__.py", line 53, in <module>
from torch._C import *
ImportError: dlopen(/Volumes/home500/anaconda/envs/pytorch/lib/python3.5/site-packages/torch/_C.cpython-35m-darwin.so, 10): Symbol not found: _cudnnBatchNormalizationBackward
Referenced from: /Volumes/home500/anaconda/envs/pytorch/lib/python3.5/site-packages/torch/_C.cpython-35m-darwin.so
Expected in: flat namespace
in /Volumes/home500/anaconda/envs/pytorch/lib/python3.5/site-packages/torch/_C.cpython-35m-darwin.so
>>>
I did not see any errors during installation. My installation command was:
export CMAKE_PREFIX_PATH=/Volumes/home500/anaconda/
export MACOSX_DEVELOPMENT_TARGET=10.9
MACOSX_DEPLOYMENT_TARGET=10.9 CC=clang CXX=clang++ pip install git+git://github.com/pytorch/pytorch
And the version of clang seems to be right:
clang -v
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin16.6.0
Thread model: posix
InstalledDir: /Volumes/home500/Applications/Xcode73.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Metadata
Metadata
Assignees
Labels
No labels