测试积点老人 发表于 2022-4-25 13:36:21

这个报错一直解决不了是为什么呀

C:\Users\何转娣\Desktop\yolov5-5.0\venv\Scripts\python.exe C:/Users/何转娣/Desktop/yolov5-5.0/utils/闲置.py
Traceback (most recent call last):
File "C:\Users\何转娣\Desktop\yolov5-5.0\utils\闲置.py", line 60, in
driver = webdriver.Chrome()
File "C:\Users\何转娣\Desktop\yolov5-5.0\venv\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 70, ininit
super(WebDriver, self).init(DesiredCapabilities.CHROME['browserName'], "goog",
File "C:\Users\何转娣\Desktop\yolov5-5.0\venv\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 93, ininit
RemoteWebDriver.init(
File "C:\Users\何转娣\Desktop\yolov5-5.0\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 269, ininit
self.start_session(capabilities, browser_profile)
File "C:\Users\何转娣\Desktop\yolov5-5.0\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 360, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "C:\Users\何转娣\Desktop\yolov5-5.0\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 425, in execute
self.error_handler.check_response(response)
File "C:\Users\何转娣\Desktop\yolov5-5.0\venv\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 247, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot create temp dir for user data dir
Stacktrace:
Backtrace:
Ordinal0
Ordinal0
Ordinal0
Ordinal0
Ordinal0
Ordinal0
Ordinal0
Ordinal0
Ordinal0
Ordinal0
GetHandleVerifier
GetHandleVerifier
GetHandleVerifier
GetHandleVerifier
Ordinal0
Ordinal0
Ordinal0
Ordinal0
BaseThreadInitThunk
RtlGetAppContainerNamedObjectPath
RtlGetAppContainerNamedObjectPath

Process finished with exit code 1

bellas 发表于 2022-4-26 10:04:14

何传娣换成英文字母试一下呢

qqq911 发表于 2022-4-26 10:29:49

换个地方放,不要用中文路径

jingzizx 发表于 2022-4-26 15:19:19

权限?

jingzizx 发表于 2022-4-26 15:20:33

不能生产目录
页: [1]
查看完整版本: 这个报错一直解决不了是为什么呀