Problems while creating new app using Development Guide

55 views
Skip to first unread message

Mohammed Fazalullah Qudrath

unread,
Aug 30, 2014, 5:46:27 AM8/30/14
to erpnext-dev...@googlegroups.com
Hi there.

I just started looking into Frappe/ERPNext and did the following to install it:
1. Created a vm for ubuntu
2. Downloaded and executed setup_frappe.sh from https://github.com/frappe/bench

When following the guide at https://frappe.io/developers/guide, in step 2 it mentions to create a new app using the command 'frappe'
On running it it gave me the error :
frappe: command not found

After some searching I found this post https://groups.google.com/forum/#!topic/erpnext-developer-forum/PlDQFt86GyI mentioning to access frappe from env/bin
On executing from that directory I was able to create the initial app directory.

Next step mentions to run setup
python setup.py develop

which I did and I got the following error:
Processing dependencies for library-management==0.0.1
Searching for frappe
Reading https://pypi.python.org/simple/frappe/
Couldn't find index page for 'frappe' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
No local packages or download links found for frappe
error: Could not find suitable distribution for Requirement.parse('frappe')

Was there a change in frappe because of which the steps to create a new app have changed? Is the guide I have linked to still usable or should I be following some new steps?
 

Y Y

unread,
Aug 31, 2014, 6:51:22 AM8/31/14
to erpnext-dev...@googlegroups.com
use bench frappe [command] under frappe-bench folder, my experience, just a suggestion.

在 2014年8月30日星期六UTC+8下午5时46分27秒,Mohammed Fazalullah Qudrath写道:

Rushabh Mehta

unread,
Sep 1, 2014, 12:43:38 AM9/1/14
to erpnext-dev...@googlegroups.com
I think you can now do "bench shell" and run frappe commands directly

@Pratik pls update README.md



@rushabh_mehta

-- 
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/0f884cc2-4a22-49bb-aa89-190526c2edad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mohammed Fazalullah Qudrath

unread,
Sep 1, 2014, 7:56:54 AM9/1/14
to erpnext-dev...@googlegroups.com
That worked. Thanks Rushabh.
I would suggest that the Development Guide be also updated.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages