Skip to content

Instantly share code, notes, and snippets.

@hamaadshah
Last active July 30, 2018 15:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hamaadshah/fb8b421bc784bf1898397bbc4286c21a to your computer and use it in GitHub Desktop.
Save hamaadshah/fb8b421bc784bf1898397bbc4286c21a to your computer and use it in GitHub Desktop.
Create virtual environments for Python with conda.
conda update -n base conda
conda create --name autoencoders python=3.6.3 anaconda
source activate autoencoders
conda install --name autoencoders theano
conda uninstall --name autoencoders theano
pip install --upgrade pip
# For Windows
python -m pip install --upgrade pip
pip install ~/Projects/tensorflow_pkg/tensorflow-1.6.0rc0-cp36-cp36m-macosx_10_7_x86_64.whl     
pip install keras --upgrade
pip install numpy --upgrade
pip install pandas --upgrade
pip install dask --upgrade
pip install plotnine --upgrade
pip install yapf
pip install jupyter_nbextensions_configurator jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
jupyter nbextensions_configurator enable --user
http://localhost:8888/nbextensions

source deactivate
conda env remove --name autoencoders

conda install --name autoencoders -c r r-irkernel r-essentials
cp -R ~/Projects/autoencoders/* ~/Projects/transfer_learning/
pip install jupyterthemes
jt -t chesterish

conda env remove --name autoencoders
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment