-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No module named '_hashlib' affecting poetry >= 1.4.0 #7695
Comments
hashlib is part of the python standard library, I can only guess that there is something funky about your python installation. It is unlikely that there is anything the poetry project can do to resolve this. |
@dspangen I have the same issue on macOS (Apple M2). I installed python 3.9.16 using You might need to figure out your openssl path and install python again following this guide https://github.com/pyenv/pyenv/wiki/Common-build-problems#1-openssl-is-installed-to-an-uncommon-location Since you mentioned that you are using poetry 1.4.1, you might hit this issue microsoft/debugpy#1246 after the _hashlib issue. P.S. 1
P.S. 2 |
Not a Poetry issue |
You are saying tis not poetry but i just tried upgrading poetry, it broke with the same error, so i tried downgrading and get the same error
try removing poetry completely , same error:
|
Just ran into this too, the fix was to uninstall python and reinstall with configure opts e.g.
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
poetry install
-vvv
option) and have included the output below.Issue
We started seeing this with 1.4.0. Fairly inscrutable module import error after install:
The text was updated successfully, but these errors were encountered: