I have a problem using antlr4. I installed it using brew install antlr
and pip install antlr4-python3-runtime
.
Now when I want to use it with antlr4 -Dlanguage=Python3 PSLGrammar.g4
.
But this results in those 3 errors:
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)>
FileNotFoundError: [Errno 2] No such file or directory: '/Users/lucas/.m2/repository/org/antlr/antlr4'
I already tried the fix with executing Install Certificates.command inside my Python application folder.
Any other ideas?