update error "Babel"

29 views
Skip to first unread message

talluri chandu

unread,
Jul 24, 2014, 3:15:03 PM7/24/14
to erpnext-dev...@googlegroups.com
please help me

updated last night it is givn error
i  followed by Anand Doshi
If you are about to update ERPNext, there is a new python requirement called "babel". You will need to activate your python virtualenv and run:
pip install babel

activate and instaled babel
still i am getting same error

:~/frappe-bench$ ./scripts/update.sh
Already up-to-date.
updating apps/erpnext
From https://github.com/frappe/erpnext
 * branch            HEAD       -> FETCH_HEAD
Current branch master is up to date.
/home/chandu/eipl/frappe-bench
updating apps/frappe
From https://github.com/frappe/frappe
 * branch            HEAD       -> FETCH_HEAD
Current branch master is up to date.
/home/chandu/eipl/frappe-bench
updating apps/shopping_cart
From https://github.com/frappe/shopping-cart
 * branch            HEAD       -> FETCH_HEAD
Current branch master is up to date.
/home/chandu/eipl/frappe-bench
Traceback (most recent call last):
  File "/home/chandu/eipl/frappe-bench/env/bin/frappe", line 9, in <module>
    load_entry_point('frappe==4.0.1', 'console_scripts', 'frappe')()
  File "/home/chandu/eipl/frappe-bench/env/local/lib/python2.7/site-packages/pkg
_resources.py", line 353, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/home/chandu/eipl/frappe-bench/env/local/lib/python2.7/site-packages/pkg
_resources.py", line 2302, in load_entry_point
    return ep.load()
  File "/home/chandu/eipl/frappe-bench/env/local/lib/python2.7/site-packages/pkg
_resources.py", line 2029, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/home/chandu/eipl/frappe-bench/apps/frappe/frappe/cli.py", line 10, in <
module>
    from frappe.utils import cint
  File "/home/chandu/eipl/frappe-bench/apps/frappe/frappe/utils/__init__.py", li
ne 9, in <module>
    import babel.dates
ImportError: No module named babel.dates
chandu@myerp:~/eipl/frappe-bench$

Pratik Vyas

unread,
Jul 25, 2014, 1:39:48 AM7/25/14
to erpnext-dev...@googlegroups.com
> --
> Note:
>
> If you are posting an issue,
>
> 1. ERPNext is a free and open source software and support is given on this
> forum by a team (https://frappe.io/webnotes). So please consider donating if
> you find this forum useful (https://frappe.io/buy). Even a small amount
> would be helpful.
> 2. We should be able to replicate it at our end. So please give us as much
> information as you can. Please see it from the point of view of the person
> receiving the communication.
> 3. Paste your code at http://pastebin.com or http://gist.github.com and send
> only the URL via email
> 4. For sending images, use http://imgur.com or other similar services. Do
> not send images as attachments. Links are good. Same goes for any file you
> are going to send.
>
> End of Note
> ---
> You received this message because you are subscribed to the Google Groups
> "ERPNext Developer Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to erpnext-developer...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/erpnext-developer-forum/80f068ff-e66f-4c87-b3ae-2977851bafd2%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

You might have installed babel in the global path. Run `./env/bin/pip
install babel`


Thanks,
--
Pratik
erpnext
Reply all
Reply to author
Forward
0 new messages