Skip to content

Building openai into an exe with pyInstaller causes a certificate error (can't find file) #17

@frankcarey

Description

@frankcarey
Error Ranking: Unexpected error communicating with OpenAI. It looks like there's
probably a configuration issue locally.  If this problem persists, let
us know at support@openai.com.

(Network error: A OSError was raised with error message Could not find a suitable TLS CA certificate bundle, invalid path: [MASKED]\AppData\Local\Temp\_MEI122122\openai\data/ca-certificates.crt)

Is there a reason @gdb added this file in the first place to the repo? There's not commit history, so it's not clear on the context.

The file is added in to setup.py here

package_data={"openai": ["data/ca-certificates.crt"]},

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