banner
libxcnya.so

libxcnya.so

Nothing...
telegram
twitter
github
email

Resolve pip error externally-managed-environment

Sometimes when we run pip install -r requirement.txt in a newer system, we may encounter such an error
1
Actually, it's trying to warn you that continuing the execution may mess up your Python environment. Of course, with the mindset of "better safe than sorry," we still choose to directly ignore the warning and continue the execution

mkdir -p ~/.config/pip/
cd ~/.config/pip/

Then, in your preferred way, create a pip.conf here and write the following content inside

[global]
break-system-packages = true

After that, just run pip install -r requirement.txt again
2

Alright, if you find this article post helpful, give it a like, and if you are able, consider supporting it with a donation. Thank you, meow

This post is synchronized and updated to xLog by Mix Space
The original link is https://blog.nekorua.com/posts/maintain/116.html


Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.