安装python3依赖环境
yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gcc make libffi-devel
安装python3.7
wget https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgz
tar zxvf Python-3.7.4.tgz
./configure prefix=/usr/local/python3 --with-ssl
make && make install
ln -s /usr/local/python3/bin/python3.7 /usr/bin/python3.7
ln -s /usr/local/python3/bin/pip3.7 /usr/bin/pip3
安装opencv依赖环境
yum install -y python-qt4
安装paddlepaddle
pip3 install paddlepaddle -i https://mirror.baidu.com/pypi/simple
安装paddlehub
pip3 install paddlehub -i https://mirror.baidu.com/pypi/simple
网友评论