banner
libxcnya.so

libxcnya.so

Nothing...
telegram
twitter
github
email

Resolve pip error externally-managed-environment

Sometimes when we execute pip install -r requirement.txt in a newer system, we may encounter such an error
1
Actually, it is warning you that continuing the execution may break your system's Python environment. Of course, with the attitude of "better safe than sorry," we choose to directly ignore the warning and continue 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 execute pip install -r requirement.txt again
2

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

This post is synchronized by Mix Space to xLog
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.