gitchangelog icon indicating copy to clipboard operation
gitchangelog copied to clipboard

[WinError 2] The system cannot find the file specified

Open jotaf98 opened this issue 5 years ago • 3 comments

Fresh install in a Miniconda environment, on Windows 10.

Running gitchangelog in the command line, in a git repository, gives the error in the title; no other information or stack trace.

The same result happens when running python -m gitchangelog.gitchangelog (to ensure it wasn't the bootstrapper executable), and whether there is a default .gitchangelog.rc in the same directory or not.

jotaf98 avatar Apr 11 '19 16:04 jotaf98

Many thanks for your report.

May I ask you:

  • how you installed gitchangelog ?
  • the versions of the different involved parts (pip, setuptools...) ?
  • What is your python version ?
  • Are you using the last version of gitchangelog ?

vaab avatar Apr 11 '19 18:04 vaab

Can you look if you are in the conditions needed to trigger this bug https://bugs.python.org/issue17023 ?

vaab avatar Apr 11 '19 18:04 vaab

Ensure that git command is available from your CLI. For me this error disappeared after I had added git to PATH env variable.

melnikvitaly avatar Jun 12 '19 11:06 melnikvitaly