All Questions
20 questions
1
vote
0
answers
420
views
The ssl module in Python is not available
i am trying to use bulldozer on a python application but when i run buildozer android debug i get the following error (i am on ubuntu-22.04.3 (virtual machine) and python 3.12):
running python3 -m ...
0
votes
0
answers
67
views
I can't get python to recognize OpenSSL and pip itself keeps saying that it requires SSL. What can I do?
I was trying to update python from 3.5 to 3.11 on a server running ubuntu 16. I really messed up.
The python3.11 instance was giving me:
pip is configured with locations that require TLS/SSL, however ...
5
votes
1
answer
23k
views
Problems with installing Python 3.11.1 using pyenv
I tried to install Python 3.11.1 using Pyenv and got this:
➜ ~ pyenv install 3.11.1
Downloading Python-3.11.1.tar.xz...
-> https://www.python.org/ftp/python/3.11.1/Python-3.11.1.tar.xz
Installing ...
1
vote
1
answer
932
views
Pyenv unable to install older versions of Python 3 due to `configure: error: C compiler cannot create executables`
I've been trying to use pyenv to install older versions of python3. I've tried 3.0.1, 3.1.0, 3.1.1, and 3.1.2. I kept getting the error
ImportError: No module named _ssl
ERROR: The Python ssl ...
1
vote
1
answer
204
views
Stuck with a MySQLdb SSL connection error in Python2.7
I have to maintain an old website built using Python2.7 that needs to continue working until we've finished creating a completely new version with more modern tools. Now this old website needs access ...
2
votes
1
answer
4k
views
Making my Flask website HTTPS stops me from being able to connect
I am trying to run a Flask website using HTTPS. The website worked perfectly using HTTP, but once I added a certificate I can no longer connect to it.
from flask import Flask
app = Flask(__name__)
@...
0
votes
1
answer
361
views
SSL failure on Ubuntu 11.10
Hey I got a couple of errors and I need help to fix them because I can't find a solution for that.
Why am I using an old af version of ubuntu?
Because I need to build android 4 and the easiest way to ...
0
votes
1
answer
146
views
manage.py runserver do nothing on VPS
When I run python3 manage.py runserver on Ubuntu 16.04 VPS machine it does nothing with my project but it runs that runs on my computer.
I try to run python3 -v manage.py runserver and have seen that ...
0
votes
0
answers
114
views
Problems when using a client to obtain server certificate in Python 3.6
I am trying to obtain the server certificate using the client. Below is just the relevant part of my code written in Python 3.6:
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((...
1
vote
1
answer
470
views
pip is showing error after downloading OPENSSL
pip command is showing error.
i downloaded libraries from https://github.com/rajpaul/igotoeurope/blob/master/requirements.txt then it started showing error in pip. i tried uninstalling the pip command ...
4
votes
1
answer
1k
views
pip3 can't install anything due to some reason about ssl
After upgrading my ubuntu server 16.04, I can't install modules with pip3 for my python3.6. This is what I get when I try to install tensorflow-gpu for python3:
root@amax:~# pip3 install tensorflow-...
12
votes
2
answers
3k
views
(Installing Python 3.6.1) SSLError: SSL: TLSV1_ALERT_UNKNOWN_CA tlsv1 alert unknown ca
I'm trying to install Python 3.6 from source on Ubuntu 16.10.
make test
when I make test, the installation raises an error saying..
==================================================================...
17
votes
9
answers
30k
views
Pip Error : 'module' object has no attribute 'Cryptography_HAS_SSL_ST'
I tried to install from pip and keep on getting similar type of errors.
$ pip install quandl
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in <module>
load_entry_point('...
3
votes
3
answers
3k
views
Error installing scrapy [duplicate]
I'm trying to install scrapy using the command sudo pip install scrapy, but I'm getting an error message which ends as follows:
build/temp.linux-x86_64-2.7/_openssl.c:429:30: fatal error: openssl/...
1
vote
0
answers
943
views
Python - Using FancyURLopener, ssl exception - violation of protocol
Please refer to the following code:
from six.moves.urllib.request import FancyURLopener
class ParanoidURLopener(FancyURLopener):
def http_error_default(self, url, fp, errcode, errmsg, headers):
...