27 · JUNE · 2017
How to Create a Python Virtualenv Without Bullshit
Via Eiti Kimura. Straight to the point:
- Install virtualenv using pip:
$ pip install virtualenv - Define your directory:
$ mkdir deep-learning-virtual-env - After defining the directory, enter it:
$ cd deep-learning-virtual-env - Initialize your virtualenv:
$ virtualenv . - Activate your virtualenv:
$ source bin/activate - 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:
$ pip install -r requirements.keyrequirements.key