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 gobject #836

Closed
zopyx opened this issue Aug 24, 2014 · 4 comments · Fixed by #846
Closed

ImportError: No module named gobject #836

zopyx opened this issue Aug 24, 2014 · 4 comments · Fixed by #846
Assignees
Labels
C-enhancement Category: A PR with an enhancement or an issue with an enhancement proposal

Comments

@zopyx
Copy link

zopyx commented Aug 24, 2014

I have no idea why Mopidy can't install dependencies itself. It is truly annoying and unprofessional if you can not such a featured module out-of-the-box without further hassles. The error happens on Mac and Linux.

suxmac:mopidy ajung$ bin/mopidy 
Traceback (most recent call last):
  File "bin/mopidy", line 9, in <module>
    load_entry_point('Mopidy==0.19.3', 'console_scripts', 'mopidy')()
  File "/private/tmp/mopidy/lib/python2.7/site-packages/pkg_resources.py", line 378, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/private/tmp/mopidy/lib/python2.7/site-packages/pkg_resources.py", line 2566, in load_entry_point
    return ep.load()
  File "/private/tmp/mopidy/lib/python2.7/site-packages/pkg_resources.py", line 2260, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/private/tmp/mopidy/lib/python2.7/site-packages/mopidy/__main__.py", line 8, in <module>
    import gobject
ImportError: No module named gobject
@kingosticks
Copy link
Member

I can appreciate you may be frustrated but insulting people and then asking
for their help doesn't usually work very well.
On 24 Aug 2014 07:30, "Andreas Jung" notifications@github.com wrote:

I have no idea why Mopidy can't install dependencies itself. It is truly
annoying and unprofessional if you can not such a featured module
out-of-the-box without further hassles. The error happens on Mac and Linux.

suxmac:mopidy ajung$ bin/mopidy
Traceback (most recent call last):
File "bin/mopidy", line 9, in
load_entry_point('Mopidy==0.19.3', 'console_scripts', 'mopidy')()
File "/private/tmp/mopidy/lib/python2.7/site-packages/pkg_resources.py",
line 378, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/private/tmp/mopidy/lib/python2.7/site-packages/pkg_resources.py",
line 2566, in load_entry_point
return ep.load()
File "/private/tmp/mopidy/lib/python2.7/site-packages/pkg_resources.py",
line 2260, in load
entry = import(self.module_name, globals(),globals(), ['name'])
File "/private/tmp/mopidy/lib/python2.7/site-packages/mopidy/main.py",
line 8, in
import gobject
ImportError: No module named gobject


Reply to this email directly or view it on GitHub
#836.

@zopyx
Copy link
Author

zopyx commented Aug 24, 2014

LOL - did you ever try to install your software the official way in the Python world using 'pip'? This is an obvious fail. Don't complain about complains when the most basic installation steps don't work.

@adamcik
Copy link
Member

adamcik commented Aug 24, 2014

Hi, thanks for following up on the complaint on twitter. Just yelling into the void isn't all that great for getting things fixed.

As for the problem you've run in to are hands are kinda tied. Yes we could add https://pypi.python.org/pypi/PyGObject/ but the rest of our non python dependencies, most notably the python binding for GStreamer are not on pypi. This is why http://docs.mopidy.com/en/latest/installation/#installation (which I hope you've looked at) covers how to install these missing pieces on a number of systems.

We might be able to do some install time checks to warn people trying to go the pip route about missing non-python deps, but not sure how / if that would work yet. If you have any other constructive suggestions on how this can be improved please let us know.

jodal added a commit to jodal/mopidy that referenced this issue Sep 8, 2014
@jodal jodal added this to the v0.20 - Audio cleanup milestone Sep 8, 2014
@jodal jodal self-assigned this Sep 8, 2014
@jodal jodal added the C-enhancement Category: A PR with an enhancement or an issue with an enhancement proposal label Sep 8, 2014
@bobf
Copy link

bobf commented Dec 10, 2015

"truly annoying and unprofessional" = insulting open source software developers you've never met. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: A PR with an enhancement or an issue with an enhancement proposal
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants