cheers, strange haven't run across this message yet
FYI, going to have temporarily disable the centmin.sh auto update pip/glances/psutil function as CentOS 6.x systems are spitting out errors on centmin.sh runs ! Code (Text): DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6 /usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning. SNIMissingWarning /usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6 /usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning. SNIMissingWarning /usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6 /usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning. SNIMissingWarning /usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning /usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning. SNIMissingWarning /usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning /usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning. SNIMissingWarning /usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-y3Bzlv/glances/
Any fix for that? I have the same issue when i try to use the aws s3 cli tool CentOS release 6.10 (Final) I use the script for 3,6 at addons directory but i am getting the same error again...
If you're using CentOS 6 and run into issues installing latest Glances version which now requires Python 2.7, you can install Python 2.7 as SCL Yum package via Centmin Mod addons/python27_install.sh Code (Text): cd /usr/local/src/centminmod/addons ./python27_install.sh install mkdir -p /home/pip-tmp chmod 1777 /home/pip-tmp export TMPDIR=/home/pip-tmp pip2.7 install --upgrade pip pip2.7 install --upgrade psutil pip2.7 install --upgrade glances Code (Text): pip --version pip 18.1 from /usr/lib/python2.7/site-packages/pip (python 2.7) Code (Text): glances --version Glances v3.1.0 with psutil v5.4.8
Centmin Mod 123.09beta01 latest update re-enables pip_updates function, so after cmupdate command, run centmin.sh once for pip updates to run Beta Branch - re-enable pip_updates function in 123.09beta01
All updated with no issues but i am still getting this error when i run the aws s3 cli tool as it seems to use the old 2.6 python
@eva2000 I just rebuilt Nginx with GCC 8 and then TOP2 error, i got PSutil library not found. Glances cannot start. Already doing like you said in Quote but throw some error too : 1. pip install --upgrade pip = Requirement already up-to-date: pip in /usr/lib/python2.7/site-packages (19.0.1) 2. pip uninstall psutil = Cannot uninstall 'psutil'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. 3. pip uninstall psutil = Cannot uninstall 'psutil'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. 4. pip install psutil = Requirement already satisfied: psutil in /usr/lib64/python2.7/site-packages (2.2.1) 5. pip install --upgrade psutil --force-reinstall -v | egrep 'ccache|gcc|installed' = uninstalled_pathset = UninstallPathSet.from_dist(dist) glances -V = PSutil library not found. Glances cannot start.
If you use centmin mod 123.09beta01 with latest updates via cmupdate command you can just run centmin.sh once and it will take care of pip updates for glances and then exit centmin.sh and glances should work
Yes it's Already doing that.. But it must be uninstall & reinstall glance after doing cmupdate.. Cause in my case if only doing like you suggest it got error "glances command not found" Thanks for fixing it Eva