Gadmin: Failed to import these Python modules

Hello. Recently I started to receive these error:

tigergraph@tg1:~$ gadmin status

Check Module Error: setuptools

Failed to import these Python modules. Please install them either

sudo python -m pip install setuptools

or

Download https://github.com/TigerGraph/SysPrerequisites/archive/master.tar.gz and sudo install them from source

setuptools is installed

tigergraph@tg1:~ sudo python -m pip install setuptools The directory '/home/tigergraph/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/home/tigergraph/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Requirement already satisfied: setuptools in ./.local/lib/python2.7/site-packages tigergraph@tg1:~ sudo -H python -m pip install setuptools
Requirement already satisfied: setuptools in /usr/lib/python2.7/dist-packages

Hi Dmitry,

Please try removing all “*.pyc” files under lib by using this command:

find ~/.venv/lib/python2.7/ -name “*.pyc” -exec rm -f {} ;

and then retry gadmin status .

Thanks,

Kevin

Still the same error. Apparently it tries to download this file https://github.com/TigerGraph/SysPrerequisites/archive/master.tar.gz but this link is broken

Hi Dmitry,

Which version of the platform it is? We may ship you a new gium.tar.gz to replace the old one.

Best,

Dadong

Hi Dmitry,

Please download 2.4.1 gium by command “wget service.tigergraph.com/download/patch_update/gium_2.4.1.tar.gz

And install it under tigergraph user by:

tar -xzf gium_2.4.1.tar.gz

cd tigergraph-gium-*

bash install.sh

Thanks,

Dadong