Open gnorcie opened 4 years ago
Please post the output of:
ls -l $(which python3)
Try running Install Certificates again. Do you see output from the command? I've seen the command do nothing when not using the default shell in Terminal.
If you just installed Python 3 from python.org, can I ask why you chose version 3.7.3 and not a more recent version of 3.7? (3.8 will not work at the moment)
Maybe that's the issue - to be honest I was in a rush when downloading and installing from the site:
$ ls -l $(which python3)
lrwxr-xr-x 1 root admin 9 Nov 18 20:53 /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 -> python3.8
So this may be a user error problem? I could DL 3.7 then rerun the certs command if that may fix...
You downloaded 3.8 from python.org but the log you posted above says 3.7.3, so you apparently have multiple versions installed. You should try to find and remove the old version so it doesn't cause problems in the future.
See my post here on how to remove a python.org package from macOS.
If you still have Brew installed then brew install python3
should be all you need once you've cleaned out any other Python 3 packages.
Thanks, I appreciate the help. I think you're correct about the root cause, but my system is especially borked, so it'll take some time to get all the old python purged.
I've had the same issue as well on my mac. Not sure about the versions thing though as I'm using python 3.7.3. Also I found a similar issue with Ansible regarding the certificate verification on python. I tried another install using python 3.6.5 and got the same output. https://github.com/ansible/ansible/issues/14089
@adhamnm Please post the output from the following commands:
ls -l $(which python3)
grep -c CERT /Library/Frameworks/Python.framework/Versions/3.7/etc/openssl/cert.pem
I get "No such file or directory" I was initially trying to deploy on DigitalOcean when I got the error above. However, after I tried on GCloud it worked without issues. Thank you guys for the amazing library.
I get "No such file or directory"
For both commands?
Did you get your Python 3.7 from python.org and run the "Install Certificates" command?
No for the first command i get:
-rwxrwxr-x 1
btw I also tried python 3.5.2 after trying 3.7.3 and 3.6.5 with DigitalOcean and got the same response for the 3 of them. For some reason urlopen was not able to verify the certificate from DO
@gnorcie So apparently after announcing they would not be including new versions of Python in Catalina, Apple now includes Python 3.7.3 as part of the Xcode Command Line Tools. Like git
, a stub version of python3
is installed in /usr/bin
and will prompt you to install the tools the first time you run it. I'm not running Catalina yet so I totally missed this.
Does this sound like what you see on your system? I wonder if Apple's version is incapable of verifying certificates. I'm afraid I can't test this yet.
Describe the bug
Despite installing python3 and running the install certificates command per the documentation (downloaded python3 per docs + ran the install certs command + commands for prereqs)
To Reproduce
Attempt to install algo on macos 10.15.1
Expected behavior
Algo installs without error
Additional context
I've previously installed algo w/ zero issues on this machine.
I am not using macports or brew, I attempted to run brew install curl-ca-bundle but no package was found.
(I do not have macports on this machine and have had issues in the past when I mix brew and macports on same machine, but open to installing it and trying it if that may fix issue, but hoping to get to the root cause since it's my understanding running the python cert install should have solved the issue)
Thanks for the help!
Full log