pygobject not found #31

Closed
opened 2017-10-17 16:09:51 +02:00 by coderkun · 3 comments
coderkun commented 2017-10-17 16:09:51 +02:00 (Migrated from gitlab.com)

Created by: cinghiopinghio

I would love to try mcg but I encounter the following error at runtime:

Traceback (most recent call last):
  File "/usr/bin/mcg", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3142, in <module>
    @_call_aside
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3126, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3155, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 664, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 981, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 867, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pygobject' distribution was not found and is required by mcg

I installed from the AUR in archlinux.

Any hints?

*Created by: cinghiopinghio* I would love to try `mcg` but I encounter the following error at runtime: ``` Traceback (most recent call last): File "/usr/bin/mcg", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3142, in <module> @_call_aside File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3126, in _call_aside f(*args, **kwargs) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3155, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 664, in _build_master ws.require(__requires__) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 981, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 867, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'pygobject' distribution was not found and is required by mcg ``` I installed from the AUR in archlinux. Any hints?
coderkun commented 2017-10-17 18:07:57 +02:00 (Migrated from gitlab.com)

Created by: coderkun

Thanks for your report, @cinghiopinghio. It looks like an issue with the dependencies for python setuptools, uncommenting “pygobject” in the “install_requires” section in setup.py seems to fix it.

I will research on how to reference gobject correctly and let you know once it is fixed.

*Created by: coderkun* Thanks for your report, @cinghiopinghio. It looks like an issue with the dependencies for python setuptools, uncommenting “pygobject” in the “install_requires” section in setup.py seems to fix it. I will research on how to reference _gobject_ correctly and let you know once it is fixed.
coderkun commented 2017-10-22 10:51:05 +02:00 (Migrated from gitlab.com)

Created by: coderkun

Sorry for taking so long, @cinghiopinghio. I have removed “pygobject” as dependency since it is not a python dependency and pushed this fix as bugfix version 1.2.2. If you get the latest code, you should be able to start the application. Make sure you have “python-gobject” installed (the AUR package takes care of that).

If you don’t want to build the application yourself, feel free to use the binary packages from coderkun.de/arch.

*Created by: coderkun* Sorry for taking so long, @cinghiopinghio. I have removed “pygobject” as dependency since it is not a python dependency and pushed this fix as bugfix version 1.2.2. If you get the latest code, you should be able to start the application. Make sure you have “python-gobject” installed (the AUR package takes care of that). If you don’t want to build the application yourself, feel free to use the binary packages from [coderkun.de/arch](https://coderkun.de/arch).
coderkun commented 2017-10-23 16:24:36 +02:00 (Migrated from gitlab.com)

Created by: cinghiopinghio

I confirm that the build works now (except that the AUR package for arch linux have the wrong sha256).
I have a different issue now, I will open a new thread.

*Created by: cinghiopinghio* I confirm that the build works now (except that the AUR package for arch linux have the wrong sha256). I have a different issue now, I will open a new thread.
Sign in to join this conversation.
No description provided.