Join the community today
Register Now

Upgrade Pip

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Itworx4me, Sep 7, 2019.

  1. Itworx4me

    Itworx4me Premium Member Premium Member

    339
    35
    28
    Mar 14, 2017
    Ratings:
    +65
    Local Time:
    6:04 PM
    Nginx 1.27.4
    MariaDB 10.6.21
    I get this warning when signing onto my server.


    What is the command to upgrade pip? The suggestion above is a little confusing to me.

    Thanks,
    Itworx4me
     
  2. negative

    negative Active Member

    415
    50
    28
    Apr 11, 2015
    Ratings:
    +98
    Local Time:
    4:04 AM
    1.9.10
    10.1.11
    Yes, same here
    Just run the "pip install --upgrade pip" command.

    However, i get this warning after upgrade completed

    Code (Text):
    DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support


    Need pyhton upgrade separately i though.
     
  3. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    11:04 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    if you're on 123.09beta01 run cmupdate to update to latest 123.09beta01 code and then run centmin.sh once and exit. It should update pip automatically for you and if not then just run manually
    Code (Text):
    pip install --upgrade pip

    and ignore deprecation message
     
  4. EckyBrazzz

    EckyBrazzz Active Member

    917
    190
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +363
    Local Time:
    10:04 PM
    Latest
    Latest
    @negative How did you upgrade Python. Just like below? I did not use 3.8.0, still beta (like CMM beta, but keep fingers crossed with Python:))

    Code (Text):
    wget https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tar.xz
    tar -xJf Python-3.7.4.tar.xz
    cd Python-3.7.4
    ./configure
    make && make install
    
     
  5. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    11:04 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    i wouldn't source compile python that way, you can break python yum packages including YUM functionality

    also CentOS 7.7 will also have python yum package changes to account for too
     
  6. EckyBrazzz

    EckyBrazzz Active Member

    917
    190
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +363
    Local Time:
    10:04 PM
    Latest
    Latest
    Oops, gona try to fix it and do it the YUM way.... Thx @eva2000
     
  7. EckyBrazzz

    EckyBrazzz Active Member

    917
    190
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +363
    Local Time:
    10:04 PM
    Latest
    Latest
    Better wait for a while....2020
    Just reading:
     
    Last edited: Sep 11, 2019