通过pip安装TensorFlow时出现问题

时间:2020-06-13 22:24:47

标签: python windows tensorflow pip tensorflow2.0

我使用了命令pip install tensorflow,它总是以以下错误消息结尾:

ERROR: Could not install packages due to an EnvironmentError: 
[Errno2] No such file or directory:

'C:\\Users\\xgxbr\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python38\\site-packages\\tensorboard_plugin_wit\\_vendor\\tensorflow_serving\\sources\\storage_path\\__pycache__\\file_system_storage_path_source_pb2.cpython-38.pyc'

如何正确解决该问题?缺少什么吗?

我已经为我的机器下载了CUDA版本,

1 个答案:

答案 0 :(得分:0)

尝试使用此:

pip install --upgrade tensorflow