When i’m running this command
nvm use v16
PYENV_VERSION=3.10.12 bench init --skip-redis-config-generation --frappe-branch version-14 frappe-bench
cd frappe-bench
Im getting this error
frappe@8fe45e81f881:/workspace/development$ nvm use v16
PYENV_VERSION=3.10.12 bench init --skip-redis-config-generation --frappe-branch version-14 frappe-bench
cd frappe-bench
Now using node v16.18.0 (npm v8.19.2)
Setting Up Environment
pyenv: version `3.10.12' is not installed (set by PYENV_VERSION environment variable)
ERROR: venv cannot be found
$ None env
Traceback (most recent call last):
File "/home/frappe/.bench/bench/commands/make.py", line 68, in init
init(
File "/home/frappe/.bench/bench/utils/render.py", line 105, in wrapper_fn
return fn(*args, **kwargs)
File "/home/frappe/.bench/bench/utils/system.py", line 65, in init
bench.setup.env(python=python)
File "/home/frappe/.bench/bench/utils/render.py", line 126, in wrapper_fn
return fn(*args, **kwargs)
File "/home/frappe/.bench/bench/bench.py", line 361, in env
self.run(f"{venv} env", cwd=self.bench.name)
File "/home/frappe/.bench/bench/bench.py", line 48, in run
return exec_cmd(cmd, cwd=cwd or self.cwd, _raise=_raise)
File "/home/frappe/.bench/bench/utils/__init__.py", line 154, in exec_cmd
return_code = subprocess.call(cmd, cwd=cwd, universal_newlines=True, env=env)
File "/home/frappe/.pyenv/versions/3.10.5/lib/python3.10/subprocess.py", line 345, in call
with Popen(*popenargs, **kwargs) as p:
File "/home/frappe/.pyenv/versions/3.10.5/lib/python3.10/subprocess.py", line 969, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/frappe/.pyenv/versions/3.10.5/lib/python3.10/subprocess.py", line 1845, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'None'
ERROR: There was a problem while creating frappe-bench
Do you want to rollback these changes? [y/N]: y
INFO: Rolling back Bench "frappe-bench"
bash: cd: frappe-bench: No such file or directory