terry3041 / pyChatGPT

An unofficial Python wrapper for OpenAI's ChatGPT API
GNU General Public License v3.0
1.35k stars 255 forks source link

Failing when I am trying to run on ec2 instance #127

Open Ahmed4221 opened 1 year ago

Ahmed4221 commented 1 year ago

I have installed all required libraries shared in readme but still the verbose on the instance shows this

[init_browser] Starting virtual display... [__init_browser] Initializing browser... [init_browser] Ensuring Cloudflare cookies... [ensure_cf] Opening new tab... [__ensure_cf] Getting Cloudflare challenge... [del] Closing browser... [del__] Closing display...

With the following error trace unknown error: Runtime.evaluate threw exception: SyntaxError: missing ) after argument list\n (Session info: chrome=109.0.5414.119)\nStacktrace:\n#0 0x5642959cc303 \n#1 0x5642957a0d37 \n#2 0x5642957ac8df \n#3 0x5642957a3df1 \n#4 0x5642957a3931 \n#5 0x5642957a4351 \n#6 0x5642957a46dc \n#7 0x5642957dd188 \n#8 0x5642957dd6c1 \n#9 0x564295817b34 \n#10 0x5642957fd9ad \n#11 0x56429581588c \n#12 0x5642957fd753 \n#13 0x5642957d0a14 \n#14 0x5642957d1b7e \n#15 0x564295a1b32e \n#16 0x564295a1ec0e \n#17 0x564295a01610 \n#18 0x564295a1fc23 \n#19 0x5642959f3545 \n#20 0x564295a406a8 \n#21 0x564295a40836 \n#22 0x564295a5bd13 \n#23 0x7f6352f7cb43 \n"