stable-diffusion icon indicating copy to clipboard operation
stable-diffusion copied to clipboard

Failure creating conda env on Windows (Getting "Error [WinError 2]")

Open AS4TheWin opened this issue 3 years ago • 0 comments

Hi there. This is what I get when I try creating a conda environment using the Anaconda Prompt:

Pip subprocess output:
Obtaining taming-transformers from git+https://github.com/CompVis/taming-transformers.git@master#egg=taming-transformers (from -r C:\Stable Diffusion\stable-diffusion-main\stable-diffusion-main\condaenv.m6l6gowu.requirements.txt (line 17))
  Cloning https://github.com/CompVis/taming-transformers.git (to revision master) to c:\stable diffusion\stable-diffusion-main\stable-diffusion-main\src\taming-transformers

Pip subprocess error:
  ERROR: Error [WinError 2] The system cannot find the file specified while executing command git clone -q https://github.com/CompVis/taming-transformers.git 'C:\Stable Diffusion\stable-diffusion-main\stable-diffusion-main\src\taming-transformers'
ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?

failed

CondaEnvException: Pip failed

Sorry I am a bit of a noob! Can someone help me understand what I can do or where to go from here? Thank you so much!

AS4TheWin avatar Sep 24 '22 15:09 AS4TheWin