Traceback (most recent call last):
File "c:/SoftwareDevelopment/NLP/SentimentClassification/hehe.py", line 9, in <module>
pipe = StableDiffusionPipeline.from_pretrained(
File "C:\SoftwareDevelopment\NLP\SentimentClassification\env\lib\site-packages\diffusers\pipeline_utils.py", line 365, in from_pretrained
class_candidates = {c: getattr(library, c) for c in importable_classes.keys()}
File "C:\SoftwareDevelopment\NLP\SentimentClassification\env\lib\site-packages\diffusers\pipeline_utils.py", line 365, in <dictcomp>
class_candidates = {c: getattr(library, c) for c in importable_classes.keys()}
File "C:\SoftwareDevelopment\NLP\SentimentClassification\env\lib\site-packages\transformers\file_utils.py", line 2143, in __getattr__
raise AttributeError(f"module {self.__name__} has no attribute {name}")
AttributeError: module transformers has no attribute FeatureExtractionMixin
Trying to run the sample code as seen on huggingface:
Getting error: