Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #56322
| References | <e8123e7b-4e94-41c9-9070-8a491538a14a@googlegroups.com> |
|---|---|
| Date | 2013-10-07 15:31 -0400 |
| Subject | Re: Newbie: installation difficulties [webapp2 / babel] |
| From | Joel Goldstick <joel.goldstick@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.812.1381174320.18130.python-list@python.org> (permalink) |
On Mon, Oct 7, 2013 at 3:12 PM, BobAalsma <overhaalsgang_24_bob@me.com> wrote:
> Hi,
>
> I'm following webapp2 documentation (release 2.1).
>
> I made a mistake in following the text.
> I typed "pip install babel" and this led to errors in the installation.
> As that user is not in sudo list, I changed users, typed "sudo pip install babel" and everything seemed right.
>
> Further on, the manual says "$ pybabel ...." and when I use that command, the response is "-bash: pybabel: command not found" (in both user environments).
>
> I'd like to solve this and learn at the same time ;)
>
> I'm on OS X 10.8.5, python 2.7.5.
>
> I found a "babel" in /Library/Python/2.7/site-packages.
> I found a "babel" in the response to "python -c "help('modules')" | grep babel".
> From which I conclude that babel is on the machine and is known to python.
>
> However, I gather from the webapp2 documentation that babel should also be known to the shell.
> I don't yet know how to check this, nor how to repair.
>
> find /usr -name '*babel*'
> and
> find /bin -name '*babel*'
> return no values, but
> find /Library -name '*babel*'
> does (as expected).
>
> I've tried to find similar situations in documentation, forums, Google but found nothing helpful.
> --
> https://mail.python.org/mailman/listinfo/python-list
If you can run $python babel then I think you need to set babel to be
executable to run it without invoking python first.
--
Joel Goldstick
http://joelgoldstick.com
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Newbie: installation difficulties [webapp2 / babel] BobAalsma <overhaalsgang_24_bob@me.com> - 2013-10-07 12:12 -0700
Re: Newbie: installation difficulties [webapp2 / babel] Joel Goldstick <joel.goldstick@gmail.com> - 2013-10-07 15:31 -0400
Re: Newbie: installation difficulties [webapp2 / babel] BobAalsma <overhaalsgang_24_bob@me.com> - 2013-10-07 13:00 -0700
Re: Newbie: installation difficulties [webapp2 / babel] Joel Goldstick <joel.goldstick@gmail.com> - 2013-10-07 16:18 -0400
Re: Newbie: installation difficulties [webapp2 / babel] Chris Angelico <rosuav@gmail.com> - 2013-10-08 08:30 +1100
csiph-web