#Trying to install Kometa, latest Ubuntu version

1 messages · Page 1 of 1 (latest)

uncut stirrup
#

Hello, I'm trying to install Kometa through the guide provided (see: https://kometa.wiki/en/latest/kometa/install/local/#installing-requirements) and I've arrived at installing requirements but I can't get past one stage as it throws up an error

ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/home/user/Kometa/kometa-venv/lib/python3.12/site-packages/docopt.py'
Check the permissions.

I've tried running the environment as a sudo, but I'm new to linux and don't really know what to do next.

solid sigilBOT
#

Welcome @uncut stirrup!

Someone from <@&938443185347244033> will assist when they're available.

Including meta.log from the beginning is a huge help. Type !logs for more information.

After attaching your log, do not forget to hit the green check boxes when prompted by our bot.

#

You can press the "Close Post" button above or type /close at any time to close this post.

north lark
#

This is an os permissions error outside Kometa. I've never seen this before.

north lark
#

Also, you should be doing this in a virtual environment, which should avoid this issue in the first place. never mind I see that you are

humble lantern
#

@uncut stirrup uparrow

north lark
#

If you created the venv with sudo, then are attempting to install requirements without sudo, that's the issue.

#

None of this requires sudo, nor should you use sudo for it.

#

What does:

ls -al /home/user/Kometa/

show?

[of course changing user as required]

uncut stirrup
#

I tried the requirements command just before the ls step and it said it couldn't find the requirements file

north lark
#

Note that the venv folder is owned by root. This is incorrect and is the cause of your initial error.
What's the specific requirements command you ran in this directory?

uncut stirrup
north lark
#

I don't know why that would tell you the requirements file doesn't exist, since it clearly does, unless this isn't actually the command you ran.

fleet sapphire
north lark
#

This should get you set up:

cd /home/thomas/Kometa
sudo chown -R thomas:thomas kometa-venv
kometa-venv/bin/activate
python -m pip install -r requirements.txt
uncut stirrup
#

Sorry Mr Carrot, had to help out family for a few days so I was away from my computer. I'll try your solution when I'm home in a couple of hours

whole arrow
#

@uncut stirrup any update?

uncut stirrup
#

Still haven’t had a chance 😅 I’ll do it in eight hours, setting an alarm when I get home so I don’t do other chores before it

uncut stirrup
whole arrow
#

Did you correct the permissions above by using the commands that carrot pointed out

north lark
#

Oh, wait, that line should be:

source kometa-venv/bin/activate
#

I haven't manually activated a venv in a long time and I forgot that activate isn't an executable script.

north lark
#

@uncut stirrup uparrow

old vigilBOT
#

antwanchild used !aenh

@uncut stirrup, anything else needed here? If not, please type /close and hit enter. Please respond within 24 hours of this message or it will be archived.