简体   繁体   中英

[tensorflow]install tensorflow-gpu with import error as Segmentation fault (core dumped)

Use the command ' pip install --ingore-installed -- upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.3.0-cp36-cp36m-linux_x86_64.whl ' to install tensorflow-gpu for Python3.6 as official instruction.

https://www.tensorflow.org/install/install_linux

And it seems like installed successfully as shown

安装成功

but when test in python with " import tensorflow ", it comes with error as "Segmentation fault (core dumped)" . 分段故障

When using the similar to install tensorflow for cpu, there is no problem.

My system is Ubuntu 16.04.2 LTS and my Anaconda env "tf-gpu" is new built, without other python lib to disturb.

I didn't find similar problem and solution as import to cause dump. How to deal with it?

It's probably because you are using incompatible CUDA and/or cuDNN. Follow this to see which version to use.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM