27 · JUNE · 2017
How to Create a Virtualenv in Python Without Bullshit
Via Eiti Kimura. Straight to the point: 1) Install virtualenv via pip
$ pip install virtualenv
2) Define your directory
$ mkdir deep-learning-virtual-env
3) After defining the directory, navigate into it
$ cd deep-learning-virtual-env
4) Initialize your virtualenv
$ virtualenv .
5) Activate your virtualenv
$ source bin/activate
6) To make your work easier, we’ve even created a requirements file with Theano, Keras, Jupyter Notebook, and Scikit-Learn. To install them, just run the following command:
$ pip install -r requirements.key
requirements.key