deepin V23配置
- 安装python环境
sudo apt install python3.11-full - 安装pip(注:使用pip安装python包可能会与系统的apt或yum包冲突,最好创建venv再使用pip)
sudo apt install python3-pip - 修改pip源:添加如下内容到/etc/pip.conf
sudo vim /etc/pip.cong
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host = https://pypi.tuna.tsinghua.edu.cn
本文介绍了如何在DeepinV23操作系统上配置Python3.11环境,包括避免apt与pip冲突的建议,以及如何修改pip源为清华大学镜像。

388

被折叠的 条评论
为什么被折叠?



