51Testing软件测试论坛

标题: 这个报错一直解决不了是为什么呀 [打印本页]

作者: 测试积点老人    时间: 2022-4-25 13:36
标题: 这个报错一直解决不了是为什么呀
  1. C:\Users\何转娣\Desktop\yolov5-5.0\venv\Scripts\python.exe C:/Users/何转娣/Desktop/yolov5-5.0/utils/闲置.py
  2. Traceback (most recent call last):
  3. File "C:\Users\何转娣\Desktop\yolov5-5.0\utils\闲置.py", line 60, in
  4. driver = webdriver.Chrome()
  5. File "C:\Users\何转娣\Desktop\yolov5-5.0\venv\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 70, ininit
  6. super(WebDriver, self).init(DesiredCapabilities.CHROME['browserName'], "goog",
  7. File "C:\Users\何转娣\Desktop\yolov5-5.0\venv\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 93, ininit
  8. RemoteWebDriver.init(
  9. File "C:\Users\何转娣\Desktop\yolov5-5.0\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 269, ininit
  10. self.start_session(capabilities, browser_profile)
  11. File "C:\Users\何转娣\Desktop\yolov5-5.0\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 360, in start_session
  12. response = self.execute(Command.NEW_SESSION, parameters)
  13. File "C:\Users\何转娣\Desktop\yolov5-5.0\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 425, in execute
  14. self.error_handler.check_response(response)
  15. File "C:\Users\何转娣\Desktop\yolov5-5.0\venv\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 247, in check_response
  16. raise exception_class(message, screen, stacktrace)
  17. selenium.common.exceptions.WebDriverException: Message: unknown error: cannot create temp dir for user data dir
  18. Stacktrace:
  19. Backtrace:
  20. Ordinal0 [0x00537413+2389011]
  21. Ordinal0 [0x004C9F61+1941345]
  22. Ordinal0 [0x003BC658+837208]
  23. Ordinal0 [0x003D935A+955226]
  24. Ordinal0 [0x003D5C51+941137]
  25. Ordinal0 [0x00408C80+1150080]
  26. Ordinal0 [0x004088DA+1149146]
  27. Ordinal0 [0x00403F66+1130342]
  28. Ordinal0 [0x003DE546+976198]
  29. Ordinal0 [0x003DF456+980054]
  30. GetHandleVerifier [0x006E9632+1727522]
  31. GetHandleVerifier [0x0079BA4D+2457661]
  32. GetHandleVerifier [0x005CEB81+569713]
  33. GetHandleVerifier [0x005CDD76+566118]
  34. Ordinal0 [0x004D0B2B+1968939]
  35. Ordinal0 [0x004D5988+1989000]
  36. Ordinal0 [0x004D5A75+1989237]
  37. Ordinal0 [0x004DECB1+2026673]
  38. BaseThreadInitThunk [0x75EBFA29+25]
  39. RtlGetAppContainerNamedObjectPath [0x77857A7E+286]
  40. RtlGetAppContainerNamedObjectPath [0x77857A4E+238]

  41. Process finished with exit code 1
复制代码



作者: bellas    时间: 2022-4-26 10:04
何传娣换成英文字母试一下呢
作者: qqq911    时间: 2022-4-26 10:29
换个地方放,不要用中文路径
作者: jingzizx    时间: 2022-4-26 15:19
权限?
作者: jingzizx    时间: 2022-4-26 15:20
不能生产目录




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2