RasaGPT icon indicating copy to clipboard operation
RasaGPT copied to clipboard

when i try to install in linux machine i got this error

Open resulraveendran opened this issue 2 years ago • 9 comments

ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/opt/venv/lib/python3.10/site-packages/dotenv' Check the permissions.

resulraveendran avatar May 11 '23 10:05 resulraveendran

I had the same problem, I set manually the id:gid of my user (id) on docker-compose.yaml on each container :

 user: 1000:1000

image

Use sudo chown -R uid:gid . to become owner of all actual folder and do a make install again.

Also, modify the rasa/actions/Dockerfile :

USER root

RUN pip install python-dotenv rasa-sdk requests

USER 1001

image

BenjaminB64 avatar May 11 '23 19:05 BenjaminB64

Perhaps, you can ignore the package in the DockFile, and then enter the docker to install

ACXuLiu avatar May 12 '23 07:05 ACXuLiu

@resulraveendran did the uid:gid suggestion resolve your issue?

i will be working on instructions for linux vs macos and potentially add arch/os support in the Makefiles instead of just focusing on macos. please lmk

paulpierre avatar May 12 '23 12:05 paulpierre

image @paulpierre got this error chmod: changing permissions of '/app/wait-for-it.sh': Operation not permitted

er-jaydeep-gohel avatar May 14 '23 14:05 er-jaydeep-gohel

Hi @paulpierre, I got the same error when installing in Ubuntu. Could you please check it?

vumichien avatar May 17 '23 15:05 vumichien

sudo docker-compose up --build 得不得行

onlyliucat avatar Jun 26 '23 05:06 onlyliucat

I had the same problem, I set manually the id:gid of my user (id) on docker-compose.yaml on each container :

 user: 1000:1000

image

Use sudo chown -R uid:gid . to become owner of all actual folder and do a make install again.

Also, modify the rasa/actions/Dockerfile :

USER root

RUN pip install python-dotenv rasa-sdk requests

USER 1001

image

this work!

onlyliucat avatar Jun 26 '23 06:06 onlyliucat

Screenshot from 2024-01-11 23-15-35 Above steps solved the initial errors but got stuck in this error please help

patelharsh21 avatar Jan 11 '24 17:01 patelharsh21

image @paulpierre got this error chmod: changing permissions of '/app/wait-for-it.sh': Operation not permitted

same error = =!,Did you solve it?

ychy00001 avatar Jul 25 '24 09:07 ychy00001