Permission problem to launch my bot in my venv

March 7, 2025, 07:04

axrzz

Hello I recently took a Raspberry Pi 5 to put a Discord bot in python the problem is that I struggle to use it. for example when I put the bot on my user (not root) I create my venv, I install the modules in the requirements but as soon as I launch the bot it gives me a python error that I do not have the necessary permissions etc ... Nothing to do but even when I do sudo su I still can not access the root folder

axrzz

I also don't have the possibility to delete etc... Certain files at the root

axrzz

Im on Raspberry pi OS lite

axrzz

fixed