-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
ModuleNotFoundError: No module named 'poetry' #4218
Comments
The current workaround would be to install |
this is another one where, on the master branch, I can't reproduce the error in question. Can you please test against master and confirm this is still a problem? |
As an update-- I am able to reproduce this against the prerelease, but not against master -- I believe this is because pep517 builders will generally produce wheels which means pipenv should generally not need to install the builder itself to parse metadata. Since I can reproduce this and confirm that it is fixed, I will close this for now -- please reopen it if you find it is not fixed on master Thanks for reporting this issue and for the reminder that it merits a look! |
I created a virtual environment. Then I needed to install Apache Airflow. But the program stopped and reported an error (ModuleNotFoundError: No module named 'poetry'). |
This doesn't work for me on the latest version of Ubuntu, I get this error: |
Issue description
When installing a dependency that's built using poetry (e.g. flake8-annotations) using Pipenv 2020.4.1b1,
pipenv install
orpipenv update
fail with the errorModuleNotFoundError: No module named 'poetry'
.Steps to replicate
Assume an environment with Python 3.8 and Pipenv 2020.4.1b1.
Create a
Pipfile
with the following content:Run
pipenv install
. The resolver will fail with the above mentioned error message.(Whether poetry is installed or not does not change this.)
Output of pipenv install --verbose
Output of pipenv --support
Pipenv version:
'2020.4.1b1'
Pipenv location:
'c:\\users\\chris\\appdata\\local\\programs\\python\\python38\\lib\\site-packages\\pipenv'
Python location:
'c:\\users\\chris\\appdata\\local\\programs\\python\\python38\\python.exe'
Python installations found:
The text was updated successfully, but these errors were encountered: