python - Virtual environment marked as externally managed environemnt - Stack Overflow

I know that this error should be raised normally, but I am already working in a virtual environment, wh

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?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745609147a4635845.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信