#Requirements error

1 messages · Page 1 of 1 (latest)

hexed halo
#

Hello,

Not using docker or any ARRs, but I'm getting a message after completing requirements "Requirements Error: Requirements are not installed (No module named 'arrapi')"

Is this a path issue? If so, I need dummy instructions for how to put my requirements on path.

Thanks!

hollow ginkgoBOT
#

Welcome @hexed halo!

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.

hazy trench
#

If you went through the setup walkthrough in the wiki, it has you create a virtual environment in which the requirements are installed. If you have done this, then the most likely issue is that you are now running the script without having activated that venv.

hexed halo
#

I am in the virtual environment and have run the activation

#

(kometa-venv) PS C:\Users\admin\Kometa> python kometa.py -r

#

that's my current command line

hazy trench
#

what does python -m pip freeze show you?

hexed halo
#

blank line

#

no error, just CR

hazy trench
#

Then there are no requirements installed in this venv.

hexed halo
#

?? that's odd

#

When I run the requirements command, it says they're all met

hazy trench
#

It should display something like:

> python -m pip freeze
arrapi==1.4.13
certifi==2024.8.30
charset-normalizer==3.3.2
docopt==0.6.2
gitdb==4.0.11
GitPython==3.1.43
idna==3.10
lxml==5.2.2
num2words==0.5.13
pathvalidate==3.2.0
pillow==10.3.0
PlexAPI==4.15.13
psutil==5.9.8
python-dateutil==2.9.0.post0
python-dotenv==1.0.1
requests==2.32.3
retrying==1.3.4
ruamel.yaml==0.18.6
ruamel.yaml.clib==0.2.8
schedule==1.2.2
setuptools==70.0.0
six==1.16.0
smmap==5.0.1
tenacity==9.0.0
tmdbapis==1.2.16
urllib3==2.2.3
hexed halo
#

all of them come up (huge output) but they all say "already satisfied"

hazy trench
#

Are you running the requirements install in the same activated venv?

hexed halo
#

Yep - just ran again, and it says "already satisfied"

#

I can paste if you'd like

hazy trench
#

using what command line?

hexed halo
hazy trench
#

Note the difference:

(kometa-venv) PS C:\Users\admin\Kometa> python3 -m pip install -r requirements.txt

vs

(kometa-venv) PS C:\Users\admin\Kometa> python kometa.py -r
                                        ^^^^^^
#

Try installing the requirements with python, not python3

hexed halo
#

interesting

#

when I did the --version for both Python and Python3, they were the exact same

#

I thought they were the same thing because of that output

#

or that Powershell was aliasing for me

hazy trench
#

They may be the same version, but probably one is inside the venv and one not.

hexed halo
#

(kometa-venv) PS C:\Users\admin\Kometa> python kometa.py -r
Config Error: config not found at C:\Users\admin\Kometa\config

#

all good

hazy trench
#

Does this work in powershell?

which python3

and

which python
hexed halo
#

thank you!

#

both errd

#

Which is not recognized

hazy trench
#

Okay. In linux that would show you that one was outside the venv.

hexed halo
#

show I should just stick to one or the other

#

I will choose "python" and stick to it

hazy trench
#

Yes, use the one that is defined in the venv.

hexed halo
#

Thanks for your patient help!