79279783

Date: 2024-12-13 23:23:03
Score: 2
Natty:
Report link

Go to the directory where undetected_chromedriver is installed (usually in site-packages). Open the patcher.py file (located in site-packages/undetected_chromedriver/). Replace the LooseVersion import line from distutils.version with a direct import from packaging.version, which is a more modern and widely used alternative:

Change this

from distutils.version import LooseVersion

To this

from packaging.version import Version

sorry my bad english, use translator

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28774638