Hi team,
I am getting this error while running erpnext installation - Install.py and its fresh installation and I used easy install method.
Traceback
Traceback (most recent call last):
File “/usr/lib/python3.5/runpy.py”, line 184, in _run_module_as_main
“main”, mod_spec)
File “/usr/lib/python3.5/runpy.py”, line 85, in _run_code
exec(code, run_globals)
File “/usr/local/lib/python3.5/dist-packages/pip/main.py”, line 21, in
from pip._internal.cli.main import main as _main
File “/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/main.py”, line 60
sys.stderr.write(f"ERROR: {exc}")
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File “install.py”, line 487, in
install_prerequisites()
File “install.py”, line 174, in install_prerequisites
‘python3’: “sudo -H python3 -m pip install --upgrade pip setuptools-rust”
File “install.py”, line 141, in run_os_command
returncode = subprocess.check_call(command, shell=True, stdout=log_stream, stderr=sys.stderr)
File “/usr/lib/python3.5/subprocess.py”, line 581, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘sudo -H python3 -m pip install --upgrade pip setuptools-rust’ returned non-zero exit status 1