How to Create a Python Virtualenv Without Bullshit

Via Eiti Kimura. Straight to the point:

  1. Install virtualenv using pip: [code language=”python”] $ pip install virtualenv [/code]
  2. Define your directory: [code language=”python”] $ mkdir deep-learning-virtual-env [/code]
  3. After defining the directory, enter it: [code language=”python”] $ cd deep-learning-virtual-env [/code]
  4. Initialize your virtualenv: [code language=”python”] $ virtualenv . [/code]
  5. Activate your virtualenv: [code language=”python”] $ source bin/activate [/code]
  6. To further ease your work, we’ve even created a requirements file with Theano, Keras, Jupyter Notebook, and Scikit-Learn. To install them, simply run the following command: [code language=”python”] $ pip install -r requirements.key [/code] requirements.key