- 积分
- 708
- 金钱
- 622
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 708
- 金钱
- 622
- HASS币
- 0
|
发表于 2019-2-15 09:22:57
|
显示全部楼层
Xshell 6 (Build 0101)
Copyright (c) 2002 NetSarang Computer, Inc. All rights reserved.
Type `help' to learn how to use Xshell prompt.
[C:\~]$
Connecting to 192.168.1.6:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.
WARNING! The remote SSH server rejected X11 forwarding request.
Welcome to Ubuntu 16.04 LTS (GNU/Linux 3.10.65-user aarch64)
* Documentation: https://help.ubuntu.com/
Ubuntu 16.04 LTS [running via Linux Deploy]
Last login: Thu Feb 14 17:39:01 2019 from 192.168.1.7
lishilu@localhost:~$ sudo mkdir /root/.pip
mkdir: cannot create directory '/root/.pip': File exists
lishilu@localhost:~$ sudo sh -c "echo '[global]\nindex-url = http://mirrors.ustc.edu.cn/pypi/web/simple/' > /root/.pip/pip.conf"
lishilu@localhost:~$ sudo pip3 install -U pip
The directory '/home/lishilu/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/lishilu/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting pip
Downloading https://files.pythonhosted.org/p ... y2.py3-none-any.whl (1.4MB)
100% |################################| 1.4MB 47kB/s
Installing collected packages: pip
Found existing installation: pip 8.1.1
Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr
Successfully installed pip-19.0.2
lishilu@localhost:~$ sudo pip3 install virtualenv
The directory '/home/lishilu/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/lishilu/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already satisfied: virtualenv in /usr/local/lib/python3.5/dist-packages (16.4.0)
lishilu@localhost:~$ python3 v
python3: can't open file 'v': [Errno 2] No such file or directory
lishilu@localhost:~$ python3-v
-bash: python3-v: command not found
lishilu@localhost:~$ pip3-v
|
|