Why does it matter?
It is worth discussing the reason why we might want to point to a project that has already been created for a specific Python interpreter. After all, that project already has its own interpreter, and shouldn't all the elements regarding the interpretation and execution of code in a project be bound in its corresponding virtual environment (like the case we have made for the general use of virtual environments)?
As it turns out, it is beneficial to be able to share an interpreter across multiple projects, especially in transitional situations. Say you are working on a large project using Python 2.7 and are thinking of updating your interpreter to Python 3.6. However, you are not sure if, for example, all your print statements ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access