-
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
Poetry fails to find Git on Windows 10 #7320
Poetry fails to find Git on Windows 10 #7320
Comments
Poetry shouldn't require a Git executable on Windows since we use Dulwich now. Can you please post the output of |
|
I would suggest you uninstall Poetry all together and reinstall it. My guess would be that something went wrong with |
@neersighted @Secrus I am hitting the same issue using a fresh install of poetry 1.4.0. I am on Windows using Powershell. I installed git and python using scoop. Running 'poetry new' I get the same stack trace as above. |
check #5420 It seems that if the |
-vvv
option) and have included the output below.Issue
Trying to create a new poetry project on windows 10 fails saying it hasn't found git.
I recently updated poetry from 1.1.13 to 1.3.1 by running
poetry self update
and copying~\AppData\Roaming\pypoetry\venv\Scripts\poetry.exe
to~\AppData\Roaming\Python\Scripts\poetry.exe
as suggested in #5377. That worked.Then trying to create a new project via
poetry new
, poetry complains that it hasn't found a valid git executable, when git is inPATH
, looking at the source code it trys to run%WINDIR%\\System32\\where.exe git
, running this command incmd
finds git successfully.Maybe poetry requires a newer version of git than 2.34 which I have, seeing that the latest is 2.39?
The text was updated successfully, but these errors were encountered: