Python setup.py egg_info" failed with error code 1

is your repo is a private repo, if yes what is the version of the frappe

how to know the version

at what date you have clone the repo and why do need to clone it its already on the frappe repo

@Parag_Kapoor my bench version is

4.1.0

i have created a project based on thsi repo whic means i have bench-repo frappe erpnext and my-app

where created at same time and i was using it and now i want this same instance on another vps so i am trying install same copy of that instance to new vps so there will be no version conflict

then you have to follow

Can you try,
cd ~/frappe-bench
rm -rf env
bench setup env
./env/bin/pip install -U setuptools
./env/bin/pip install -e apps/frappe

2 Likes