Skip to content
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

macOS error while using command 'python3 setup.py install' #63

Open
Zcating opened this issue Aug 12, 2016 · 1 comment
Open

macOS error while using command 'python3 setup.py install' #63

Zcating opened this issue Aug 12, 2016 · 1 comment

Comments

@Zcating
Copy link

Zcating commented Aug 12, 2016

Hi, I meet some problem while I use 'python3 setup.py install' to set up python library.
HERE is the error.

/usr/bin/clang++ -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -g build/temp.macosx-10.6-intel-3.5/./cudarray/wrap/cudart.o -L/usr/local/cuda/lib -lcudart -lcudarray -o build/lib.macosx-10.6-intel-3.5/cudarray/wrap/cudart.cpython-35m-darwin.so -fPIC
ld: library not found for -lcudarray
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command '/usr/bin/clang++' failed with exit status 1

Thanks.

@Zcating
Copy link
Author

Zcating commented Aug 12, 2016

I run these codes to fix my first problem.

export CUDNN_ENABLED=1
export INSTALL_PREFIX=/usr/local/
export CUDA_PREFIX=/usr/local/cuda/

but another problem show now...

./include/cudarray/nnet/cudnn.hpp:8:10: fatal error: 'cudnn.h' file not found
#include <cudnn.h>

I don't know what happened , I have downloaded and installed nvidia CUDA SDK...
thank to help me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant