Skip to content

I get an "SSL certificate verify failed" error while using the nbdev_new  #1303

@danielazamorah

Description

@danielazamorah

Hello! Probably a very silly issue. But I get the following error while using nbdev_new on a new repository:

File "/Users/admin/mambaforge/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: self-signed certificate in certificate chain

I tracked the error back to the code of the nbdev_new procedure in the nbdev package. Apparently, there's an error when opening a URL.

The exact line that is not working (helper function used in nbdev_new): https://github.com/fastai/nbdev/blob/cf5e6a52b1393466a3b75c5ec69e2db9ebf77e47/nbdev/cli.py#L56

I found pages like this one on the web: https://www.howtouselinux.com/post/ssl-certificate_verify_failed-in-python, but would really appreciate it if someone can help me find the best way to solve this issue. I'm eager to start using nbdev.🚀

PS: We can later add a callout to the docs if this is something that happens to others.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions