These two lines are appended to the .bashrc :
# Ubuntu/Linux 64-bit $ sudo apt-get install python-pip python-dev python-virtualenv
$ virtualenv --system-site-packages /media/hossein/tmpstore/tensorflow_virtenv/
$ source /media/seyyedhossein/tmpstore/tensorflow_virtenv/bin/activate
(tensorflow_virtenv)seyyedhossein@hossein:~$
# Ubuntu/Linux 64-bit, GPU enabled, Python 2.7
# Requires CUDA toolkit 7.5 and CuDNN v5. For other versions, see "Installing from sources" below.
(tensorflow_virtenv)hossein@hossein:~$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.11.0rc1-cp27-none-linux_x86_64.whl
(tensorflow_virtenv)hossein@hossein:~$ pip install --upgrade $TF_BINARY_URL
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64"
export CUDA_HOME=/usr/local/cuda
the output of executing the command:(tensorflow_virtenv)hossein@hossein:~$ pip install --upgrade $TF_BINARY_URL
is as follows:
...
compile options: '-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Inumpy/core/include -Ibuild/src.linux-x86_64-2.7/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python2.7 -Ibuild/src.linux-x86_64-2.7/numpy/core/src/private -Ibuild/src.linux-x86_64-2.7/numpy/core/src/private -Ibuild/src.linux-x86_64-2.7/numpy/core/src/private -c'
x86_64-linux-gnu-gcc: numpy/random/mtrand/distributions.c
x86_64-linux-gnu-gcc: numpy/random/mtrand/mtrand.c
x86_64-linux-gnu-gcc: numpy/random/mtrand/initarray.c
x86_64-linux-gnu-gcc: numpy/random/mtrand/randomkit.c
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/numpy/random/mtrand/mtrand.o build/temp.linux-x86_64-2.7/numpy/random/mtrand/randomkit.o build/temp.linux-x86_64-2.7/numpy/random/mtrand/initarray.o build/temp.linux-x86_64-2.7/numpy/random/mtrand/distributions.o -Lbuild/temp.linux-x86_64-2.7 -o build/lib.linux-x86_64-2.7/numpy/random/mtrand.so
Creating build/scripts.linux-x86_64-2.7/f2py
adding 'build/scripts.linux-x86_64-2.7/f2py' to scripts
changing mode of build/scripts.linux-x86_64-2.7/f2py from 664 to 775
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.pyd' found anywhere in distribution
changing mode of /media/seyyedhossein/tmpstore/tensorflow_virtenv/bin/f2py to 775
Found existing installation: six 1.5.2
Not uninstalling six at /usr/lib/python2.7/dist-packages, outside environment /media/seyyedhossein/tmpstore/tensorflow_virtenv
Found existing installation: setuptools 2.2
Uninstalling setuptools:
Successfully uninstalled setuptools
Successfully installed tensorflow protobuf wheel mock numpy six setuptools funcsigs pbr
Cleaning up...
and finally testing ...
(tensorflow_virtenv)seyyedhossein@hossein:~$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
OpenBLAS : Your OS does not support AVX instructions. OpenBLAS is using Nehalem kernels as a fallback, which may give poorer performance.
OpenBLAS : Your OS does not support AVX instructions. OpenBLAS is using Nehalem kernels as a fallback, which may give poorer performance.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/media/seyyedhossein/tmpstore/tensorflow_virtenv/local/lib/python2.7/site-packages/tensorflow/__init__.py", line 23, in <module>
from tensorflow.python import *
File "/media/seyyedhossein/tmpstore/tensorflow_virtenv/local/lib/python2.7/site-packages/tensorflow/python/__init__.py", line 49, in <module>
from tensorflow.python import pywrap_tensorflow
File "/media/seyyedhossein/tmpstore/tensorflow_virtenv/local/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 28, in <module>
_pywrap_tensorflow = swig_import_helper()
File "/media/seyyedhossein/tmpstore/tensorflow_virtenv/local/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow', fp, pathname, description)
ImportError: libcudart.so.8.0: cannot open shared object file: No such file or directory
>>>
I dont even have cuda8! yet Im gettin this error.
What is wrong here? where did I go wrong? what wrong have i done?
It seems latest tensorflow uses libcudart.so.8.0 which is not available on your system
--
You received this message because you are subscribed to the Google Groups "Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss+unsubscribe@tensorflow.org.
To post to this group, send email to dis...@tensorflow.org.
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/discuss/29ca8c31-6ad1-4273-8682-35abc035288b%40tensorflow.org.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss+u...@tensorflow.org.
Hello,
I have the same issue. At first the error was that the Nvidia cuda version is insufficient with the right time version. That was fixed after updating the driver, however this new issue popped up after.
Thanks for posting your issue!
I didn't know if anyone else had the same problem.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss+unsubscribe@tensorflow.org.
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/discuss/28356735-1f92-43c4-a47e-736b4554c4c5%40tensorflow.org.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss+unsubscribe@tensorflow.org.
To post to this group, send email to dis...@tensorflow.org.
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/discuss/28356735-1f92-43c4-a47e-736b4554c4c5%40tensorflow.org.
Douglas Eck | | Sr. Staff Research Scientist | | de...@google.com | | 650-336-8433 |
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/discuss/28356735-1f92-43c4-a47e-736b4554c4c5%40tensorflow.org.
# Ubuntu/Linux 64-bit, GPU enabled, Python 2.7
# Requires CUDA toolkit 8.0 and CuDNN v5. For other versions, see "Install from sources" below.
$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.11.0rc1-cp27-none-linux_x86_64.whl
,----, ,--, .' .`| ,--.'| .' .' ; ,--, | : ,---, ' .' ,---, ,---.'| : ' ,--, ,---, | : ./ ,-+-. / | | | : _' | ,'_ /| ,-+-. / | ,----._,. ; | .' / ,--.--. ,--.'|' | : : |.' | .--. | | : ,--.--. ,--.'|' | / / ' / `---' / ; / \ | | ,"' | | ' ' ; :,'_ /| : . | / \ | | ,"' || : | / ; / .--. .-. | | | / | | ' | .'. || ' | | . . .--. .-. | | | / | || | .\ . ; / /--, \__\/: . . | | | | | | | : | '| | ' | | | \__\/: . . | | | | |. ; '; | / / / .`| ," .--.; | | | | |/ ' : | : ;: | : ; ; | ," .--.; | | | | |/ ' . . | ./__; :/ / ,. | | | |--' | | ' ,/ ' : `--' \ / / ,. | | | |--' `---`-'| | | : .'; : .' \| |/ ; : ;--' : , .-./; : .' \| |/ .'__/\_: | ; | .' | , .-./'---' | ,/ `--`----' | , .-./'---' | : : `---' `--`---' '---' `--`---' \ \ / `--`-'
--
You received this message because you are subscribed to the Google Groups "Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss+unsubscribe@tensorflow.org.
To post to this group, send email to dis...@tensorflow.org.
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/discuss/31178e45-8cdd-470a-8bf7-0a2c2a2efa8a%40tensorflow.org.
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/discuss/CAKakgFcF9WW4dBcohw9Z4Mjm--2r_WwyhFoKAZ6yG0SN_CZ_Qg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss+unsubscribe@tensorflow.org.
To post to this group, send email to dis...@tensorflow.org.
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/discuss/7f06c8f2-0b6c-4f64-9e7d-30f7aec129d3%40tensorflow.org.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss+u...@tensorflow.org.
To post to this group, send email to dis...@tensorflow.org.