Centos-Fehlerhinweise

1、Fehler Kein Modul namens „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 ist mit Fehlercode 1 fehlgeschlagen 

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

3. Anmeldeaufforderung virtualenvwrapper.sh: Keine solche Datei oder kein solches Verzeichnis

Lösung: Für die Anmeldung wird die Bash-Shell verwendet, sodass die folgenden Dateien beim Anmelden am Terminal ausgeführt werden

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

Ich denke du magst

Origin blog.csdn.net/zhangxueleishamo/article/details/130327267
Empfohlen
Rangfolge