FPGA: Conda installation Environment create and managing packages dependencies

Описание к видео FPGA: Conda installation Environment create and managing packages dependencies

su
root@thoi CONDA]# yum install conda

conda --version
conda info --envs
conda env list
gedit thoi_env_test.yml


name: thoi_envtest
channels:
conda-forge
dependencies:
python=3.6
pip
pip:
numpy

conda env create --file thoi_env_test.yml
conda info --envs
conda env list
conda activate thoi_envtest

CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
To initialize your shell, run

$ conda init SHELL_NAME

Currently supported shells are:
bash
fish
tcsh
xonsh
zsh
powershell

conda init bash
close terminal open new terminal
conda activate thoi_envtest

conda create -n thoi2_p8 python=3.8 six
conda config --remove channels conda-forge
conda config --add channels conda-forge
if it doesn't work then try this
conda update conda

conda create -n thoi3_hls python=3.10.16 numpy
conda install panda
(thoi3_hls) bash-4.2$ conda install pip==23.0.1
(thoi3_hls) bash-4.2$ conda env export --file thoi3_hls_export.yml
(thoi3_hls) bash-4.2$ cat thoi3_hls_export.yml



another way to share the enveronment
cp folder
(base) bash-4.2$ pwd
/mnt/storage1/tsingh/.conda/envs
(base) bash-4.2$ ls
hls4ml-tutorial thoi2_p8 thoi3_hls thoi_envtest thoi_tutorial
(base) bash-4.2$





conda deactivate
conda install six

(base) bash-4.2$ pwd
/mnt/storage1/tsingh/.conda/envs/thoi_envtest/lib/python3.6/site-packages
(base) bash-4.2$ ls
_distutils_hack pyjokescli
distutils-precedence.pth README.txt
pip setuptools
pip-21.3.1-py3.9.egg-info setuptools-58.0.4-py3.6.egg-info
pkg_resources six-1.16.0.dist-info
_pycache_ six.py
pyjokes wheel
pyjokes-0.6.0.dist-info wheel-0.37.1-py3.8.egg-info
(base) bash-4.2$

Комментарии

Информация по комментариям в разработке