You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Talend Remote Engine部署Python脚本后Selenium无法定位Chrome求助

Talend Cloud部署Remote Engine后Selenium定位Chrome失败并无法创建临时目录

环境信息

  • Windows 10.0.19043
  • Anaconda 2021.05
  • Python 3.9
  • Talend Remote Engine 2.10.5-202

问题背景

我有一个网页数据抓取的Python脚本,需要封装为Talend作业发布到Talend Cloud,再部署到Remote Engine。之前用Conda创建环境(通过environment.yml、requirements.txt)搭建过多个同类Talend运行Python的作业,且能在Remote Engine所在机器上直接通过Talend Studio和命令行正常运行该脚本,确认Python解释器无问题。但通过Talend Cloud部署到Remote Engine后出现异常:Selenium无法定位Chrome。

日志对比

Talend Studio/命令行正常输出

====== WebDriver manager ======
Current google-chrome version is 105.0.5195
Get LATEST chromedriver version for 105.0.5195 google-chrome
Driver [C:\Users\User.wdm\drivers\chromedriver\win32\105.0.5195.52\chromedriver.exe] found in cache

Remote Engine异常日志

====== WebDriver manager ======
Could not get version for google-chrome.Is google-chrome installed?
Get LATEST chromedriver version for None google-chrome
Driver [C:\WINDOWS\system32\config\systemprofile.wdm\drivers\chromedriver\win32\105.0.5195.52\chromedriver.exe] found in cache

Remote Engine错误回溯

selenium.common.exceptions.WebDriverException: Message: unknown error: cannot create temp dir for user data dir

求助方向

怀疑是权限或用户配置问题,但无法确定具体原因,希望得到针对性解答。

内容的提问来源于stack exchange,提问作者OGmaps

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.18 22:40:35