Страница 4 из 4

Re: Fedora 32 ... 34

Добавлено: 15 ноя 2021, 20:23
Olej
После открытия каждой вкладки (очень раздражает! :-( ) терминала - начинается с сообщения:

Код: Выделить всё

/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.
[olej@xenix ~]$
Лечится:

Код: Выделить всё

[olej@xenix ACCOUNTS]$ pip install virtualenvwrapper --upgrade
Defaulting to user installation because normal site-packages is not writeable
Collecting virtualenvwrapper
  Downloading virtualenvwrapper-4.8.4.tar.gz (334 kB)
     |████████████████████████████████| 334 kB 1.3 MB/s 
Collecting virtualenv
  Downloading virtualenv-20.10.0-py2.py3-none-any.whl (5.6 MB)
     |████████████████████████████████| 5.6 MB 11.0 MB/s 
Collecting virtualenv-clone
  Downloading virtualenv_clone-0.5.7-py3-none-any.whl (6.6 kB)
Collecting stevedore
  Downloading stevedore-3.5.0-py3-none-any.whl (49 kB)
     |████████████████████████████████| 49 kB 4.8 MB/s 
Collecting pbr!=2.1.0,>=2.0.0
  Using cached pbr-5.7.0-py2.py3-none-any.whl (112 kB)
Collecting platformdirs<3,>=2
  Downloading platformdirs-2.4.0-py3-none-any.whl (14 kB)
Collecting filelock<4,>=3.2
  Downloading filelock-3.3.2-py3-none-any.whl (9.7 kB)
Requirement already satisfied: six<2,>=1.9.0 in /usr/lib/python3.9/site-packages (from virtualenv->virtualenvwrapper) (1.15.0)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.3-py2.py3-none-any.whl (496 kB)
     |████████████████████████████████| 496 kB 6.0 MB/s 
Collecting backports.entry-points-selectable>=1.0.4
  Downloading backports.entry_points_selectable-1.1.1-py2.py3-none-any.whl (6.2 kB)
Using legacy 'setup.py install' for virtualenvwrapper, since package 'wheel' is not installed.
Installing collected packages: platformdirs, pbr, filelock, distlib, backports.entry-points-selectable, virtualenv-clone, virtualenv, stevedore, virtualenvwrapper
    Running setup.py install for virtualenvwrapper ... done
Successfully installed backports.entry-points-selectable-1.1.1 distlib-0.3.3 filelock-3.3.2 pbr-5.7.0 platformdirs-2.4.0 stevedore-3.5.0 virtualenv-20.10.0 virtualenv-clone-0.5.7 virtualenvwrapper-4.8.4
После чего сообщение ошибки исчезает!