Bench installing erpnext on virtualenvwrapper fails

Hi, I’m trying to install erpnext via frappe, on Linux Mint Rafaela (Ubuntu 14.04)

On a virtualenv created with virtualenvwrapper, it throws me this error:

`Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-rCdCR8/frappe/

Traceback (most recent call last):

File “/home/kristian/.virtualenvs/erpnext/bin/bench”, line 9, in

load_entry_point('bench', 'console_scripts', 'bench')()

File “/home/kristian/erpnext/bench-repo/bench/cli.py”, line 40, in cli

bench_command()

File “/home/kristian/.virtualenvs/erpnext/local/lib/python2.7/site-packages/click/core.py”, line 716, in call

return self.main(args, *kwargs)

File “/home/kristian/.virtualenvs/erpnext/local/lib/python2.7/site-packages/click/core.py”, line 696, in main

rv = self.invoke(ctx)

File “/home/kristian/.virtualenvs/erpnext/local/lib/python2.7/site-packages/click/core.py”, line 1060, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))

File “/home/kristian/.virtualenvs/erpnext/local/lib/python2.7/site-packages/click/core.py”, line 889, in invoke

return ctx.invoke(self.callback, *ctx.params)

File “/home/kristian/.virtualenvs/erpnext/local/lib/python2.7/site-packages/click/core.py”, line 534, in invoke

return callback(args, **kwargs)

File “/home/kristian/erpnext/bench-repo/bench/commands/make.py”, line 30, in get_app

get_app(git_url, branch=branch)

File “/home/kristian/erpnext/bench-repo/bench/app.py”, line 73, in get_app

install_app(app=app_name, bench_path=bench_path, verbose=verbose)

File “/home/kristian/erpnext/bench-repo/bench/app.py”, line 103, in install_app

find_links=find_links))

File “/home/kristian/erpnext/bench-repo/bench/utils.py”, line 127, in exec_cmd

raise CommandFailedError(cmd)

bench.utils.CommandFailedError: ./env/bin/pip install -q -e ./apps/erpnext`

After this command:

bench get-app erpnext https://github.com/frappe/erpnext

Any ideas on this?

Thanks in advance!

./env/bin/pip install -q -e ./apps/erpnext

Run this and share the trace.