Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

BS4 installing issues #630

Open
jdmtv001 opened this issue Jan 25, 2024 · 1 comment
Open

BS4 installing issues #630

jdmtv001 opened this issue Jan 25, 2024 · 1 comment

Comments

@jdmtv001
Copy link

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

@P4TCH
Copy link

P4TCH commented Feb 20, 2024

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants