nie2100
deepin
2019-07-19 23:47 用pip安装包不应该是(pip install 包名)?
为啥要用python3 -m?
如果你想安装python3到包,那用(pip3 install 包名)
为啥要用python3 -m?
如果你想安装python3到包,那用(pip3 install 包名)
Reply Like 0 View the author
https://bbs.deepin.org/post/180761
用pip安装包不应该是(pip install 包名)?
为啥要用python3 -m?
如果你想安装python3到包,那用(pip3 i ...
https://bbs.deepin.org/post/180761
sudo 了没?
https://bbs.deepin.org/post/180761
sudo 了没?
https://bbs.deepin.org/post/180761
请问如何做到以后不sudo呢?
https://bbs.deepin.org/post/180761
这个就不知道了.
pip安装是要提权的,这个命令一般也不会经常用吧?
如果你某个时间段要多次安装多个库,可 ...

Popular Ranking
ChangePopular Events
More
txs@txs-PC:~$ python3 -m pip install --upgrade pip
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError(': Failed to establish a new connection: [Errno 111] 拒绝连接',))': /simple/pip/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError(': Failed to establish a new connection: [Errno 111] 拒绝连接',))': /simple/pip/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError(': Failed to establish a new connection: [Errno 111] 拒绝连接',))': /simple/pip/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError(': Failed to establish a new connection: [Errno 111] 拒绝连接',))': /simple/pip/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError(': Failed to establish a new connection: [Errno 111] 拒绝连接',))': /simple/pip/
尝试过修改不同的源,没用:
txs@txs-PC:~$ python3 -m pip install --upgrade pip -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
Looking in indexes: http://pypi.douban.com/simple/
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError(': Failed to establish a new connection: [Errno 111] 拒绝连接',))': http://pypi.douban.com/simple/pip/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError(': Failed to establish a new connection: [Errno 111] 拒绝连接',))': http://pypi.douban.com/simple/pip/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError(': Failed to establish a new connection: [Errno 111] 拒绝连接',))': http://pypi.douban.com/simple/pip/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError(': Failed to establish a new connection: [Errno 111] 拒绝连接',))': http://pypi.douban.com/simple/pip/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError(': Failed to establish a new connection: [Errno 111] 拒绝连接',))': http://pypi.douban.com/simple/pip/
请问这是什么原因呢?应该怎么解决?