Get the latest tech news
PEP 486 – Make the Python Launcher aware of virtual environments (2015)
The Windows installers for Python include a launcher that locates the correct Python interpreter to run (see PEP 397). However, the launcher is not aware of virtual environments (virtualenv 1 or PEP 405 based), and so cannot be used to run commands fro...
When using virtual environments, the py launcher is unaware that a virtualenv is active, and will continue to use the system Python. This documentation is not expected to change, and users who choose to manage their PATH environment variable can continue to use this form. The focus of this PEP is purely on allowing users who prefer to use the launcher when dealing with their system Python installations, to be able to continue to do so when using virtual environments.
Or read this on Hacker News