Openai_secret_manager replit

Hello, can anyone help me with this error?
i am trying to import openai_secret_manager

ModuleNotFoundError: No module named ‘openai_secret_manager’

What language is this in? Also, most of the time, you have to install the package before you import it.

3 Likes

Use secrets for your OpenAI key. Looks like ChatGPT gave you code with some random private/non-existent module

3 Likes

If you’re using Python, you can use the pip install openai_secret_manager, command from a powershell, VSCode Terminal, or even Windows Terminal.

Is there really an openai_secret_manager package? I saw something similar posted in SO: python - No module named 'openai_secret_manager' - Stack Overflow

1 Like