On Sun, Jul 27, 2014 at 8:12 PM, Dhaval Patel pa...@gmail.com wrote:
Following instructions provided at :
I installed all the prerequisites one by one seperately and tried to install
While installing bench (centos 6.5) I get the following error:
Installing collected packages: bench
Running setup.py develop for bench
file bench.py (for module bench) not found
Creating /usr/lib/python2.7/site-packages/bench.egg-link (link to .)
Adding bench 0.1 to easy-install.pth file
Installing bench script to /usr/bin
Successfully installed bench
Since it still says bench successfully installed I went forward and run:
bench init frappe-bench
I get the following error:
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==0.1’, ‘console_scripts’, ‘bench’)()
File “build/bdist.linux-x86_64/egg/pkg_resources.py”, line 357, in
File “build/bdist.linux-x86_64/egg/pkg_resources.py”, line 2394, in
File “build/bdist.linux-x86_64/egg/pkg_resources.py”, line 2108, in load
ImportError: No module named bench.cli
I am not able to reproduce this error all time (little random). The
fix for it is
pip uninstall bench
pip install -e /home/frappe/bench-repo
Basically install it again, and it runs fine.
Was my bench installed succesfully? Do i need to run the “bench init
frappe-bench” command as root or frappe. I did as frappe.
Nope, nothing happened. You’ll have to init again and as frappe.
If you are posting an issue,
- 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.
- 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.
- Paste your code at http://pastebin.com or http://gist.github.com and send
only the URL via email
- 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-forum+un...@googlegroups.com.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.