diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

ImportError: LDMTextToImagePipeline requires the transformers library but it was not found in your environment.

Open skuma307 opened this issue 3 years ago • 1 comments

Hi, Thanks for a fantastic model but when I am installing it on Colab, It throws the below error.

ImportError: LDMTextToImagePipeline requires the transformers library but it was not found in your environment. You can install it with pip.

I have installed it via !pip install diffusers transformers and I am able to import both the libraries successfully.

Can anyone help me fix the issue?

skuma307 avatar Jul 26 '22 11:07 skuma307

Hi @skuma307! Could you try hitting "Restart runtime" in the colab, and re-running !pip install diffusers transformers before any imports?

anton-l avatar Jul 26 '22 11:07 anton-l