ERROR: Could not find a version that satisfies the requirement tensorflow==1.9.0
时间: 2023-10-28 16:06:43 浏览: 182
可能是因为你的pip版本过低导致无法安装TensorFlow 1.9.0。建议你先升级pip,然后再安装TensorFlow。请执行以下命令进行pip升级:
```
pip install --upgrade pip
```
升级完成后,再尝试安装TensorFlow 1.9.0:
```
pip install tensorflow==1.9.0
```
这样应该就可以成功安装TensorFlow 1.9.0了。如果还有其他问题,请随时提问!
相关问题
ERROR: Could not find a version that satisfies the requirement torch==1.9.0 (from versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1) ERROR: No matching distribution found for torch==1.9.0
I apologize for the confusion. It seems that the specific version of PyTorch (1.9.0) is not available for installation through pip in this case.
However, you can try installing the latest version of PyTorch, which should be compatible with the 'deepforest' module. To install the latest version of PyTorch, run the following command:
```
pip install torch
```
This will install the latest version of PyTorch available for your Python environment. After installing PyTorch, you can then proceed to install the 'deepforest' module using the command I mentioned earlier:
```
pip install deepforest
```
This should resolve the issue. If you encounter any further errors or need additional assistance, please let me know!
ERROR: Could not find a version that satisfies the requirement torch==1.9.0+cu111 (from versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1) ERROR: No matching distribution found for torch==1.9.0+cu111
如果你在安装torch时遇到了这个错误,可能是因为你的pip版本过低。可以尝试先升级pip,然后再重新安装torch,具体命令如下:
```
pip install --upgrade pip
pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/cu111/torch_stable.html
```
这个命令会先升级pip到最新版本,然后安装torch、torchvision和torchaudio。如果你的CUDA版本不是11.1,可以在链接中选择相应的版本进行安装。
阅读全文