homebrew-virt-manager
homebrew-virt-manager copied to clipboard
Error installing virt-manager
Hi, when I try to install virt-manager, this error occurs:
==> python3 -c import setuptools... --no-user-cfg install --prefix=/private/tmp/virt-manager--homebrew-virtualenv-20200304-452-izouvx/target --install-scripts=/private/tmp/virt-manager--homebrew-virtual ==> python3 -s /private/tmp/virt-manager--homebrew-virtualenv-20200304-452-izouvx/target/bin/virtualenv -p python3 /usr/local/Cellar/virt-manager/2.2.1_3/libexec Error: An exception occurred within a child process: NameError: undefined local variable or method `python' for #Language::Python::Virtualenv::Virtualenv:0x00007ff56ca86088 Did you mean? @python
Command Line Tools are 11.4 beta 3 XCode 11.3.1 MacOS 10.15.3
Do you have an idea what I could do to make virt-manager install?
Best regards
Thomas
@q5616417 check to make sure your virtual environment is not activated when installing virt-manager.
➜ ~ brew install virt-manager virt-viewer
Updating Homebrew...
==> Installing virt-manager from jeffreywildman/virt-manager
==> Downloading https://virt-manager.org/download/sources/virt-manager/virt-manager-2.2.1.tar.gz
Already downloaded: /Users/songhongcheng/Library/Caches/Homebrew/downloads/77e22463a35b2e2bde8d02253c10129aabb1e5dfbfe2e6f33ef87bd35955dcf2--virt-manager-2.2.1.tar.gz
==> Patching
patching file virt-manager
Hunk #1 succeeded at 170 (offset 19 lines).
==> Downloading https://files.pythonhosted.org/packages/11/74/2c151a13ef41ab9fb43b3c4ff9e788e0496ed7923b2078d42cab30622bdf/virtualenv-16.7.4.tar.gz
Already downloaded: /Users/songhongcheng/Library/Caches/Homebrew/downloads/507d2087bf24df82641b681a5fe4da778ef50ebe819a86ea1b584f70788f0f63--virtualenv-16.7.4.tar.gz
==> python3 -c import setuptools... --no-user-cfg install --prefix=/private/tmp/virt-manager--homebrew-virtualenv-20200319-39259-a8oe5x/target --install-scripts=/private/t
==> python3 -s /private/tmp/virt-manager--homebrew-virtualenv-20200319-39259-a8oe5x/target/bin/virtualenv -p python3 /usr/local/Cellar/virt-manager/2.2.1_3/libexec
Last 15 lines from /Users/songhongcheng/Library/Logs/Homebrew/virt-manager/02.python3:
Traceback (most recent call last):
File "/private/tmp/virt-manager--homebrew-virtualenv-20200319-39259-a8oe5x/target/lib/python3.7/site-packages/virtualenv.py", line 2632, in
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/jeffreywildman/homebrew-virt-manager/issues