[3rd-Party Apps] pip安装包报错
Tofloor
poster avatar
liuyanbo
deepin
2024-05-03 20:30
Author

截图_选择区域_20240503202927.png

Reply Favorite View the author
All Replies
deepin
2024-05-04 21:03
#1

sudo mv /usr/lib/python3.11/EXTERNALLY-MANAGED /usr/lib/python3.11/EXTERNALLY-MANAGED.bk

Reply View the author
.
deepin
2024-05-04 21:23
#2

强烈建议工程项目用虚拟环境管理依赖!

Reply View the author
deepin
2024-05-05 09:46
#3

python --version确定版本。使用 python -m venv 在指定路径新建一个python虚拟环境,然后往~/.bashrc载入环境变量

Reply View the author
neko
deepin
Ecological co-builder
2024-05-05 10:39
#4

https://bbs.deepin.org/post/267350
用python虚拟环境

Reply View the author
Ziggy
deepin
2024-05-06 10:20
#5

pip默认为调用python进行安装,如果需要使用python3安装则为pip3

并且通过提示内容也是建议了安装一个python3的包哈

Reply View the author