philusnarh / PROJECT

1 stars 0 forks source link

anaconda #26

Open philusnarh opened 6 years ago

philusnarh commented 6 years ago

https://stackoverflow.com/questions/16727171/installing-anaconda-into-a-virtual-environment

philusnarh commented 5 years ago

#

To activate this environment, use:

> source activate tensorflow

#

To deactivate an active environment, use:

> source deactivate

#

uninstall

conda install anaconda-clean # install the package anaconda clean anaconda-clean --yes # clean all anaconda related files and directories rm -rf ~/anaconda3 # removes the entire anaconda directory

rm -rf ~/.anaconda_backup # anaconda clean creates a back_up of files/dirs, remove it

(conda list; cmd shouldn't respond after the clean up)

install

bash Anaconda*.sh

To activate this environment, use

 $ conda activate tensorflow

To deactivate an active environment, use

 $ conda deactivate

conda install -c conda-forge tensorflow conda install jupyter

conda create -n tensorflow python=2.7

conda list -e > requirements.txt pip freeze > requirements.txt

philusnarh commented 5 years ago

conda install -c conda-forge matplotlib To install this package with conda run one of the following: conda install -c conda-forge opencv conda install -c conda-forge/label/broken opencv

pip install -U scikit-image pip install python-opencv