帖子
首先谢谢!不知道是不是这样安装。
-----------------安装情况--------------------
root@QH_hassio:~# ls /usr/lib/python3.5/bin
ls: cannot access /usr/lib/python3.5/bin: No such file or directory
root@QH_hassio:~# which python3
/usr/local/bin/python3
root@QH_hassio:~# curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1842k 100 1842k 0 0 3879 0 0:08:06 0:08:06 --:--:-- 8507
root@QH_hassio:~# python3 get-pip.py
DEPRECATION: Python 3.5 reached the end of its life on September 13th, 2020. Please upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will drop support for Python 3.5 in January 2021. pip 21.0 will remove support for this functionality.
Collecting pip
Using cached pip-20.2.4-py2.py3-none-any.whl (1.5 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.2.4
Uninstalling pip-20.2.4:
Successfully uninstalled pip-20.2.4
WARNING: The scripts pip, pip3 and pip3.5 are installed in '/volume2/@appstore/py3k/usr/local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pip-20.2.4
root@QH_hassio:~# pip3 install
-ash: pip3: command not found
root@QH_hassio:~# pip3 install requests
-ash: pip3: command not found