Notes d'erreur Centos

1、Erreur Aucun module nommé 'virtualenvwrapper'

Last login: Sun Apr 23 17:45:14 2023 from 192.
/usr/bin/python3: Error while finding module specification for 'virtualenvwrapper.hook_loader' (ModuleNotFoundError: No module named 'virtualenvwrapper')
virtualenvwrapper.sh: There was a problem running the initialization hooks.

If Python could not import the module virtualenvwrapper.hook_loader,
check that virtualenvwrapper has been installed for
VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3 and that PATH is
set properly.
python3 -m pip install virtualenv  virtualenvwrapper --user

2、python setup.py egg_info a échoué avec le code d'erreur 1 dans 

pip install --upgrade setuptools
python3 -m pip install --upgrade pip

3. Invite de connexion virtualenvwrapper.sh : aucun fichier ou répertoire de ce type

Solution : le shell bash est utilisé pour la connexion, les fichiers suivants seront donc exécutés lors de la connexion au terminal

查看 cat 
~/.bashrc、~/.bash_profile、~/.bash_login  ~/.profil
是否存在virtualenvwrapper.sh 相关source,删除即可

Je suppose que tu aimes

Origine blog.csdn.net/zhangxueleishamo/article/details/130327267
conseillé
Classement