r/Python • • Apr 30 '18

xkcd: Python Environment

Post image
2.4k Upvotes

388 comments sorted by

View all comments

Show parent comments

1

u/eazolan May 01 '18

Ok. So...what defines what is being used in each virtual instance?

2

u/derp0815 May 01 '18

You do. When you create a venv, you define which interpreter is going to run the code and when in an active venv, whatever pip installs is installed just for that venv.