Answer the question
In order to leave comments, you need to log in
Why is pip3 not working SSL certificate error?
On CentOS on firstVDS, I try to install Wagtail (Django), installed Python 3.6.0, and when I try to install something with pip3 install, it swears at the SSL certificate.
# pip3 install wagtail gunicorn
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting wagtail
Could not fetch URL https://pypi.python.org/simple/wagtail/: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping
Answer the question
In order to leave comments, you need to log in
In general, for others, before installing Python on SentOS, you need to install the openssl library (openssl-devel). I rebuilt the installed version 3.5.3 by installing the above-mentioned library in advance and "lo and behold" pip3.5 stopped swearing. The same happened with version 3.6.0
however the ssl module in Python is not available - you are explicitly told that the ssl support module for python is not installed.
And since when did some pip become the installer in centos? Yum has always been ... Well, or rpm directly, if something is not ale - for example, you need to demolish the package, and it pulls half the system's dependencies ...
Do you want to translate the message? So without knowledge of English sufficient for translation, you will write to the toaster ... They write to you in English in white - the location requires SSL, but the ssl support module is not installed.
found a problem =) I read the task inattentively and it turns out that we just need all the words with a length of 4 characters
function friend (friends){
return friends.filter(x => x.length == 4);
}
you expect an array in a function, and pass a set of strings there.
The array looks like this:friend(['Ryan', 'Kieran', 'Mark']);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question