How to force "python -m site" ENABLE_USER_SITE to false?

Ed Leafe ed at leafe.com
Fri Jun 21 10:05:02 EDT 2019


On Jun 21, 2019, at 8:49 AM, Malcolm Greene <python at bdurham.com> wrote:
> 
> Any suggestions on how one can force the "python -m site" ENABLE_USER_SITE value to false?
> 
> Is it possible to globally force this setting - across all users - when installing a system wide version of Python ... or via a command line option when starting a Python session?

From StackOverflow: https://stackoverflow.com/questions/25584276/how-to-disable-site-enable-user-site-for-an-environment

-- Ed Leafe








More information about the Python-list mailing list