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

Malcolm Greene python at bdurham.com
Fri Jun 21 10:23:28 EDT 2019


> From: Ed Leafe <ed at leafe.com>
> StackOverflow: https://stackoverflow.com/questions/25584276/how-to-disable-site-enable-user-site-for-an-environment

Thanks Ed! My takeaway from the above article and our path going forward is to explictly force ENABLE_USER_SITE to false via Python's "-s" switch.

Malcolm



More information about the Python-list mailing list