mac osx 10.9 建立机器学习环境(python3.4)
2014-07-02 22:45
253 查看
https://pypi.python.org/pypi/
may be setup these
export CFLAGS="-arch i386 -arch x86_64"
export FFLAGS="-m32 -m64"
export LDFLAGS="-Wall -undefined dynamic_lookup -bundle -arch i386 -arch x86_64"
export CC=gcc
export CXX="g++ -arch i386 -arch x86_64"
brew install gfortran
1. setup python3.4 using dmg files
2. build dependent package
All package download from https://pypi.python.org/pypi/
atlas (0.27.0)
Cython (0.20.1)
freetype-py (0.4.1)
ipython (2.0.0)
matplotlib (1.3.1)
nose (1.3.1)
pip (1.5.4)
pyparsing (2.0.2)
python-dateutil (2.2)
setuptools (3.4.4)
six (1.6.1)
tornado (3.2)
and using these commands
python setup.py build
sudo python setup.py install
Then using brew install gfortan
3. build machine learning package
numpy (1.8.1)
scipy (0.13.3)
scikit-learn (0.15-git)
and using these commands
python setup.py build
sudo python setup.py install
ref:
http://www.newcenturygroup.cn/search/blog.hyperjeff.net/?p=160-numpy%20user%20guide-2.html
http://stackoverflow.com/questions/23095915/installing-scikit-learn-in-mac-wrong-xcode-detected
http://blog.csdn.net/memray/article/details/12325377
http://thismodernphysics.wordpress.com/2014/01/16/installing-python/
may be setup these
export CFLAGS="-arch i386 -arch x86_64"
export FFLAGS="-m32 -m64"
export LDFLAGS="-Wall -undefined dynamic_lookup -bundle -arch i386 -arch x86_64"
export CC=gcc
export CXX="g++ -arch i386 -arch x86_64"
brew install gfortran
1. setup python3.4 using dmg files
2. build dependent package
All package download from https://pypi.python.org/pypi/
atlas (0.27.0)
Cython (0.20.1)
freetype-py (0.4.1)
ipython (2.0.0)
matplotlib (1.3.1)
nose (1.3.1)
pip (1.5.4)
pyparsing (2.0.2)
python-dateutil (2.2)
setuptools (3.4.4)
six (1.6.1)
tornado (3.2)
and using these commands
python setup.py build
sudo python setup.py install
Then using brew install gfortan
3. build machine learning package
numpy (1.8.1)
scipy (0.13.3)
scikit-learn (0.15-git)
and using these commands
python setup.py build
sudo python setup.py install
ref:
http://www.newcenturygroup.cn/search/blog.hyperjeff.net/?p=160-numpy%20user%20guide-2.html
http://stackoverflow.com/questions/23095915/installing-scikit-learn-in-mac-wrong-xcode-detected
http://blog.csdn.net/memray/article/details/12325377
http://thismodernphysics.wordpress.com/2014/01/16/installing-python/
相关文章推荐
- 机器学习笔记(环境配置)-win10 64位 3.4版本python安装numpy库
- Linux下配置Eclipse+PyDev 建立Python开发环境
- python下建立opencv开发环境
- Mac OSX 10.9搭建nginx+mysql+php-fpm环境
- 机器学习Python编程环境搭建
- Mac OSX 10.9搭建nginx+mysql+php-fpm环境
- 建立python编程环境
- Django1.8+Python3.4环境搭建填坑整合
- Mac OSX 10.9搭建nginx+mysql+php-fpm环境
- Mac OS10.9 下python开发环境(eclipse)以及自然语言包NLTK的安装与注意
- 机器学习 - 1.0 - Ubuntu搭建Python科学计算环境
- 用komodo建立python开发环境
- Eclipse Kepler SR2 + Python 3.4 + JDK7+Pydev3.4 搭建 python 开发环境(MAC)
- 在Mac osx v10.9上安装mysql-python
- Mac OSX10.9 上 Cocos2dx 3.1.1 开发的环境搭建
- 建立eclipse+PyDev+Python+NumPy+SciPy的环境
- mac osx 安装vim python环境
- Mac OSX 10.9 php+apache+mysql 环境配置
- 装numpy 环境:python3.4+ windows7 +64位系统
- 配置Eclipse+Python3.4+pydev环境