Open Swarzox opened 7 months ago
I had the same issue caused by the openai update. From 1.0.0 version embeddings_utils was removed. Import in one of the files was causing error above.
Try: pip uninstall openai pip install openai==0.28.1
hi @belonel ! Thank you for sharing this pip install openai==0.28.1
hint. It worked for me too. But I had to reinstall topicgpt too:
pip uninstall topicgpt
pip uninstall openai
pip install openai==0.28.1
pip install topicgpt
Hi there,
I'm trying to use the TopicGPT library in my Python project, but I'm encountering a ModuleNotFoundError when running my code. Here's the relevant part of the error traceback:
Traceback (most recent call last): File "/path/to/project/main.py", line 9, in
from topicgpt.TopicGPT import TopicGPT
File "/path/to/project/env/lib/python3.12/site-packages/topicgpt/TopicGPT.py", line 14, in
from Clustering import Clustering_and_DimRed
ModuleNotFoundError: No module named 'Clustering'
I'm using Python 3.12 on macOS.