Conda VE 安装时出错 "tensorflow"
Conda VE errors when installing "tensorflow"
当尝试在 conda VE 中设置 tensorflow 时,我遇到了很多错误。我已经在这里和在线检查过,它似乎与我没有安装的 tensorflow .
的 GPU 和 VM 版本有关
W tensorflow/stream_executor/cuda/cuda_driver.cc:269] failed call to cuInit: UNKNOWN ERROR (303)
我也遇到了很多错误,例如:
W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'nvcuda.dll'; dlerror: nvcuda.dll not found
和
I tensorflow/core/platform/cpu_feature_guard.cc:151] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX AVX2
还有
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
全部同时
我尝试删除并重新创建我的 conda 环境,但我遇到了同样的错误。
详情:
Python 版本 3.7
conda activate tensorflow
pip install python=3.7
Tensorflow 版本 2.6(CPU 版本不是 GPU)
它是如何修复的:
通过手动安装 CPU 版本的 tensorflow 解决了这个问题。 https://www.pugetsystems.com/labs/hpc/TensorFlow-Installation-CPU-version-1129/
问题:
它是自动通过 pip 安装 CUDA GPU 版本的 tensorflow,因此无法使用我的 none 支持 CUDA 的 GPU。
如果您遇到如下错误:
W tensorflow/stream_executor/cuda/cuda_driver.cc:269] failed call to cuInit: UNKNOWN ERROR (303)
或
W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
这也可能是您的问题
当尝试在 conda VE 中设置 tensorflow 时,我遇到了很多错误。我已经在这里和在线检查过,它似乎与我没有安装的 tensorflow .
的 GPU 和 VM 版本有关W tensorflow/stream_executor/cuda/cuda_driver.cc:269] failed call to cuInit: UNKNOWN ERROR (303)
我也遇到了很多错误,例如:
W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'nvcuda.dll'; dlerror: nvcuda.dll not found
和
I tensorflow/core/platform/cpu_feature_guard.cc:151] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX AVX2
还有
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
全部同时
我尝试删除并重新创建我的 conda 环境,但我遇到了同样的错误。
详情: Python 版本 3.7
conda activate tensorflow
pip install python=3.7
Tensorflow 版本 2.6(CPU 版本不是 GPU)
它是如何修复的: 通过手动安装 CPU 版本的 tensorflow 解决了这个问题。 https://www.pugetsystems.com/labs/hpc/TensorFlow-Installation-CPU-version-1129/
问题: 它是自动通过 pip 安装 CUDA GPU 版本的 tensorflow,因此无法使用我的 none 支持 CUDA 的 GPU。
如果您遇到如下错误:
W tensorflow/stream_executor/cuda/cuda_driver.cc:269] failed call to cuInit: UNKNOWN ERROR (303)
或
W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
这也可能是您的问题