You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to update virtual environments on my local machine for local development using poetry, but can't debug the following error when trying to run poetry lock / poetry install:
(probmodels-py3.10) (base) andrewmorris@Andrews-MacBook-Pro probmodels % poetry lock
Updating dependencies
Resolving dependencies... (0.3s)
HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /EntityRisk/erutils.git/info/refs?service=git-upload-pack (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)')))
Indeed the problem is specific to the github dependency, which in this case is erutils, specified in pyproject.toml as follows:
Wondering if others have faced this problem or if they've found a solution. So far the basic fixes I've tried:
Removing the github dependencies - this works, but the dependencies are needed.
Pointing to main for the github dependency - this doesn't work
clean install of poetry - this doesn't work
It seems like others have faced similar difficulties before, but the solutions discussed in these threads did not work for me either - likely owing to their having issues that (1) were slightly different and (2) being due to use of a VPN. (2) doesn't seem to be the issue in this case, since I get this error whether I'm on or off the VPN.
Any thoughts welcome and appreciated.
The text was updated successfully, but these errors were encountered:
I did manage to sort this out, at long last. The issue was Python's ssl certificates being out of date. Resolved via this handy point-and-click solution: python-poetry/poetry#745 (comment)
I'm trying to update virtual environments on my local machine for local development using
poetry
, but can't debug the following error when trying to runpoetry lock
/poetry install
:Indeed the problem is specific to the github dependency, which in this case is
erutils
, specified inpyproject.toml
as follows:Wondering if others have faced this problem or if they've found a solution. So far the basic fixes I've tried:
main
for the github dependency - this doesn't workpoetry
- this doesn't workIt seems like others have faced similar difficulties before, but the solutions discussed in these threads did not work for me either - likely owing to their having issues that (1) were slightly different and (2) being due to use of a VPN. (2) doesn't seem to be the issue in this case, since I get this error whether I'm on or off the VPN.
Any thoughts welcome and appreciated.
The text was updated successfully, but these errors were encountered: