linux中python常见报错

1.如何在linux中安装python:

https://blog.csdn.net/Ajekseg/article/details/126434609。他博客的第七步不要执行,因为他命令是错误的,引用变量时要加$符号的

 2.linux pip报错:WARNING: Running pip as the ‘root‘ user can result in broken permissions and conflicting

https://blog.csdn.net/weixin_51080564/article/details/123584119

3.linux 运行pip命令

python -m pip install -i http://pypi.douban.com/simple --trusted-host pypi.douban.com --upgrade pip

pip install -i http://pypi.douban.com/simple --trusted-host pypi.douban.com --upgrade setuptools wheel

 

posted @ 2023-02-21 09:45  葛老头  阅读(94)  评论(0编辑  收藏  举报