(Window) ctypessubprocess

ERROR: Could not find a version that satisfies the requirement ctypes(from versi ons: none )
EROR: No matching distribution found for ctypes

解决

其实python自带ctypessubprocess模块
检查一下pythonimport报错)。。。就会发现装不上,是因为不用装
在这里插入图片描述

(Ubuntu) tensorflowgpu2.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

原文地址:https://blog.csdn.net/weixin_43815873/article/details/123968234

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任

如若转载,请注明出处:http://www.7code.cn/show_32634.html

如若内容造成侵权/违法违规/事实不符,请联系代码007邮箱suwngjj01@126.com进行投诉反馈,一经查实,立即删除

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注