Want more timely Centmin Mod News Updates?
Become a Member

ERROR: botocore

Discussion in 'Bug Reports' started by pamamolf, Nov 17, 2019.

  1. pamamolf

    pamamolf Premium Member Premium Member

    4,070
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    6:51 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Hello
    • CentOS Version:CentOS 7 64bit
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: i.e. 1.17.4
    • PHP Version Installed: 7.3.x
    • MariaDB MySQL Version Installed: 10.3.xx
    • When was last time updated Centmin Mod code base ? : Just update it.

    I just update Centminod and run it and i got this warning:


    Code:
    ERROR: botocore 1.12.78 has requirement urllib3<1.25,>=1.20; python_version == "2.7", but you'll have urllib3 1.25.7 which is incompatible.
    Just wanted to mention it in case of anything needed in the code.....

    When i run it for a second time it was ok. No warnings.

    Thanks
     
    Last edited: Nov 17, 2019
  2. eva2000

    eva2000 Administrator Staff Member

    53,607
    12,139
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,683
    Local Time:
    1:51 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    when you mean run 2nd time, you mean centmin.sh menu ? yes centmin.sh auto fixes some pip update/errors when it runs :) But don't think boto is one of them. That installed with dbbackup.sh ? AWS s3cmd and other tools I suspect.

    what's output for
    Code (Text):
    PYTHONWARNINGS=ignore:::pip._internal.cli.base_command pip list -o --format columns
     
  3. pamamolf

    pamamolf Premium Member Premium Member

    4,070
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    6:51 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Yes
    99% yes as that's the tool that i was testing.

    Code:
    Package                      Version Latest   Type
    ---------------------------- ------- -------- -----
    alembic                      1.0.8   1.3.1    sdist
    aniso8601                    6.0.0   8.0.0    wheel
    APScheduler                  3.5.0   3.6.3    wheel
    awscli                       1.16.88 1.16.283 wheel
    Babel                        0.9.6   2.7.0    wheel
    backports.ssl-match-hostname 3.5.0.1 3.7.0.1  sdist
    botocore                     1.12.78 1.13.19  wheel
    chardet                      2.2.1   3.0.4    wheel
    colorama                     0.3.9   0.4.1    wheel
    configobj                    4.7.2   5.0.6    sdist
    coverage                     3.7.1   4.5.4    wheel
    decorator                    3.4.0   4.4.1    wheel
    docutils                     0.14    0.15.2   wheel
    dogpile.cache                0.6.5   0.9.0    sdist
    eventlet                     0.23.0  0.25.1   wheel
    Flask                        0.12.4  1.1.1    wheel
    Flask-APScheduler            1.7.1   1.11.0   sdist
    flask-marshmallow            0.8.0   0.10.1   wheel
    Flask-Migrate                2.4.0   2.5.2    wheel
    Flask-RESTful                0.3.6   0.3.7    wheel
    Flask-SocketIO               3.1.0   4.2.1    wheel
    Flask-SQLAlchemy             2.3.2   2.4.1    wheel
    future                       0.17.1  0.18.2   sdist
    futures                      3.2.0   3.3.0    wheel
    ipaddress                    1.0.16  1.0.23   wheel
    IPy                          0.75    1.0      sdist
    Jinja2                       2.7.2   2.10.3   wheel
    jmespath                     0.9.3   0.9.4    wheel
    jsonpatch                    1.2     1.24     wheel
    jsonpointer                  1.9     2.0      wheel
    kitchen                      1.1.1   1.2.6    sdist
    lxml                         3.2.1   4.4.1    wheel
    Mako                         1.0.7   1.1.0    sdist
    MarkupSafe                   0.11    1.1.1    wheel
    marshmallow-sqlalchemy       0.13.2  0.19.0   wheel
    nose                         1.3.4   1.3.7    wheel
    Pillow                       2.0.0   6.2.1    wheel
    pyasn1                       0.4.5   0.4.8    wheel
    pycurl                       7.19.0  7.43.0.3 sdist
    pygobject                    3.22.0  3.34.0   sdist
    pyOpenSSL                    0.13.1  19.0.0   wheel
    pyparsing                    1.5.6   2.4.5    wheel
    pyserial                     2.6     3.4      wheel
    pytest                       3.0.2   4.6.6    wheel
    pytest-cov                   2.3.1   2.8.1    wheel
    pytest-ordering              0.5     0.6      wheel
    python-dateutil              2.7.2   2.8.1    wheel
    python-engineio              3.0.0   3.10.0   wheel
    python-ldap                  2.4.15  3.2.0    sdist
    python-memcached             1.48    1.59     wheel
    python-socketio              2.1.0   4.3.1    wheel
    pytz                         2018.9  2019.3   wheel
    pyudev                       0.15    0.21.0   sdist
    pyxattr                      0.5.1   0.6.1    sdist
    PyYAML                       3.10    5.1.2    sdist
    requests                     2.6.0   2.22.0   wheel
    rsa                          3.4.2   4.0      wheel
    s3transfer                   0.1.13  0.2.1    wheel
    setuptools                   0.9.8   41.6.0   wheel
    simplejson                   3.10.0  3.16.0   sdist
    six                          1.11.0  1.13.0   wheel
    SQLAlchemy                   1.2.0   1.3.11   sdist
    tzlocal                      1.5.1   2.0.0    wheel
    urlgrabber                   3.10    4.1.0    sdist
    Werkzeug                     0.14.1  0.16.0   wheel
    wheel                        0.33.1  0.33.6   wheel
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,607
    12,139
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,683
    Local Time:
    1:51 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    You can try updating botocore
    Code (Text):
    PYTHONWARNINGS=ignore:::pip._internal.cli.base_command pip install --upgrade botocore
     
  5. pamamolf

    pamamolf Premium Member Premium Member

    4,070
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    6:51 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    I got one error but successful installation:
    Code:
    Collecting botocore
      Downloading https://files.pythonhosted.org/packages/18/e5/0f29669244ffacc15c4cec9e10d75c26e7d300e1786e79514e62373e648c/botocore-1.13.19-py2.py3-none-any.whl (5.4MB)
         |████████████████████████████████| 5.4MB 5.4MB/s
    Requirement already satisfied, skipping upgrade: jmespath<1.0.0,>=0.7.1 in /usr/lib/python2.7/site-packages (from botocore) (0.9.3)
    Requirement already satisfied, skipping upgrade: docutils<0.16,>=0.10 in /usr/lib/python2.7/site-packages (from botocore) (0.14)
    Requirement already satisfied, skipping upgrade: python-dateutil<2.8.1,>=2.1; python_version >= "2.7" in /usr/lib/python2.7/site-packages (from botocore) (2.7.2)
    Requirement already satisfied, skipping upgrade: urllib3<1.26,>=1.20; python_version == "2.7" in /usr/lib/python2.7/site-packages (from botocore) (1.25.7)
    Requirement already satisfied, skipping upgrade: six>=1.5 in /usr/lib/python2.7/site-packages (from python-dateutil<2.8.1,>=2.1; python_version >= "2.7"->botocore) (1.11.0)
    ERROR: awscli 1.16.88 has requirement botocore==1.12.78, but you'll have botocore 1.13.19 which is incompatible.
    Installing collected packages: botocore
      Found existing installation: botocore 1.12.78
        Uninstalling botocore-1.12.78:
          Successfully uninstalled botocore-1.12.78
    Successfully installed botocore-1.13.19
    Error:
    Code:
    ERROR: awscli 1.16.88 has requirement botocore==1.12.78, but you'll have botocore 1.13.19 which is incompatible.
     
    Last edited: Nov 17, 2019
  6. eva2000

    eva2000 Administrator Staff Member

    53,607
    12,139
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,683
    Local Time:
    1:51 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    try upgrading awscli too
    Code (Text):
    PYTHONWARNINGS=ignore:::pip._internal.cli.base_command pip install --upgrade awscli
    
     
  7. pamamolf

    pamamolf Premium Member Premium Member

    4,070
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    6:51 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    all good:

    Code:
    Collecting awscli
      Downloading https://files.pythonhosted.org/packages/e2/6d/392fbb522445a6422cf93ddee0a066924fabcb11089ea8105dd94d0a2227/awscli-1.16.283-py2.py3-none-any.whl (2.5MB)
         |████████████████████████████████| 2.5MB 9.5MB/s
    Requirement already satisfied, skipping upgrade: botocore==1.13.19 in /usr/lib/python2.7/site-packages (from awscli) (1.13.19)
    Requirement already satisfied, skipping upgrade: docutils<0.16,>=0.10 in /usr/lib/python2.7/site-packages (from awscli) (0.14)
    Requirement already satisfied, skipping upgrade: PyYAML<5.2,>=3.10; python_version != "2.6" and python_version != "3.3" in /usr/lib64/python2.7/site-packages (from awscli) (3.10)
    Requirement already satisfied, skipping upgrade: rsa<=3.5.0,>=3.1.2 in /usr/lib/python2.7/site-packages (from awscli) (3.4.2)
    Requirement already satisfied, skipping upgrade: colorama<0.4.2,>=0.2.5; python_version != "2.6" and python_version != "3.3" in /usr/lib/python2.7/site-packages (from awscli) (0.3.9)
    Collecting s3transfer<0.3.0,>=0.2.0
      Downloading https://files.pythonhosted.org/packages/16/8a/1fc3dba0c4923c2a76e1ff0d52b305c44606da63f718d14d3231e21c51b0/s3transfer-0.2.1-py2.py3-none-any.whl (70kB)
         |████████████████████████████████| 71kB 5.4MB/s
    Requirement already satisfied, skipping upgrade: jmespath<1.0.0,>=0.7.1 in /usr/lib/python2.7/site-packages (from botocore==1.13.19->awscli) (0.9.3)
    Requirement already satisfied, skipping upgrade: python-dateutil<2.8.1,>=2.1; python_version >= "2.7" in /usr/lib/python2.7/site-packages (from botocore==1.13.19->awscli) (2.7.2)
    Requirement already satisfied, skipping upgrade: urllib3<1.26,>=1.20; python_version == "2.7" in /usr/lib/python2.7/site-packages (from botocore==1.13.19->awscli) (1.25.7)
    Requirement already satisfied, skipping upgrade: pyasn1>=0.1.3 in /usr/lib/python2.7/site-packages (from rsa<=3.5.0,>=3.1.2->awscli) (0.4.5)
    Requirement already satisfied, skipping upgrade: futures<4.0.0,>=2.2.0; python_version == "2.6" or python_version == "2.7" in /usr/lib/python2.7/site-packages (from s3transfer<0.3.0,>=0.2.0->awscli) (3.2.0)
    Requirement already satisfied, skipping upgrade: six>=1.5 in /usr/lib/python2.7/site-packages (from python-dateutil<2.8.1,>=2.1; python_version >= "2.7"->botocore==1.13.19->awscli) (1.11.0)
    Installing collected packages: s3transfer, awscli
      Found existing installation: s3transfer 0.1.13
        Uninstalling s3transfer-0.1.13:
          Successfully uninstalled s3transfer-0.1.13
      Found existing installation: awscli 1.16.88
        Uninstalling awscli-1.16.88:
          Successfully uninstalled awscli-1.16.88
    Successfully installed awscli-1.16.283 s3transfer-0.2.1
    Can you add some checks and upgrades for them at Centminmod start ?

    Thanks !