error while installing ERPNext 4

289 views
Skip to first unread message

sa...@ctrlr.in

unread,
Sep 17, 2014, 8:36:50 AM9/17/14
to erpnext-dev...@googlegroups.com
hi support,

pls find the error while installing the ERPNext 4.

[admin@testsvr frappe-benc]$ bench get-app erpnext https://github.com/frappe/erpnext
Initialized empty Git repository in /home/admin/frappe-benc/apps/erpnext/.git/
remote: Counting objects: 118091, done.
remote: Compressing objects: 100% (116/116), done.
remote: Total 118091 (delta 48), reused 4 (delta 2)
Receiving objects: 100% (118091/118091), 37.95 MiB | 741 KiB/s, done.
Resolving deltas: 100% (84338/84338), done.
Obtaining file:///home/admin/frappe-benc/apps/erpnext
  Running setup.py (path:/home/admin/frappe-benc/apps/erpnext/setup.py) egg_info for package from file:///home/admin/frappe-benc/apps/erpnext
   
    warning: no files found matching '*.json'
    warning: no previously-included files matching '*.pyc' found under directory '*'
Downloading/unpacking frappe (from erpnext==4.4.0)
  Downloading frappe-2.0.2.tar.gz (1.3MB): 1.3MB downloaded
  Running setup.py (path:/home/admin/frappe-benc/env/build/frappe/setup.py) egg_info for package frappe
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/home/admin/frappe-benc/env/build/frappe/setup.py", line 10, in <module>
        raise LookupError("You must have test.fm >= 1.0.4 installed before (https://github.com/grafos-ml/frappe)")
    LookupError: You must have test.fm >= 1.0.4 installed before (https://github.com/grafos-ml/frappe)
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/home/admin/frappe-benc/env/build/frappe/setup.py", line 10, in <module>

    raise LookupError("You must have test.fm >= 1.0.4 installed before (https://github.com/grafos-ml/frappe)")

LookupError: You must have test.fm >= 1.0.4 installed before (https://github.com/grafos-ml/frappe)

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /home/admin/frappe-benc/env/build/frappe
Storing debug log for failure in /home/admin/.pip/pip.log
Error: None
Traceback (most recent call last):
  File "/usr/local/bin/bench", line 9, in <module>
    load_entry_point('bench==0.1', 'console_scripts', 'bench')()
  File "/home/admin/bench-repo/bench/cli.py", line 29, in cli
    return bench()
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 610, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 590, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 936, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 782, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 416, in invoke
    return callback(*args, **kwargs)
  File "/home/admin/bench-repo/bench/cli.py", line 77, in get_app
    _get_app(name, git_url, branch=branch)
  File "/home/admin/bench-repo/bench/app.py", line 34, in get_app
    install_app(app, bench=bench)
  File "/home/admin/bench-repo/bench/app.py", line 52, in install_app
    find_links=find_links))
  File "/home/admin/bench-repo/bench/utils.py", line 59, in exec_cmd
    subprocess.check_call(cmd, cwd=cwd, shell=True)
  File "/usr/local/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command './env/bin/pip install  -e ./apps/erpnext' returned non-zero exit status 1





Luis Fernandes

unread,
Sep 17, 2014, 8:43:30 AM9/17/14
to erpnext-dev...@googlegroups.com
I. I have the same problem. Try this. 

bench shell.

Then do the installation.
Reply all
Reply to author
Forward
0 new messages