Join the community today
Become a Member

What to do with this pip error?

Discussion in 'Bug Reports' started by rdan, Oct 27, 2019.

  1. rdan

    rdan Well-Known Member

    5,443
    1,402
    113
    May 25, 2014
    Ratings:
    +2,194
    Local Time:
    2:42 PM
    Mainline
    10.2
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7.7 64bit
    • Centmin Mod Version Installed: 123.09beta01


     
  2. eva2000

    eva2000 Administrator Staff Member

    54,110
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,739
    Local Time:
    4:42 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    on every centmin.sh menu run or just one time error ?

    if you run centmin.sh as below commands ?
    Code (Text):
    cmupdate
    cmdir
    ./centmin.sh
    

    output for these commands
    Code (Text):
    pip --version
    which pip
    

    and
    Code (Text):
    pip3.6 --version
    which pip3.6
    
     
  3. eva2000

    eva2000 Administrator Staff Member

    54,110
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,739
    Local Time:
    4:42 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    If still getting error, you can try running centmin.sh menu option 24 in debug mode logged to debug.txt text file in /root/centminlogs directory by running these 3 commands
    Code (Text):
    cd /usr/local/src/centminmod
    echo 24 | bash -x centmin.sh 2>&1 | awk '{ print strftime("%Y-%m-%d %H:%M:%S"), $0; fflush(); }' | tee /root/centminlogs/debug.txt && echo "debug log saved at /root/centminlogs/debug.txt"
    sed -i "s|$(hostname)|hostname|g" /root/centminlogs/debug.txt
    

    Then copy the contents of /root/centminlogs/debug.txt into a pastebin.com or gist.github.com shared link - with an sensitive info masked. At least server hostname will be replaced with word hostname instead via last sed replacement line.
     
  4. rdan

    rdan Well-Known Member

    5,443
    1,402
    113
    May 25, 2014
    Ratings:
    +2,194
    Local Time:
    2:42 PM
    Mainline
    10.2
    By the way, this is a 3 Years and 7 Months server on CMM.
    Thanks!

    This.

    But after rebooting the server, no more error now.

    Thank you!
     
  5. rdan

    rdan Well-Known Member

    5,443
    1,402
    113
    May 25, 2014
    Ratings:
    +2,194
    Local Time:
    2:42 PM
    Mainline
    10.2
    Yes.
    Same error.

     
  6. eva2000

    eva2000 Administrator Staff Member

    54,110
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,739
    Local Time:
    4:42 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    what's output for the following commands
    Code (Text):
    grep 'python2-pip' /etc/yum.conf
    

    Code (Text):
    yum list python2-pip -q

    Code (Text):
    yum versionlock list

    Code (Text):
    PYTHONWARNINGS=ignore:::pip._internal.cli.base_command pip list -o --format columns


    you can also try this
    Code (Text):
    yum versionlock delete python2-pip
    yum -y reinstall python2-pip
    centmin
    

    then exit centmin.sh menu and run
    Code (Text):
    yum versionlock python2-pip
    

    on centmin run you may get one time messages like below you can ignore
     
  7. rdan

    rdan Well-Known Member

    5,443
    1,402
    113
    May 25, 2014
    Ratings:
    +2,194
    Local Time:
    2:42 PM
    Mainline
    10.2
    All fine now after this :)
    Thanks!

    But I still run all the commands you suggest.