jeffreywildman / homebrew-virt-manager

A set of homebrew formulae to install virt-manager and virt-viewer on MAC OSX
1k stars 266 forks source link

Install Error #125

Closed Clevelus closed 4 years ago

Clevelus commented 5 years ago

brew install virt-manager virt-viewer ... `######################################################################## 100.0% ==> Pouring vte3-0.56.0.mojave.bottle.tar.gz 🍺 /usr/local/Cellar/vte3/0.56.0: 150 files, 4.3MB ==> Installing jeffreywildman/virt-manager/virt-manager ==> Downloading https://virt-manager.org/download/sources/virt-manager/virt-manager-2.1.0.tar.gz ==> Downloading from https://releases.pagure.org/virt-manager/virt-manager-2.1.0.tar.gz ######################################################################## 100.0% ==> Patching patching file virt-manager ==> Downloading https://files.pythonhosted.org/packages/37/db/89d6b043b22052109da35416abc3c397655e4bd3cff031446ba02b9654fa/virtualenv-16.4.3.tar.gz ######################################################################## 100.0% ==> python3 -c import setuptools... --no-user-cfg install --prefix=/private/tmp/virt-manager--homebrew-virtualenv-20190322-37447-1gvw6el/target --install-scripts=/private/tmp/virt-manager--homebrew-virtualenv-20190322-37447-1gvw6el/target Last 15 lines from /Users/clevelus/Library/Logs/Homebrew/virt-manager/01.python3: -c import setuptools, tokenize file = 'setup.py' exec(compile(getattr(tokenize, 'open', open)(file).read() .replace('\r\n', '\n'), file, 'exec')) --no-user-cfg install --prefix=/private/tmp/virt-manager--homebrew-virtualenv-20190322-37447-1gvw6el/target --install-scripts=/private/tmp/virt-manager--homebrew-virtualenv-20190322-37447-1gvw6el/target/bin --single-version-externally-managed --record=installed.txt

Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'setuptools'

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/jeffreywildman/homebrew-virt-manager/issues

These open issues may also help: osx virt-manager console screen is black https://github.com/jeffreywildman/homebrew-virt-manager/issues/113 virt-manager crashing with Python quit unexpectedly while using the libgdk-3.0.dylib https://github.com/jeffreywildman/homebrew-virt-manager/issues/62`

firemen20 commented 5 years ago

can't install virt-manage : Last 15 lines from /Users/frank/Library/Logs/Homebrew/virt-manager/01.python3: -c import setuptools, tokenize file = 'setup.py' exec(compile(getattr(tokenize, 'open', open)(file).read() .replace('\r\n', '\n'), file, 'exec')) --no-user-cfg install --prefix=/private/tmp/virt-manager--homebrew-virtualenv-20190407-46497-1jfklvg/target --install-scripts=/private/tmp/virt-manager--homebrew-virtualenv-20190407-46497-1jfklvg/target/bin --single-version-externally-managed --record=installed.txt

Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'setuptools'

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/jeffreywildman/homebrew-virt-manager/issues

These open issues may also help: osx virt-manager console screen is black https://github.com/jeffreywildman/homebrew-virt-manager/issues/113 virt-manager crashing with Python quit unexpectedly while using the libgdk-3.0.dylib https://github.com/jeffreywildman/homebrew-virt-manager/issues/62

jeffreywildman commented 5 years ago

I think homebrew migrated from python2 to python3 around this time. Confirming that python3 is installed correctly via homebrew may help.

asergeant01 commented 5 years ago

I have the same error and confirmed python3 is installed via homebrew.

asergeant01 commented 5 years ago

I got it installed by running brew postinstall python3

jeffreywildman commented 4 years ago

@asergeant01 thanks for the update, glad it's running.