Document why global pip install is used#621
Document why global pip install is used#621clach04 wants to merge 1 commit intoct-Open-Source:masterfrom
Conversation
Explain why, and discourage anyone from attempting to use virtualenv/venv
|
I was wondering this too, I'm often hesitant to install modules system-wide. Could the script instead set up a venv and use it? Python 3 comes with venv built-in... |
|
Recent versions of Python 3 will try to stop you doing global pip installs and warn you that this is an 'externally managed environment'.
|
Interesting. I'm not in a position to experiment but if I end up doing this again I will see what this does (I'm obviously going to use caution with both Note to self, alternatively use Docker :-) |
|
There's also a flag called "--break-system-packages" to just ignore those EXTERNALLY-MANAGED files. |
Explain why, and discourage anyone from attempting to use virtualenv/venv.
Current scripts expect global install, flash will fail if venv used.