terry3041 / pyChatGPT

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

WebDriverException: Message: Service /root/.local/share/undetected_chromedriver/db7ac643c0029ad1_chromedriver unexpectedly exited. Status code was: 1 #109

Open prakash-deepsphere opened 1 year ago

prakash-deepsphere commented 1 year ago

Am getting this error in colab(below is my code block):

install dependencies

!apt install chromium-browser xvfb !pip install -U selenium_profiles pyChatGPT

install chromedriver

from selenium_profiles.utils.installer import install_chromedriver install_chromedriver()

Above code snippet works as expected

from pyChatGPT import ChatGPT

session_token = '' # my session token api = ChatGPT(session_token) # auth with session token

resp = api.send_message('Hello ChatGPT!') print(resp['message'])

image

Can someone help me to resolve this issue?

ARezaK commented 1 year ago

memory issue?

prakash-deepsphere commented 1 year ago

memory issue?

No, it's not a memory issue.

GihanMora commented 1 year ago

Any update on this issue?

chqwer2 commented 1 year ago

Same problem here, haven't got any solution for now.