Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【日志反馈BUG】pip配置错误 #79

Open
fishros opened this issue Sep 6, 2024 · 0 comments
Open

【日志反馈BUG】pip配置错误 #79

fishros opened this issue Sep 6, 2024 · 0 comments

Comments

@fishros
Copy link
Owner

fishros commented Sep 6, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant