python pip问题求助
Tofloor
poster avatar
w1006578427
deepin
2017-03-14 21:01
Author
如图:

本来是想装tensorflow的,但是出现上面的错误,尝试安装别的也是出现这样的问题。求大神指点!!!!!十分感谢!!!!
Reply Favorite View the author
All Replies
avatar
yanbowen
deepin
Community Developer
2017-03-14 21:42
#1
加上 sudo
Reply View the author
avatar
w1006578427
deepin
2017-03-14 21:46
#2

加过,错误类型一样
Reply View the author
avatar
MeowSprite
deepin
2017-03-15 02:04
#3
需要更新pip版本,最好是通过系统软件源更新pip。
sudo apt-get update
sudo apt-get install python-pip
这样应该就可以了。之后再可以用下面的命令更新pip
pip install --upgrade pip
Reply View the author
avatar
w1006578427
deepin
2017-03-15 04:26
#4
https://bbs.deepin.org/post/136024
需要更新pip版本,最好是通过系统软件源更新pip。
sudo apt-get update
sudo apt-get install python-pip

我的pip是软件源里面最新的,不只是更新pip出现这个问题,pip安装任何一个东西都会出现这个问题
Reply View the author
avatar
w1006578427
deepin
2017-03-15 04:27
#5
https://bbs.deepin.org/post/136024
需要更新pip版本,最好是通过系统软件源更新pip。
sudo apt-get update
sudo apt-get install python-pip

我的pip是软件源里面最新的,不只是更新pip出现这个问题,pip安装任何一个东西都会出现这个问题
Reply View the author
avatar
159******79
deepin
2017-03-15 07:24
#6
用anaconda吧,这时我写的http://www.jianshu.com/p/6a1d9522b7c6
Reply View the author
avatar
guoshuang
deepin
2017-03-16 00:40
#7
pip install --user git+git://github.com/Lokaltog/powerline 试试别的,网络问题?
Reply View the author
avatar
tszyjie
deepin
2017-03-16 01:30
#8
遇到同样的问题  不过我用的pip3  然后用sudo pip3 install XXX 就没有问题了
Reply View the author
avatar
MeowSprite
deepin
2017-03-16 02:09
#9
https://bbs.deepin.org/post/136024
我的pip是软件源里面最新的,不只是更新pip出现这个问题,pip安装任何一个东西都会出现这个问题 ...

我之前在ubuntu里碰到,就是切换主源然后这么更新解决的。
也可能是你的网络问题,比如你设置了代理什么的。
  1. env | grep proxy
  2. unset http_proxy
Copy the Code
Reply View the author