Error while trying to use make install on m1 chip

  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 1341, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/modernartist/Desktop/ashish/plone/greennation/backend/bin/mxdev", line 8, in <module>
    sys.exit(main())
  File "/Users/modernartist/Desktop/ashish/plone/greennation/backend/lib/python3.10/site-packages/mxdev.py", line 432, in main
    read(state)
  File "/Users/modernartist/Desktop/ashish/plone/greennation/backend/lib/python3.10/site-packages/mxdev.py", line 313, in read
    state.requirements, state.constraints = resolve_dependencies(
  File "/Users/modernartist/Desktop/ashish/plone/greennation/backend/lib/python3.10/site-packages/mxdev.py", line 264, in resolve_dependencies
    process_io(
  File "/Users/modernartist/Desktop/ashish/plone/greennation/backend/lib/python3.10/site-packages/mxdev.py", line 237, in process_io
    new_requirements, new_constraints = process_line(
  File "/Users/modernartist/Desktop/ashish/plone/greennation/backend/lib/python3.10/site-packages/mxdev.py", line 196, in process_line
    return resolve_dependencies(
  File "/Users/modernartist/Desktop/ashish/plone/greennation/backend/lib/python3.10/site-packages/mxdev.py", line 264, in resolve_dependencies
    process_io(
  File "/Users/modernartist/Desktop/ashish/plone/greennation/backend/lib/python3.10/site-packages/mxdev.py", line 237, in process_io
    new_requirements, new_constraints = process_line(
  File "/Users/modernartist/Desktop/ashish/plone/greennation/backend/lib/python3.10/site-packages/mxdev.py", line 196, in process_line
    return resolve_dependencies(
  File "/Users/modernartist/Desktop/ashish/plone/greennation/backend/lib/python3.10/site-packages/mxdev.py", line 278, in resolve_dependencies
    with request.urlopen(file_or_url) as fio:
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 519, in open
    response = self._open(req, data)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 536, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1391, in https_open
    return self.do_open(http.client.HTTPSConnection, req,
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1351, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>
make[2]: *** [build-dev] Error 1
make[1]: *** [install-backend] Error 2
make: *** [install] Error 2

I have configured plone before but this is some weird error that I am getting. Anyone who can help me to figure out what is missing or am I doing something wrong ?

Something with the cert of the URL fetched is wrong...

Give this a try.

1 Like

@flipmcf that worked thanks

1 Like