在你的 Mac 上安装Theano

来源:互联网 发布:网络暴力的原因和影响 编辑:程序博客网 时间:2024/04/28 06:18

Install Theano on your OSX

Install scientific Python

Installing scientific Python on Mac OS X

Note that it is a little different between what it said and in practice.
Install brew

Open a terminal prompt.
Then paste the following code in it.

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

more info about Brew
Click this link

virtualenvwrapper

source /usr/local/bin/virtualenvwrapper.sh

qtconsole
To truly install python qtconsole on your Mac

pip isntall qtconsole

Install Theano

pip install Theano

Test your installation

import theanotheano.test()
0 0
原创粉丝点击