Question
This question is based on creating a venv environment called 2005env in your account under the cs lab ubuntu image. The environment is created using
This question is based on creating a venv environment called 2005env in your account under the cs lab ubuntu image. The environment is created using the bash command:
python3 -m venv 2005env
A) What command will activate the 2005env environment from outside the 2005env directory?
B) If you use the bash command python at the normal ubuntu bash shell, you will launch version 2.7.12 of python. If you run the command python from the activated 2005env environment, what python version do you get?
C) If you run a pip install from inside the 2005env environment to install a package, such as Flask, what additional pip command does the pip install ask you to consider?
D) Once you used pip to install a package inside the virtual environment, in what directory did pip place the package files?
E) The bash PATH environment variable lists the locations bash looks for executable commands. Activating the 2005env environment should change the first entry in the bash PATH environment variable. What is the first directory in the PATH when 2005env is activated?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started