美文网首页
paddlehub安装过程

paddlehub安装过程

作者: 郭彦超 | 来源:发表于2020-11-04 18:06 被阅读0次

    安装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
    

    相关文章

      网友评论

          本文标题:paddlehub安装过程

          本文链接:https://www.haomeiwen.com/subject/hpngvktx.html