Closed indicozy closed 2 years ago
You have to give root to python3 setup.py install
. The reason for this is because it is moving the file into /usr/bin/ which requries root. You can simply fix this by typing sudo python3 setup.py install
.
The python packages get installed in the default directory /usr/lib/python3.10/site-packages/
so it won't mess up your system.
If you want to install this without giving root access you can also do:
pip install -r requirements.txt
python3 spongebob-cli
Keep in mind you have to be in the directory of spongebob-cli in order for this to work. The only reason why you need root is so you can run it anywhere in the terminal by just typing spongebob-cli
Hi there! Love your work, man, but I cannot install it properly. Your code asks to install packages to the root files and I don't want to mess up my system. Should I create venv or maybe you should consider using another solution for automatic installation of packages?
Code