gia-guar / JARVIS-ChatGPT

A Conversational Assistant equipped with synthetic voices including J.A.R.V.I.S's. Powered by OpenAI and IBM Watson APIs and a Tacotron model for voice generation.
MIT License
384 stars 91 forks source link

Error #19

Open Matteokz4 opened 9 months ago

Matteokz4 commented 9 months ago

I just installed Jarvis via the "setup" file and put my API key in the .env file, but now that I try to start it via the "run" file I get this error: C:\Users\User\Desktop\JARVIS-main\JARVIS-main>call .\jarvis_venv\Scripts\activate The specified path could not be found.

C:\Users\User\Desktop\JARVIS-main\JARVIS-main>python openai_api_chatbot.py

LOADING CREDENTIALS

Traceback (most recent call last): File "C:\Users\User\Desktop\JARVIS-main\JARVIS-main\openai_api_chatbot.py", line 7, in if len(os.environ['OPENAI_API_KEY'])==0: File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64qbz5n2kfra8p0\lib\os.py", line 680, in getitem__ raise KeyError(key) from None KeyError: 'OPENAI_API_KEY'