Jan-31-2023, 05:26 PM
I am new in IT and I am a Linux Mint user.
I am facing an issue when I try to install libraries using pip.
If, in Terminal, I type:
pip3 install pytest
... then I get this below as output:
I use:
If, in terminal, I type:
ls -ls /usr/bin/python*
... here is the result:
ls /usr/local/lib/ | grep python
whereis python3
Can anyone please help me?
Regards,
Rodrigo.
Previously I have followed this 90 min tutorial, step-by-step: https://youtu.be/B8ImmR2GfYQ ... but no results, I am facing the same issue.
I am facing an issue when I try to install libraries using pip.
If, in Terminal, I type:
pip3 install pytest
... then I get this below as output:
Quote:WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pytest/
Could not fetch URL https://pypi.org/simple/pytest/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pytest/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement pytest (from versions: none)
ERROR: No matching distribution found for pytest
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
WARNING: There was an error checking the latest version of pip.
I use:
Quote:python 3.11.0 ( /home/rofarah/.pyenv/shims/python )
Linux Mint 21.1 (Vera)
pip 22.3 (/home/rofarah/.pyenv/shims/pip)
If, in terminal, I type:
ls -ls /usr/bin/python*
... here is the result:
Quote:0 lrwxrwxrwx 1 root root 10 Aug 18 07:39 /usr/bin/python3 -> python3.10
5784 -rwxr-xr-x 1 root root 5921160 Nov 14 13:10 /usr/bin/python3.10
0 lrwxrwxrwx 1 root root 34 Nov 14 13:10 /usr/bin/python3.10-config -> x86_64-linux-gnu-python3.10-config
0 lrwxrwxrwx 1 root root 17 Aug 18 07:39 /usr/bin/python3-config -> python3.10-config
4 -rwxr-xr-x 1 root root 977 Dec 24 2021 /usr/bin/python-dotenv
ls /usr/local/lib/ | grep python
Quote: libpython3.10.a
libpython3.7m.a
python3.10
python3.7
whereis python3
Quote: /usr/bin/python3
/usr/lib/python3
/etc/python3
/usr/share/python3
/home/rofarah/.pyenv/shims/python3
/usr/share/man/man1/python3.1.gz
Can anyone please help me?
Regards,
Rodrigo.
Previously I have followed this 90 min tutorial, step-by-step: https://youtu.be/B8ImmR2GfYQ ... but no results, I am facing the same issue.