-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install failed with python 3.7 on MacOS (SSLCertVerificationError) #25
Comments
This isn't really a problem with parasail-python but a problem with your Python install on OSX. |
Thanks. I have managed to install parasail on my Mac by adding the following code to the setup.py file:
|
So I understand you performed a work-around of not verifying SSL certs instead of fixing your python install by running something like |
FWIW, I ran into this issue with an old Python 2.7.9 that has outdated SSL certs. The workaround was to disable SSL verification while installing parasail: WARNING: disabling SSL verification is considered unsafe $ pip install numpy
$ PYTHONHTTPSVERIFY=0 pip install parasail Comment: By installing 'numpy' first, you can restrict |
Also encountered this issue with a locally-compiled python 3.8.0 on Linux (on a computing cluster running centos). I don't have this problem when trying to install other packages. Based on suggestions found on the internet, I tried the following before re-trying to install parasail:
This didn't solve the problem. Using Edit (24/11/2019)Actually, I have the same issue with the python 3.7.2 installed by the system administrators of the cluster (in the form of environment modules). No problem with python 3.6.0. I could localize the certificates for python 3.6 based on this stackoverflow answer:
I then used this one to fix it for python 3.8:
This worked for me. |
I am trying to install parasail on my computer but it does not seem to work. I am using python 3.7 on Mac OS.
with the following command:
I get the following message
running install
parasail/libparasail.dylib not found, attempting to build
Downloading latest parasail master
URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)'))
Will retry in 10 seconds
URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)'))
Will retry in 10 seconds
URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)'))
Will retry in 10 seconds
...
I'm also getting an error message when trying to install parasail via pip:
Collecting parasail
Using cached https://files.pythonhosted.org/packages/64/e5/b7b0ab11296923be15dbdbcfb4dd79dc427b5b52a7de9716aa64548afdf7/parasail-1.1.12.tar.gz
Requirement already satisfied: numpy in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from parasail) (1.14.5)
Building wheels for collected packages: parasail
Running setup.py bdist_wheel for parasail ... error
Complete output from command /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c "import setuptools, tokenize;file='/private/var/folders/qz/mh9673t94kd7t06bzj7p322h34gb9n/T/pip-install-ch1b64sh/parasail/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /private/var/folders/qz/mh9673t94kd7t06bzj7p322h34gb9n/T/pip-wheel-k3i38vrh --python-tag cp37:
running bdist_wheel
parasail/libparasail.dylib not found, attempting to build
Downloading latest parasail master
URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)'))
Will retry in 10 seconds
URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)'))
Will retry in 10 seconds
URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)'))
...
thanks !
The text was updated successfully, but these errors were encountered: