centos7 theano jupyter+hub
2016-07-26 09:24
465 查看
centos7 python升级到3.5.0
http://blog.csdn.net/baidu_26550817/article/details/52032451
centos7中python3.5.0安装成功后
最后才悔悟,人啊何必为难自己!
https://www.continuum.io/downloads
下载个anaconda
然后可以用了
下边不用看
1 安装setuptools-18.4
下载页面:https://pypi.python.org/pypi/setuptools/
文件:setuptools-18.4.tar.gz
解压文件
进入解压的文件夹setuptools-18.4
执行命令:sudo python setup.py install
安装完成
2 安装pip
执行命令:sudo easy_install pip
3 安装numpy scipy
执行命令: sudo yum -y install gcc gcc-c++ numpy python-devel scipy
4 安装numpy
执行命令:sudo pip install numpy
5 安装 scipy 安装scipy之前,需要安装blas,lapack,numpy等
执行命令:sudo pip install scipy
6 安装 matplotlib
执行命令:sudo pip install matplotlib
报错:freetype: no [The C/C++ header for freetype2 (ft2build.h)
could not be found. You may need to install the
development package.]
png: no [pkg-config information for ‘libpng’ could not
be found.]
The following required packages can not be built:
* freetype, png
解决方法:http://newcoder.io/dataviz/part-0/
最终:sudo yum install python-matplotlib
Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-5T3ZgQ/ matplotlib
执行pip install PIL –allow-external PIL –allow-unverified PIL
7 安装 theano
执行命令:sudo pip install theano
http://blog.csdn.net/baidu_26550817/article/details/52032451
centos7中python3.5.0安装成功后
pip3 install theano pip3 install jupyter notebook
#CentOS 7 通过 yum 安装 nodejs 和 npm #获取nodejs 资源 # 4.x curl --silent --location https://rpm.nodesource.com/setup_4.x | bash - # 5.x curl --silent --location https://rpm.nodesource.com/setup_5.x | bash - yum install -y nodejs #测试是否安装成功 node -v # v4.4.0 npm -v # 2.14.20
npm install -g configurable-http-proxy pip3 install jupyterhub
最后才悔悟,人啊何必为难自己!
https://www.continuum.io/downloads
下载个anaconda
bash Anaconda3-4.1.1-Linux-x86_64.sh 转到安装目录的bin下 conda install theano
然后可以用了
下边不用看
1 安装setuptools-18.4
下载页面:https://pypi.python.org/pypi/setuptools/
文件:setuptools-18.4.tar.gz
解压文件
进入解压的文件夹setuptools-18.4
执行命令:sudo python setup.py install
安装完成
2 安装pip
执行命令:sudo easy_install pip
3 安装numpy scipy
执行命令: sudo yum -y install gcc gcc-c++ numpy python-devel scipy
4 安装numpy
执行命令:sudo pip install numpy
5 安装 scipy 安装scipy之前,需要安装blas,lapack,numpy等
执行命令:sudo pip install scipy
6 安装 matplotlib
执行命令:sudo pip install matplotlib
报错:freetype: no [The C/C++ header for freetype2 (ft2build.h)
could not be found. You may need to install the
development package.]
png: no [pkg-config information for ‘libpng’ could not
be found.]
The following required packages can not be built:
* freetype, png
解决方法:http://newcoder.io/dataviz/part-0/
最终:sudo yum install python-matplotlib
Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-5T3ZgQ/ matplotlib
执行pip install PIL –allow-external PIL –allow-unverified PIL
7 安装 theano
执行命令:sudo pip install theano
相关文章推荐
- Python动态类型的学习---引用的理解
- Python3写爬虫(四)多线程实现数据爬取
- 垃圾邮件过滤器 python简单实现
- 下载并遍历 names.txt 文件,输出长度最长的回文人名。
- install and upgrade scrapy
- Scrapy的架构介绍
- Centos6 编译安装Python
- 使用Python生成Excel格式的图片
- 让Python文件也可以当bat文件运行
- [Python]推算数独
- Python中zip()函数用法举例
- Python中map()函数浅析
- Python将excel导入到mysql中
- Python在CAM软件Genesis2000中的应用
- 使用Shiboken为C++和Qt库创建Python绑定
- FREEBASIC 编译可被python调用的dll函数示例
- Python 七步捉虫法