the problem faced me and i dont know what even is it

Viewed 37
import undetected_chromedriver as uc 
if __name__ ==  '__main__': 
     driver = uc.Chrome() 
     driver.get('https://www.google.com/') 

Traceback (most recent call last):
  File "C:\Users\anta-\AppData\Local\Programs\Python\Python310-32\lib\multiprocessing\process.py", line 315, in _bootstrap
    self.run()
  File "C:\Users\anta-\AppData\Local\Programs\Python\Python310-32\lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\anta-\AppData\Local\Programs\Python\Python310-32\lib\site-packages\undetected_chromedriver\dprocess.py", line 59, in _start_detached
    p = Popen([executable, *args], stdin=PIPE, stdout=PIPE, stderr=PIPE, **kwargs)
  File "C:\Users\anta-\AppData\Local\Programs\Python\Python310-32\lib\subprocess.py", line 969, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\anta-\AppData\Local\Programs\Python\Python310-32\lib\subprocess.py", line 1378, in _execute_child
    args = list2cmdline(args)
  File "C:\Users\anta-\AppData\Local\Programs\Python\Python310-32\lib\subprocess.py", line 561, in list2cmdline
    for arg in map(os.fsdecode, seq):
  File "C:\Users\anta-\AppData\Local\Programs\Python\Python310-32\lib\os.py", line 822, in fsdecode
    filename = fspath(filename)  # Does type-checking of `filename`.
TypeError: expected str, bytes or os.PathLike object, not NoneType
0 Answers
Related