Skip to content

Support for windows - marvin version command throws certificate error #943

@kishankarun

Description

@kishankarun

First check

  • I added a descriptive title to this issue.
  • I used the GitHub search to try to find a similar issue and didn't find one.
  • I searched the Marvin documentation for this issue.

Bug summary

marvin version or marvin --version gives certificate error.

Is there a dependency on having openapi key for checking marvin version?

Reproduction

In windows 11, after installing marvin using `pip install marvin`, 

trying out `marvin version` or `marvin --version` gives the below error

......
\.pyenv\pyenv-win\versions\3.11.6\Lib\site-packages\requests\adapters.py", line 517, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='openaipublic.blob.core.windows.net', port=443): Max retries exceeded with url: /encodings/o200k_base.tiktoken (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1006)')))

Error

No response

Versions

marvin==2.3.5

(trying out `marvin version` or `marvin --version` gives the error)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions