Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: No module named gi #23

Closed
barnumbirr opened this issue Sep 7, 2015 · 2 comments
Closed

ImportError: No module named gi #23

barnumbirr opened this issue Sep 7, 2015 · 2 comments

Comments

@barnumbirr
Copy link

  File "/usr/local/Cellar/virt-manager/1.2.1/libexec/share/virt-manager/virt-manager", line 29, in <module>
    import gi
ImportError: No module named gi

while trying:

function vm { virt-manager -c qemu+ssh://root@"$1"/system?socket=/var/run/libvirt/libvirt-sock; }

Using the lastest versions.

Cheers.

@barnumbirr
Copy link
Author

Fixed by running:

brew reinstall pygobject pygobject3

Cheers.

@jeffreywildman
Copy link
Owner

Hi, thanks for the report and fix.

Perhaps pygobject3 was previously installed using a non-brewed Python before virt-manager was installed? Under this scenario, pygobject3 would be installed and technically satisfy the dependency of virt-manager, but it would not be in the site-packages of the brewed Python.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants