plex_debrid icon indicating copy to clipboard operation
plex_debrid copied to clipboard

BS4 installing issues

Open safe-canvas opened this issue 1 year ago • 1 comments

I am installing this on a NAS (Synology) I got the pip install requirements and I am getting the error below.

~# pip install -r ./plex_debrid/requirements.txt Collecting bs4==0.0.1 (from -r ./plex_debrid/requirements.txt (line 1)) Using cached bs4-0.0.1.tar.gz (1.1 kB) Preparing metadata (setup.py) ... done WARNING: Requested bs4==0.0.1 from https://files.pythonhosted.org/packages/10/ed/7e8b97591f6f456174139ec089c769f89a94a1a4025fe967691de971f314/bs4-0.0.1.tar.gz (from -r ./plex_debrid/requirements.txt (line 1)), but installing version 63.4.2 Discarding https://files.pythonhosted.org/packages/10/ed/7e8b97591f6f456174139ec089c769f89a94a1a4025fe967691de971f314/bs4-0.0.1.tar.gz (from https://pypi.org/simple/bs4/): Requested bs4==0.0.1 from https://files.pythonhosted.org/packages/10/ed/7e8b97591f6f456174139ec089c769f89a94a1a4025fe967691de971f314/bs4-0.0.1.tar.gz (from -r ./plex_debrid/requirements.txt (line 1)) has inconsistent version: expected '0.0.1', but metadata has '63.4.2' ERROR: Could not find a version that satisfies the requirement bs4==0.0.1 (from versions: 0.0.0, 0.0.1, 0.0.2) ERROR: No matching distribution found for bs4==0.0.1

This is what is installed on the system now:

Requirement already satisfied: bs4 in /usr/lib/python3.8/site-packages (0.0.2) Requirement already satisfied: beautifulsoup4 in /usr/lib/python3.8/site-packages (from bs4) (4.12.3) Requirement already satisfied: soupsieve>1.2 in /usr/lib/python3.8/site-packages (from beautifulsoup4->bs4) (2.5)

Pythin V 3.10. I tried with v 3.9 and 3.8 and I am getting the same results.

Thank you

safe-canvas avatar Jan 25 '24 20:01 safe-canvas

Try pip3 instead. Just in case anybody using qnap looks and is trying to use python3 and pip3 and getting errors but it is installed, try: . /etc/profile.d/python3.bash There is a single space between . & /, it's important not a mistake.

P4TCH avatar Feb 20 '24 20:02 P4TCH