basic

$ conda create --name app35 python=3.5
$ source activate app35

$ pip list

$ source deactivate
$ conda env list
$ conda list -n snowflakes
$ conda install --name bunnies beautiful-soup // beautiful-soup = package

Chemical SUIT

$ conda create --name dl3 python=3.5

$ source activate dl3
$ pip install jupyter numpy sqlalchemy pandas tqdm sqlalchemy_utils psycopg2

$ conda install -c rdkit rdkit
$ conda install -c openbabel openbabel // maybe repeat twice to successfully install!!!

$ pip install grpcio
$ pip install grpcio-tools googleapis-common-protos


// let notebook to use specific env
$ conda install nb_conda
$ git clone https://github.com/ipython/ipykernel.git
$ cd ipykernel
$ pip install -e .
$ python -m ipykernel install --user --name nlp3 --display-name "Python (nlp3)"

OpenCV

$ conda create --name opencv3 python=3.5 numpy scipy matplotlib scikit-learn scikit-image
$ conda install jupyter
$ conda install -c menpo opencv3

$ source activate opencv3

$ conda list

Import / Export

$ conda env export > environment.yml
$ conda env create -n env-name -f environment.yml

Ipython Notebook using env

# let notebook to use specific env
$ conda install nb_conda
$ git clone https://github.com/ipython/ipykernel.git
$ cd ipykernel
$ pip install -e .
$ python -m ipykernel install --user --name nlp3 --display-name "Python (nlp3)"

PCL

$ conda install -c https://conda.anaconda.org/ccordoba12 python-pcl
# Original
cloud = pcl.load_XYZRGB('tabletop.pcd')

# For using Python 2.7 with Anaconda,
cloud = pcl.PointCloud()
cloud.from_file('tabletop.pcd')

Sqlalchemy

$ pip install sqlalchemy

RDkit

$ conda install -c rdkit rdkit

Tensorflow

https://www.tensorflow.org/install/install_linux#InstallingNativePip

$ pip install --upgrade $TF_URL

Remove Env

$ conda env remove --name tf-nightly
$ conda remove --name my_app27 --all

Last updated

Was this helpful?