不认python3命令
该命令不适用于windows系统,把python.exe文件复制一次改名为python3.txt即可
参考:https://sebhastian.com/python3-is-not-recognized-as-an-internal-or-external-command/
pip报错
WARNING: Running pip as the ‘root’ user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual
需启动一个虚拟环境
1、找到pip安装位置:
find / -name pip-*
2、在该路径执行以下命令:
python3 -m venv venv_name
source /venv_name/bin/activate
setup.py install 报错
DEPRECATION: configobj is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. Discussion can be found at https://github.com/pypa/pip/issues/8559
sudo apt-get install wheel