Ubuntu Server 14. Error 'pip install package' - python

List item
WARNING: pip is configured with locations that require TLS/SSL,
however the ssl module in Python is not available
An error occurs on Ubuntu Server 14, when trying to install some kind of framework, I tried to reinstall Python, I tried absolutely everything. Help!
Python 3.10.10
OpenSSL - last version

Related

Receiving Error: 'apxs' command appears not to be installed

This is the error I am receiving:
RuntimeError: The 'apxs' command appears not to be installed or is not executable. Please check the list of prerequisites in the documentation for this package and install any missing Apache httpd server packages.
How can I get around this? I have received this while trying to install different packages. I am working on a Django project. I have already made sure the apache2-dev package is installed. I am developing on linux.

PIP fails all package installs Could not fetch url Read timeout

Any package install with pip I do keeps failing with Could not fetch url error, I'm able to access https://pypi.org/simple/prefect/ directly and ping pypi.org.
I'm on ubuntu 20.04.4 on windows 10, I'm not on any proxy or vpn, PIP v20.0.2 and Python 3.8.10, I tried 3.9 and 3.10 and still the same issue.
OpenSSL 1.1.1f and method 1.2
Scoured a lot of posts on stackoverflow but still unable to resolve my issue.

Python: WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available

Windows 7, python 3.8.5 64bit, I'm trying to run a venv, it works great on my windows 7 desktop but I just cant get the SSL working on my laptop. I went through literally every post about this on this site and I'm still befuddled.
"WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available."
that is what happens when I pip install talib or openssl. Then it tells me to upgrade my PIP, so I enter the command and the prompt changes to >>, and I can't get back to the normal prompt without restarting VSCode. I tried youtube tutorials as well as this site and google and I am stumped, any suggestions?
Try installing pyopenssl. pip install pyopenssl. It should fix your issues.
It is required to have OpenSSL to install pyopenssl. Download from here: https://www.openssl.org/source/
Go to Control Panel's Programs > Programs and Features, look for Python, click then select "Change" then choose to Modify to add or remove individual features. Check all the boxes then click next to proceed to Advanced Options, from then, check the 2, 3 and 4 boxes then install.

Python: Showing unmet dependencies error and broken packages error despite not having any such packages

We were trying to run a shell script for installing prerequistes(install_prerequistes_onnx.sh) for OpenVINO Model Optimizer but we got the following error:
The Error
We tried resolving it using python 3.6.7 in a virtual environment(tsc). But it was of no use. Also we do not have any broken packages(we checked for them explicitly) but it still shows "unable to correct problems, you have held broken packages".
Can anyone explain the last three lines of the error? Also what does "error in line 78" imply, since our notebook was running fine before incorporating OpenVINO.
PS: We are using Ubuntu 18.04.
Please ensure that you’ve installed external software dependencies.
You may refer to this link for the installation:
https://docs.openvinotoolkit.org/2021.3/openvino_docs_install_guides_installing_openvino_linux.html#install-external-dependencies
For your virtual environment, the broken packages error that you’re facing is due to the Python’s dependency package version is not available on your system.
Try with this command: sudo apt update && sudo apt upgrade
If the issue still persists, you may need to re-install Python.

Pip can't detect latest python version

I just installed Python 3.8.0 on my raspberry pi OS, I have already configure it, such that Python 3.8.0 is the default version, however whenever I pip install anything it can't detect python 3.8, it's still stuck with my previous python version. When I type in pip3.8 install, this WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. happen

Categories

Resources