pip安装ctypes、subprocess以及tensorflow-gpu2.4失败
(Window)ctypes、subprocessERROR: Could not find a version that satisfies the requirement ctypes(from versi ons: none )EROR: No matching distribution found for ctypes解决:其实python自带ctypes和subprocess模块检查一下
·
(Window) ctypes、subprocess
ERROR: Could not find a version that satisfies the requirement ctypes(from versi ons: none )
EROR: No matching distribution found for ctypes
解决:
其实python自带ctypes和subprocess模块
检查一下python(import 不报错)。。。就会发现装不上,是因为不用装
(Ubuntu) tensorflow-gpu2.4
显示没有对应的版本或者对应版本只有1没有2
Ubuntu检查python的版本,输入python一般会提示没有,若提示python2的版本,卸载
Ubuntu查看Python版本,使用的是Python3
完全卸载python2.7
sudo apt-get remove python2.7
sudo apt-get remove --auto-remove python2.7
pip安装,使用清华镜像源
pip install tensorflow-gpu-2.4.1 --upgrade -i https://pypi.tuna.tsinghua.edu.cn/simple some-package
更多推荐


所有评论(0)