Complete the code to install the scipy package using pip.
pip install [1]To install the scipy package, you use pip install scipy.
Complete the code to import the scipy library in Python.
import [1]
You import the scipy library using import scipy.
Fix the error in the command to install scipy with pip for Python 3.
python3 -m [1] install scipyThe correct command uses pip as the module: python3 -m pip install scipy.
Fill both blanks to import the optimize submodule from scipy.
from [1] import [2]
You import the optimize submodule from scipy using from scipy import optimize.
Fill all three blanks to create a virtual environment named 'env' and activate it.
python3 -m [1] [2] source [3]/bin/activate
Use python3 -m venv env to create the environment, then source env/bin/activate to activate it.
