(Jul-01-2018, 01:34 AM)Larz60+ Wrote: but want to verify that the activate script is no longer needed (because I can't find one in the bin directory).It should be just the same as before using venv(also it's builds into python).
Here a test using 3.7:
mint@mint / $ python -V Python 3.7.0 # Make mint@mint ~ $ python -m venv env_test # Cd in mint@mint ~ $ cd env_test # Activate mint@mint ~/env_test $ source bin/activate # Test python an pip using environment (env_test) mint@mint ~/env_test $ which python /home/mint/env_test/bin/python (env_test) mint@mint ~/env_test $ pip -V pip 10.0.1 from /home/mint/env_test/lib/python3.7/site-packages/pip (python 3.7)There is no difference compare to 3.6.
The
bin
folder get generated when using venv
.A look at
bin
folder in environment,there is a activate
file there. env_test) mint@mint ~/env_test $ ls bin activate activate.csh activate.fish easy_install easy_install-3.7 pip pip3 pip3.7 python python3