How to Create a Python Virtualenv Without Bullshit
2017 Jun 27Via Eiti Kimura. Straight to the point:
- Install virtualenv using pip: [code language=”python”] $ pip install virtualenv [/code]
- Define your directory: [code language=”python”] $ mkdir deep-learning-virtual-env [/code]
- After defining the directory, enter it: [code language=”python”] $ cd deep-learning-virtual-env [/code]
- Initialize your virtualenv: [code language=”python”] $ virtualenv . [/code]
- Activate your virtualenv: [code language=”python”] $ source bin/activate [/code]
- 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