2

I have installed python cookiecutter using conda:

conda config --add channels conda-forge
conda install coockiecutter

In anaconda prompt "cookiecutter --version" shows "1.6.0 from d:\users\username\appdata\local\continuum\anaconda3\lib\site-packages.

Upon running cookiecutter command in git bash and it gives an error "bash: cookiecutter: command not found".

I have already added the path where cookiecutter is installed in windows environment variable "path".
Could you please suggest me how to resolve this issue?

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Does this answer your question? [cookiecutter command not found after installing with pip](https://stackoverflow.com/questions/38172539/cookiecutter-command-not-found-after-installing-with-pip) – Kriti Pawar May 20 '20 at 09:58

2 Answers2

0

I have already added the path where cookiecutter is installed in windows environment variable "path"

Then make sure to open a new CMD session that will inherit your PATH.

Before typing "bash", check the command is accessible with:

where cookiecutter

Then type "bash" and go on with your installation process.

As the OP pratik shirbhate mentions in the comments:

there was a correction in the directory path and I could capture that with where command

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
0

Your spelling for cookiecutter is wrong. Please check that

Try:

sudo apt-get install cookiecutter

If you are using Mac. you can also do:

brew install cookiecutter

Using conda:

conda install -c conda-forge cookiecutter
Kriti Pawar
  • 832
  • 7
  • 15