Closed AstroSong closed 3 years ago
I have solved the problem. First, I update the astroquery; then I install openssl and re-compile python3.7. Now it's ok.
Hello @AstroSong can you tell me how you solved the problem?
Hello @AstroSong can you tell me how you solved the problem?
Hi, it is mainly due to the installation problem of SSL. So I first install openssl and re-compile python3.7.
Thank you @AstroSong I found this solution, insert this code at the beginning of my source file:
import ssl
try:
_create_unverified_https_context = ssl._create_unverified_context
except AttributeError:
# Legacy Python that doesn't verify HTTPS certificates by default
pass
else:
# Handle target environment that doesn't support HTTPS verification
ssl._create_default_https_context = _create_unverified_https_context
Hi @jvines, I have a connection problem when I run the astroARIADNE code:
Is it due to my internet connection? Thanks for your help.
Cheers, Song