-
Notifications
You must be signed in to change notification settings - Fork 267
Open
Description
Run CMD Task:[wget http://mirror.fishros.com/install/tools/tool_config_python_source.py -O /tmp/fishinstall/tools/tool_config_python_source.py --no-check-certificate]
[-][0.13s] CMD Result:success
欢迎使用python change source,本工具由作者songHat提供
runing python_source
Run CMD Task:[sudo touch ~/.pip/pip.conf]
[-][0.01s] CMD Result:code:1
Run CMD Task:[sudo chmod 777 ~/.pip/pip.conf]
[-][0.01s] CMD Result:code:1
Run CMD Task:[sudo echo "[global]
index-url = https://pypi.mirrors.ustc.edu.cn/simple/" > ~/.pip/pip.conf]
[-][0.00s] CMD Result:code:2
Run CMD Task:[pip config list]
[-][0.00s] CMD Result:code:127
配置成功(如果使用国内源下载包,记得关闭代理)
如在使用过程中遇到问题,请打开:https://fishros.org.cn/forum 进行反馈
Execute Command: sudo touch ~/.pip/pip.conf Error Code1
====================OUT====================
====================ERR====================
touch: cannot touch '/root/.pip/pip.conf': No such file or directory
Execute Command: sudo chmod 777 ~/.pip/pip.conf Error Code1
====================OUT====================
====================ERR====================
chmod: cannot access '/root/.pip/pip.conf': No such file or directory
Execute Command: sudo echo "[global]
index-url = https://pypi.mirrors.ustc.edu.cn/simple/" > ~/.pip/pip.conf Error Code2
====================OUT====================
====================ERR====================
/bin/sh: 1: cannot create /root/.pip/pip.conf: Directory nonexistent
Execute Command: pip config list Error Code127
====================OUT====================
====================ERR====================
/bin/sh: 1: pip: not found
Metadata
Metadata
Assignees
Labels
No labels