export OPENSSLDIR=/etc/ssl
export SSL_CERT_DIR=/etc/ssl/certs"
These have to be run before starting python in order to access data on websites. However their effect is not permanent.
Where should i place the lines?
OPENSSLDIR=/etc/ssl
SSL_CERT_DIR=/etc/ssl/certs"