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

pip can't install deps with PIP_MIRROR_URL #109

Open
wy96f opened this issue Nov 18, 2024 · 0 comments
Open

pip can't install deps with PIP_MIRROR_URL #109

wy96f opened this issue Nov 18, 2024 · 0 comments

Comments

@wy96f
Copy link

wy96f commented Nov 18, 2024

I add some deps in python-requirements.txt and set PIP_MIRROR_URL = xxxxx. Docker run failed with following error:
2024-11-18 2024/11/18 18:84:45 server.go:47:[INFO]installing python dependencies... 2024-11-18 2024/1/18 18:84:46 setup.go:148: [INFO]Looking in indexes: xxxxxxxx 2024-11-18 2024/11/18 18:84:46 setup.go:146: [ERROR]failed to wait for the comand to complete 2024-11-18 2024/11/18 18:84:46 server.go:51: [PANIC]failed to install python dependencies: exit status 1 2824-11-18 panic:
But in the container I can successfully execute 'pip3 install -r python-requirements.txt -i xxxxx' and status code 0 is returned with 'echo $?'.

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