- Xcode (install from App Store)
- Anaconda
- Download Anaconda at https://www.continuum.io/downloads#osx Python 2.7 version, COMMAND-LINE INSTALLER, (346M)
- In your terminal window, type
bash Anaconda2-4.2.0-MacOSX-x86_64.sh
to install Anaconda, ref: Full installation — Conda documentation - Logout terminal, Login terminal
- Anaconda update, type
conda update conda
- Create an environment, type
conda create --name theano
ref: http://conda.pydata.org/docs/test-drive.html - Activate the new environment, type
source activate theano
Reference: Installing Theano — Theano 0.8.2 documentation . Test on Mac OS X 10.12.1
The following steps are in the created theano environment.
- Install Theano in the environment, type
conda install theano
- Install nose in the environment, type
conda install nose
- Install nose-parameterized in the environment, type
pip install nose_parameterized
- Test Theano, type
python -c "import theano; theano.test()"
Reference: Test drive — Conda documentation
- Deactivate the new environment, type
source deactivate theano
- Delete an environment, type
conda remove --name theano --all
- List all environments, type
conda info --envs
- Linux (CentOS or Ubuntu)
- Install Anaconda Download Anaconda Now! | Continuum
- Similar with steps in Mac OS
- Windows Installation of Theano on Windows — Theano 0.8.2 documentation