admin管理员组文章数量:1128409
I've recently come across a problem with venv that i'm unable to resolve the easy way.
I'm creating a Django app for my company. I'm doing my CI in an Alpine Python 3.7.2 runner without sudo privileges. After trying to create it with :
python -m ensurepip --upgrade
I come accross this error :
/usr/local/bin/python: No module named ensurepip
To solve it, i've tried to use get-pip.py script to create a temporary venv environment with pip, but it didn't work.
To reproduce it, use an Alpine Python 3.9 Docker and try using : python -m ensurepip --upgrade
Do someone have an idea on how to proceed ?
Thanks everyone.
本文标签: pythonIs it possible to install ensurepip without sudoStack Overflow
版权声明:本文标题:python - Is it possible to install ensurepip without sudo - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736724991a1949679.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论