my code is
from talkingheads import ChatGPTClient
chathead = ChatGPTClient(
incognito=False,
user_data_dir='C:/.........../Google/Chrome/User Data',
credential_check=False,
skip_login=True
)
my uc version is 3.5.x
chrome version is 119.x
but the error occur:
2023/12/01 21:54:29 WARNING Windows detected, no version number is provided, default: 112
---------------------------------------------------------------------------
WebDriverException Traceback (most recent call last)
.........................
WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:10568
from chrome not reachable
Stacktrace:
Backtrace:
GetHandleVerifier [0x00BEDCE3+50899]
(No symbol) [0x00B7E111]
(No symbol) [0x00A85450]
(No symbol) [0x00A7B2B5]
(No symbol) [0x00AA51C8]
(No symbol) [0x00A9F5B1]
(No symbol) [0x00A9F391]
(No symbol) [0x00AD1FFE]
(No symbol) [0x00AD1CEC]
(No symbol) [0x00ACB6F6]
(No symbol) [0x00AA7708]
(No symbol) [0x00AA886D]
GetHandleVerifier [0x00E53EAE+2566302]
GetHandleVerifier [0x00E892B1+2784417]
GetHandleVerifier [0x00E8327C+2759788]
GetHandleVerifier [0x00C85740+672048]
(No symbol) [0x00B88872]
(No symbol) [0x00B841C8]
(No symbol) [0x00B842AB]
(No symbol) [0x00B771B7]
BaseThreadInitThunk [0x751BFCC9+25]
RtlGetAppContainerNamedObjectPath [0x770B7C6E+286]
RtlGetAppContainerNamedObjectPath [0x770B7C3E+238]
This is probably because of version mismatch. You can try install the library with the latest commit or pass the version of the major Chrome version manually (116, 117, 118 etc.)
my code is from talkingheads import ChatGPTClient chathead = ChatGPTClient( incognito=False, user_data_dir='C:/.........../Google/Chrome/User Data', credential_check=False, skip_login=True )
my uc version is 3.5.x chrome version is 119.x but the error occur: