ljmerza / ha-email-sensor

Email Sensor for collecting tracking numbers from over 40 providers.
MIT License
90 stars 24 forks source link

Unable to install package butifulSoup4 error in HA log. #30

Closed GoState closed 2 years ago

GoState commented 3 years ago

I also ran the pip commands to install the dependancies as mentioned in the readme.

this is the output from that: pip install beautifulsoup4==4.7.1 imapclient==2.1.0 mail-parser==3.9.3 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: beautifulsoup4==4.7.1 in /usr/local/lib/python2.7/dist-packages (4.7.1) Requirement already satisfied: imapclient==2.1.0 in /usr/local/lib/python2.7/dist-packages (2.1.0) Requirement already satisfied: mail-parser==3.9.3 in /usr/local/lib/python2.7/dist-packages (3.9.3) Requirement already satisfied: soupsieve>=1.2 in /usr/local/lib/python2.7/dist-packages (from beautifulsoup4==4.7.1) (1.9.6) Collecting six Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting ipaddress Downloading ipaddress-1.0.23-py2.py3-none-any.whl (18 kB) Requirement already satisfied: simplejson in /usr/local/lib/python2.7/dist-packages (from mail-parser==3.9.3) (3.17.2) Requirement already satisfied: backports.functools-lru-cache; python_version < "3" in /usr/local/lib/python2.7/dist-packages (from soupsieve>=1.2->beautifulsoup4==4.7.1) (1.6.4) Installing collected packages: six, ipaddress Successfully installed ipaddress-1.0.23 six-1.16.0

I also ran the pip command mentioned in the error log posted below (its output:) python3 -m pip install --upgrade pip Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: pip in /home/chris/.local/lib/python3.7/site-packages (21.1.1)

Version of the custom_component

2.15.0

Configuration

( I do have the secret file updated just used the default secret names )

Add your logs here.



## Describe the bug
A clear and concise description of what the bug is.
Logger: homeassistant.util.package
Source: util/package.py:96
First occurred: 2:40:39 PM (1 occurrences)
Last logged: 2:40:39 PM

Unable to install package beautifulsoup4==4.7.1: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1125)'))': /simple/beautifulsoup4/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1125)'))': /simple/beautifulsoup4/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1125)'))': /simple/beautifulsoup4/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1125)'))': /simple/beautifulsoup4/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1125)'))': /simple/beautifulsoup4/ ERROR: Could not find a version that satisfies the requirement beautifulsoup4==4.7.1 (from versions: 4.9.0, 4.9.1, 4.9.2, 4.9.3) ERROR: No matching distribution found for beautifulsoup4==4.7.1 WARNING: You are using pip version 20.2.4; however, version 20.3 is available. You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command.

## Debug log

Same as above debug was already on.  
GoState commented 3 years ago

When doing a config check I also get this: Platform error sensor.email - Requirements for email not found: ['beautifulsoup4==4.7.1'