Unable to install ERPNext

I have installed erpnext13 many times ago. When I am trying to install it again this week I always get errors
Please tell us about any issues
help m

Hi,

It may help to say the operating environment, instructions you are following , and commands that led to the errors.

ubuntu 20.04
wget https://raw.githubusercontent.com/frappe/bench/develop/install.py

find site1.local , repalce with my site in file install.py

sudo python3 install.py --verbose --production --frappe-branch version-13 --erpnext-branch version-13
–user erpnext

I have used this steps many times, but know IT IS NOT correct . Please help

sudo pip3 uninstall setuptools
sudo pip3 install setuptools==59.6.0
sudo pip3 install -e /home/erp/.bench/
1 Like

I will try , Thank you

The last command sudo pip3 install -e /home/erp/.bench/ exited with an error.

The Error message:

chiefklar@server1:/opt/bench$ sudo pip3 install -e /home/erp/.bench/
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
ERROR: /home/erp/.bench/ is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, bzr+https, bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, git+ssh, git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, svn+ssh, svn+http, svn+https, svn+svn, svn+file).

OS: Ubuntu 20.04

replace erp in the command with chiefklar which I believe is your username or frappe if you did not specify user with the --user tag when you ran python3 install.py --production.

2 Likes

Thanks.

It solved my problem.