美文网首页
(1)ubuntu python3 pip3 jupyterla

(1)ubuntu python3 pip3 jupyterla

作者: 纵春水东流 | 来源:发表于2021-03-17 16:42 被阅读0次

    1、shell脚本

    #! /bin/bash
    sudo apt install -y python3-pip
    mkdir ~/.pip
    echo -e "[global]\ntrusted-host=mirrors.aliyun.com\nindex-url=https://mirrors.aliyun.com/pypi/simple/" >  ~/.pip/pip.conf
    pip3 install jupyter jupyterlab
     cd ~/Downloads/
    wget https://download-cf.jetbrains.com/python/pycharm-community-2021.1.tar.gz
    gzip -d pycharm-community-2021.1.tar.gz
    tar -xvf pycharm-community-2021.1.tar
    sudo mv  pycharm-community-2021.1 /opt/pycharm
    echo "alias pycharm=/opt/pycharm/bin/pycharm.sh" >> ~/.bashrc
    source ~/.bashrc
    
    #conda
    

    2、过程

    #sudo apt install python-pip
    sudo apt install python3-pip
    
    mkdir ~/.pip
    vim ~/.pip/pip.conf
    #将一下内容复制进去
    [global]
    trusted-host=mirrors.aliyun.com
    index-url=https://mirrors.aliyun.com/pypi/simple/
    

    相关文章

      网友评论

          本文标题:(1)ubuntu python3 pip3 jupyterla

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