以安装pandas
为例:
from pip._internal import main
# pip install pandas
main(['install','pandas'])
# pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ pandas
main(['install','-i','https://pypi.tuna.tsinghua.edu.cn/simple/','pandas'])
2023-12-24 15:26:40
以安装pandas
为例:
from pip._internal import main
# pip install pandas
main(['install','pandas'])
# pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ pandas
main(['install','-i','https://pypi.tuna.tsinghua.edu.cn/simple/','pandas'])
下一篇:Python解释器镜像源修改