Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\tmp\venv\Lib\site-packages\undetected_chromedriver\__init__.py", line 258, in __init__
self.patcher.auto()
File "C:\tmp\venv\Lib\site-packages\undetected_chromedriver\patcher.py", line 178, in auto
self.unzip_package(self.fetch_package())
File "C:\tmp\venv\Lib\site-packages\undetected_chromedriver\patcher.py", line 308, in unzip_package
with zipfile.ZipFile(fp, mode="r") as zf:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\John\scoop\apps\python\3.12.5\Lib\zipfile\__init__.py", line 1331, in __init__
self.fp = io.open(file, filemode)
^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 22] Invalid argument: 'C:\\Users\\John\\AppData\\Local\\Temp\\tmpqm7095n8'
At the same time, Windows Defender, the Microsoft antivirus, reports a threat detected:
Trojan:Script/Wacatac:B!ml in file: C:\Users\John\AppData\Local\Temp\tmpqm7095n8
That's why it had deleted the file and unzip_package could not read it.
I don't undestand! I was using UC many days before without any issue, and this one came suddenly. I would like to point out that I have had this alert frequently in the past, but it also disappeared on its own.
Of course I could tell Windows Defender to autorize on my computer, but I don't want to have to tell other users to do the same thing.
Has anyone encountered this problem before? Thank you!
On Windows 11, with Python 3.12.5 installed, I run the following commands:
It shows the following error
At the same time, Windows Defender, the Microsoft antivirus, reports a threat detected: Trojan:Script/Wacatac:B!ml in file: C:\Users\John\AppData\Local\Temp\tmpqm7095n8 That's why it had deleted the file and unzip_package could not read it. I don't undestand! I was using UC many days before without any issue, and this one came suddenly. I would like to point out that I have had this alert frequently in the past, but it also disappeared on its own. Of course I could tell Windows Defender to autorize on my computer, but I don't want to have to tell other users to do the same thing. Has anyone encountered this problem before? Thank you!