Closed doctore2015 closed 1 year ago
Hello @doctore2015. Please check this comment, let me know if that helps.
Duplicate of #2
this is my root
and this where goes wrong
i make a copy to my c: drive and exe it , hopefully there is no problem here.
File "C:\Users\doctore\chatPDF\main.py", line 99, in
@doctore2015 it seems that you're having network issues that don't let you download the loader from GitHub. Check your firewall to be sure!
D:\Users\doctore\Documents\GitHub\chatPDF>python3 main.py Traceback (most recent call last): File "D:\Users\doctore\Documents\GitHub\chatPDF\main.py", line 17, in
openai.api_key = os.environ["OPENAI_API_KEY"]
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'
I followed all the instrcution but came up this
try to fix but do not work