Closed joeflack4 closed 1 year ago
I think best PR solution is to present the Error message and state
"Python must be correctly installed on MacOS; see https://bugs.python.org/msg388144 ".
Note: To compound the MacOS story, the Homebrew python package is missing "Install Certificates.command" command, but even when that packaging bug is fixed, https://bugs.python.org/msg388144 is still valid.
Interesting. I have Python installed on my computer and have had several versions of it installed for years. As I mentioned in the OP, I'm using 3.9 here downloaded from Python.org. But yeah, Python is no stranger to these kinds of cryptic issues in various environments.
This repo is archived. Equivalent functionality is now hosted at http://linkml/linkml-project-cookiecutter/. If we close an issue you still are waiting on, please feel free to reach out on the issue tracker and we will add it to the cookie-cutter. https://github.com/linkml/linkml/issues.
Description
During setup, after using
make
, the following error happens.Error
Short error message
Long error message
Solution
I found a solution that worked for me: https://stackoverflow.com/questions/44649449/brew-installation-of-python-3-6-1-ssl-certificate-verify-failed-certificate/44649450#44649450
The fix involves running the attached python file (when the
linkml-model-template
env is activated). fix.py.zipNote that the fix says "Python 3.6 installed via homebrew", but I am actually using Python 3.9 directly from python.org.
What to do next
I have not created a pull request for this, because I do not fully understand why this solution works, nor do I know for sure if it is safe. I imagine there is a simpler, better solution than this strange ad-hoc fix. @jiaola Maybe we can discuss a better fix for this issue?