Skip to content

Reader Questions — Virtual Environments p.2

Hello everyone, I am back answering some reader’s questions. This can be seen as a follow up from the questions Brett (a reader of some of my books) sent some time ago (see here)

This time answering the following questions:

Q1: Even if a certain Python library has already been installed, do we need to install it again in the virtual environment of interest using pip or conda?

Q2: A virtual environment is created and named using conda and saved in a folder. Once created, can we use the virtual environment by first going to that folder and then activate/deactivate the environment?

Q3: If we created the environment using conda, do we need to continue using conda to activate/deactivate the environment, add new modules to it, etc., or can we switch to venv or another tool?

See the answers here.