CentOs7.3安装机器学习环境

pythone3.6.1

wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tgz
tar -zxvf Python-3.6.1.tgz
cd Python-3.6.1
./configure --prefix=/usr/local
make
make altinstall
cd/usr/bin
mv  python python.backup
ln -s /usr/local/bin/python3.6 /usr/bin/python
ln -s /usr/local/bin/python3.6 /usr/bin/python3
ln /usr/local/bin/pip3.6 /usr/local/bin/pip3
vi yum
!/usr/bin/python 改为 #!/usr/bin/python2
vi /usr/libexec/urlgrabber-ext-down
!/usr/bin/python 改为 #!/usr/bin/python2

cuda

官网下载安装

安装其他命令

linux命令

yum install curl
yum install tesseract
yum install libffi-devel
yum install python-numpy python-scipy python-matplotlib

python库

pip3 install pycurl
pip3 install numpy
pip3 install scipy
pip3 install matplotlib
pip3 install scikit-learn
pip3 install PILLOW
pip3 install cairocffi
pip3 install editdistance
pip3 install keras
pip3 install tensorflow

你可能感兴趣的:(深度学习,python)