admin管理员组文章数量:1433939
I know that this error should be raised normally, but I am already working in a virtual environment, where the error should not be raised.
I created and activated a virtual environment on my Raspberry pi 4 so that I could install packages. It has been working fine. Seemingly randomly, I am getting the "This environment is externally managed..." error with the venv active. I disconnected the internet and tried a pip install on the system python, and that tried to work. The only thing I can think of as a possible cause was adding the activate command to the end of the .bashrc file, but it was running fine like this for weeks. How do I recover my virtual environment and restore the protections to the system python install?
本文标签: pythonVirtual environment marked as externally managed environemntStack Overflow
版权声明:本文标题:python - Virtual environment marked as externally managed environemnt - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745609146a2666010.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论