#Requirements error
1 messages · Page 1 of 1 (latest)
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.
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.
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
what does python -m pip freeze show you?
Then there are no requirements installed in this venv.
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
all of them come up (huge output) but they all say "already satisfied"
Are you running the requirements install in the same activated venv?
using what command line?
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
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
They may be the same version, but probably one is inside the venv and one not.
(kometa-venv) PS C:\Users\admin\Kometa> python kometa.py -r
Config Error: config not found at C:\Users\admin\Kometa\config
all good
Does this work in powershell?
which python3
and
which python
Okay. In linux that would show you that one was outside the venv.
Yes, use the one that is defined in the venv.
Thanks for your patient help!