r/Python • • Apr 30 '18

xkcd: Python Environment

Post image
2.4k Upvotes

388 comments sorted by

View all comments

Show parent comments

2

u/Deto May 01 '18

I mean, it's really just your user directory, the system site-packages directory, and any directories you added with the PYTHONPATH environment variable. All virtual-envs and other similar solutions do is to manipulate your path so you call a different python with a different system directory.

2

u/mikemol May 01 '18

Yup. It was that system site packages directory I couldn't excise without either Docker or venvs...