Wednesday, August 17, 2022

Starting with conda

 open anaconda prompt using administrative privilege

conda update -n base -c defaults conda

cd to project directory

create virtual environment with python 3.10

conda create -n myenv python=3.10

To activate this environment, use
#
#     $ conda activate myenv
#
# To deactivate an active environment, use
#
#     $ conda deactivate

conda activate myenv

there is a file named requirements.txt in my folder

where all the necessary package with version numbers are mentioned

in my case

the file contains

numpy==1.19.5
matplotlib==3.3.4
scipy==1.6.2

to install all the packages with the given version

numpy==1.19.5
matplotlib==3.3.4
scipy==1.6.2


see all the packages with their version

pip freeze


start jupyter notebook from

python -m notebook