AttributeError: 'module' object has no attribute 'main'
程序员文章站
2022-05-04 14:00:09
在linux下建立python 2.7虚拟环境,激活环境后用pip安装tensorflow报错 AttributeError: 'module' object has no attribute 'main' 解决方法:运行 curl https://bootstrap.pypa.io/get-pip ......
在linux下建立python 2.7虚拟环境,激活环境后用pip安装tensorflow报错
attributeerror: 'module' object has no attribute 'main'
解决方法:运行
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py;python get-pip.py
参考:https://blog.csdn.net/jiaach/article/details/80188262
推荐阅读
-
python编程排除163邮箱发送邮件报错(AttributeError: ‘tuple‘ object has no attribute ‘encode‘)
-
module ‘seaborn‘ has no attribute ‘scatterplot‘解决方案
-
AttributeError: module ‘community‘ has no attribute ‘best_partition‘ 问题解决方法
-
module ‘community‘ has no attribute ‘best_partition‘ [已解决]
-
【python】解决AttributeError: module ‘scipy.misc‘ has no attribute ‘toimage‘问题
-
【Tensorflow】Linux下Tensorflow报错:AttributeError: module ‘tensorflow‘ has no attribute ‘xxxx‘
-
AttributeError: 'module' object has no attribute 'main'
-
AttributeError: module 'sklearn' has no attribute 'linear_model'
-
解决Keras报错AttributeError: 'NoneType' object has no attribute 'inbound_nodes'
-
解决'DataFrame' object has no attribute 'sort'