theano2_install.py 856 B

12345678910111213141516171819202122232425
  1. # View more python tutorials on my Youtube and Youku channel!!!
  2. # Youtube video tutorial: https://www.youtube.com/channel/UCdyjiB5H8Pu7aDTNVXTTpcg
  3. # Youku video tutorial: http://i.youku.com/pythontutorial
  4. # 2 - Install theano
  5. """
  6. requirements:
  7. 1. python 2 >=2.6 or python 3>=3.3
  8. 2. Numpy >= 1.7.1
  9. 3. Scipy >=0.11
  10. If using CPU, no other requirement.
  11. But if using GPU, you will need NVIDIA CUDA drivers and SDK.
  12. The must easy way to install theano is to use pip install.
  13. 1. open your terminal (MacOS and Linux), or your command window (Windows)
  14. 2. type "pip install theano" (for python 2x); type "pip3 install theano" (for python 3x)
  15. Note: to install theano on Windows machine may be a little bit struggling. If you encounter any
  16. problem, please refer to this web page:
  17. http://deeplearning.net/software/theano/install_windows.html#install-windows
  18. """