I am new to Frappe and ERPNext
Trying to get started via docker. I followed the instruction here to the letter.
On the terminal inside the container created, I run the the following:
bench init --skip-redis-config-generation --frappe-branch version-12 frappe-bench
and the following was the output
WARN: Command not being executed in bench directory
$ /home/frappe/.local/bin/virtualenv -q env -p python3
Already using interpreter /usr/bin/python3
Traceback (most recent call last):
File "/home/frappe/.local/bin/virtualenv", line 10, in <module>
sys.exit(main())
File "/home/frappe/.local/lib/python3.7/site-packages/virtualenv.py", line 831, in main
symlink=options.symlink,
File "/home/frappe/.local/lib/python3.7/site-packages/virtualenv.py", line 1123, in create_environment
install_wheel(to_install, py_executable, search_dirs, download=download)
File "/home/frappe/.local/lib/python3.7/site-packages/virtualenv.py", line 973, in install_wheel
_install_wheel_with_search_dir(download, project_names, py_executable, search_dirs)
File "/home/frappe/.local/lib/python3.7/site-packages/virtualenv.py", line 1060, in _install_wheel_with_search_dir
call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=script)
File "/home/frappe/.local/lib/python3.7/site-packages/virtualenv.py", line 924, in call_subprocess
raise OSError("Command {} failed with error code {}".format(cmd_desc, proc.returncode))
OSError: Command /workspace/developme...ench/env/bin/python3 - setuptools pip wheel failed with error code 1
INFO:bench.app:Getting app frappe
$ git clone https://github.com/frappe/frappe.git --branch version-12 --depth 1 --origin upstream
Cloning into 'frappe'...
remote: Enumerating objects: 2611, done.
remote: Counting objects: 100% (2611/2611), done.
remote: Compressing objects: 100% (2416/2416), done.
remote: Total 2611 (delta 352), reused 995 (delta 145), pack-reused 0
Receiving objects: 100% (2611/2611), 12.39 MiB | 1.74 MiB/s, done.
Resolving deltas: 100% (352/352), done.
Checking out files: 100% (2512/2512), done.
INFO:bench.app:installing frappe
$ frappe-bench/env/bin/pip install -q -U -e frappe-bench/apps/frappe
[Errno 2] No such file or directory: 'frappe-bench/env/bin/pip': 'frappe-bench/env/bin/pip'
ERROR: There was a problem while creating frappe-bench
Do you want to rollback these changes? [Y/n]:
I have also tried running it as root. However bench command was not found for root.
Kindly assist.