ERROR: There was a problem while creating frappe-bench

Hello,
I am trying to install frappe framework manually, I am following bellow article:
https://frappeframework.com/docs/user/en/installation#install-bench

Everything goes well until I reach to bench init frappe-bench, when I am running this, I am getting the bellow error:

2 Likes

Hello i’m also getting the same issue

ERROR: There was a problem while creating frappe-bench

1 Like

I think there’s an issue with the env setup. Instead of rolling back the init operation, check to see if pip exists under the frappe-bench/env/bin path.

Have you got an answer to this question provided in this screenshot please share it with me, because I have checked if pip exist and I am facing the same error

you have to use the right user…

solved by adding :
sudo chown -R frappe .

before you init the frappe project

1 Like

this problem becuse its need to use virtualenv look to first line
you need to install
use >
$ pip3 install virtualenv

after that if dont work
do that > sudo apt -y update
sudo apt -y upgrade

1 Like

$ pip3 install virtualenv

$ sudo apt -y update
$sudo apt -y upgrade

5 Likes

Thanks, Dear

Try to create the different directory name.
bench init frapp-bench1

Have anyone a solution for this error?

Probé utilizando esas líneas de comandos y el problema siguió.
Lo que hice fue usar:
sudo apt install python3.10-venv
Y el problema se corrigió con éxito

Make sure you are using the required version of Python and pip. I was using Python 3.9.x and that’s what caused the error for me. Then I upgraded to Python 3.10 which was the requirement. Hope this helps.

My same error was resolved after running below command.

sudo apt install python3.10-venv

if someone is getting the same error then you can try this.

sudo apt install python3-venv
try this command

i added
sudo chown -R /home and it worked