【发布时间】:2024-04-28 04:10:03
【问题描述】:
使用命令'pip install --ingore-installed -- upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.3.0-cp36-cp36m-linux_x86_64.whl'为Python3.6安装tensorflow-gpu作为官方说明。
https://www.tensorflow.org/install/install_linux
如图所示,好像安装成功了
但是在 python 中使用“import tensorflow”进行测试时,会出现"Segmentation fault (core dumped)" 的错误。
使用类似的方式为cpu安装tensorflow时,没有问题。
我的系统是 Ubuntu 16.04.2 LTS,我的 Anaconda env“tf-gpu”是新建的,没有其他 python 库可以打扰。
我没有发现与导入导致转储类似的问题和解决方案。如何处理?
【问题讨论】:
标签: python ubuntu tensorflow tensorflow-gpu