zoukankan      html  css  js  c++  java
  • python3.6环境安装

    python3.6环境安装

    #!/bin/bash
    # utf-8
    # desc : install Python-3.6.5 and python dependency 
    source /etc/profile &> /dev/null
    yum install bzip2-devel xz-devel libffi-devel -y
    wget http://mirrorkf.xx.local/software/Python-3.6.5.tgz -O /tmp/Python-3.6.5.tgz
    cd /tmp/ && tar zxf Python-3.6.5.tgz && cd Python-3.6.5 && mkdir -p /usr/local/python3 
    ./configure --prefix=/usr/local/python3
    make && make install
    ln -s /usr/local/python3/bin/python3 /usr/bin/python3
    ln -s /usr/local/python3/bin/pip3 /usr/bin/pip3
    echo "Python-3.6.5 install success"
    python3 -m pip install numpy==1.19.5 --index-url=http://mirrors.xx.com/pypi/simple --trusted-host mirrors.xx.com
    python3 -m pip install scipy==1.4.1 --index-url=http://mirrors.xx.com/pypi/simple --trusted-host mirrors.xx.com
    python3 -m pip install pandas==0.25.3 --index-url=http://mirrors.xx.com/pypi/simple --trusted-host mirrors.xx.com
    python3 -m pip install scikit-learn==0.22.1 --index-url=http://mirrors.xx.com/pypi/simple --trusted-host mirrors.xx.com
    python3 -m pip install scikit-learn==0.22.1 --index-url=http://mirrors.xx.com/pypi/simple --trusted-host mirrors.xx.com
    python3 -m pip install cython --index-url=http://mirrors.xx.com/pypi/simple --trusted-host mirrors.xx.com
    python3 -m pip install scipy --index-url=http://mirrors.xx.com/pypi/simple --trusted-host mirrors.xx.com
    python3 -m pip install ortools --index-url=http://mirrors.xx.com/pypi/simple --trusted-host mirrors.xx.com
    python3 -m pip install six --index-url=http://mirrors.xx.com/pypi/simple --trusted-host mirrors.xx.com
    python3 -m pip install joblib --index-url=http://mirrors.xx.com/pypi/simple --trusted-host mirrors.xx.com
    python3 -m pip install k-means-constrained==0.5.1 --index-url=http://mirrors.xx.com/pypi/simple --trusted-host mirrors.xx.com
    echo "Python dependency install success"
    
    原创:做时间的朋友
  • 相关阅读:
    antipirate AD
    猪头符号
    开发过程中经常出现的问题及解决方案
    CS0016: 未能写入输出文件C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\source code\00f88265\65f00fab\App_Web_w56x7oz6.dll拒绝访问
    ASPxComboBox控件联动效果bug改进
    工作中的点滴积累
    每日一句
    每日一句
    解决ora12154的问题
    如何查看eclipse版本?
  • 原文地址:https://www.cnblogs.com/PythonOrg/p/15509876.html
Copyright © 2011-2022 走看看