PrefectHQ / marvin

✨ Build AI interfaces that spark joy
https://askmarvin.ai
Apache License 2.0
5.34k stars 348 forks source link

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

Open kishankarun opened 5 months ago

kishankarun commented 5 months ago

First check

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