Opened 9 years ago

Closed 9 years ago

#5078 closed defect (fixed)

Debian Jessie: ImportError: No module named babel.messages.frontend

Reported by: Jim Campbell Owned by:
Priority: blocker Milestone: 0.8.0
Component: programming Keywords: Babel
Cc: Parent Tickets:


Encountered an issue with pybabel when trying to do the ./ step. python-babel is installed in the proper directory (not necessarily as
part of the site packages

mediagoblin@jessie:/srv/$ ./bin/pip install Babel
Requirement already satisfied (use --upgrade to upgrade): Babel in ./lib/python2.7/site-packages/Babel-1.3-py2.7.egg

Here's the error output

mediagoblin@jessie:/srv/$ ./ && ./configure && make
autoreconf: Entering directory `.'
autoreconf: not using Gettext
autoreconf: running: aclocal --force
autoreconf: tracing
autoreconf: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: not using Autoheader
autoreconf: not using Automake
autoreconf: Leaving directory `.'
checking for python2.7... python2.7
checking for virtualenv... virtualenv
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mediagoblin/
Traceback (most recent call last):

File "./bin/pybabel", line 9, in <module>

load_entry_point('', 'console_scripts', 'pybabel')()

File "/usr/lib/python2.7/dist-packages/", line 356, in load_entry_point

return get_distribution(dist).load_entry_point(group, name)

File "/usr/lib/python2.7/dist-packages/", line 2476, in load_entry_point

return ep.load()

File "/usr/lib/python2.7/dist-packages/", line 2190, in load


ImportError: No module named babel.messages.frontend
Makefile:118: recipe for target 'i18n' failed
make: * [i18n] Error 1

Change History (2)

comment:1 by Christopher Allan Webber, 9 years ago

I see... there was a very, very strange line in where "pybabel" was one of the console scripts entry points. I've removed this in c704d18.

Jim, I think this fixes it; could you do a git pull then try "make distclean && ./ && ./configure && make" again? Reopen this bug if still broken.

comment:2 by Christopher Allan Webber, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.