阿里函数计算中请问函数支持python第三方库嘛?

阿里函数计算中请问函数支持python第三方库嘛?{
"errorMessage": "Module initialization error: 'Message: Unable to obtain driver for chrome using Selenium Manager.; For documentation on this error, please visit: https:// www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location\n'",
"errorType": "UserCodeError",
"stackTrace": [
"selenium.common.exceptions.NoSuchDriverException: Message: Unable to obtain driver for chrome using Selenium Manager.; For documentation on this error",
"please visit: https:// www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location"
]
}selenium失败了,请求 ID
1-6549c097-d9b572fe4b352309edcd383a

实例 ID
c-6549c097-f9c683ff4d5f456bbdab。

展开
收起
小小鹿鹿鹿 2023-11-13 19:45:08 125 发布于山西 分享
分享
版权
举报
2 条回答
写回答
取消 提交回答
  • 是的,阿里云函数计算FC支持Python的第三方库,包括Selenium。然而,从你提供的错误信息来看,你的代码在启动Selenium时遇到了问题。

    这个错误信息表示无法使用Selenium Manager找到Chrome的驱动程序。这可能是因为你的环境中没有正确安装或者配置Selenium Manager。

    你可以尝试以下步骤来解决这个问题:

    1. 检查你的Python环境中是否已经安装了Selenium Manager。如果没有,你可以使用pip install selenium来安装。

    2. 检查你的环境变量中是否包含了Chrome驱动程序的路径。如果没有,你需要将驱动程序的路径添加到你的环境变量中。

    3. 检查你的代码中是否正确配置了Selenium Manager。

    4. 如果你在使用阿里云函数计算FC,你可以检查你的函数配置中是否正确配置了Python的环境。

    2023-11-30 15:17:57 发布于河北 举报
    赞同 评论

    评论

    全部评论 (0)

    登录后可评论
  • 这里有例子
    5a7880f2be4629d7e4ef0a69b9b4c8bf.pnghttps://developer.aliyun.com/article/1323852?spm=a2c6h.13262185.profile.8.57b23c66OdcQjU

    想自己折腾一下可以看这个例子哈。此回答来自钉群阿里函数计算官网客户。

    2023-11-14 23:20:01 发布于山西 举报
    赞同 评论

    评论

    全部评论 (0)

    登录后可评论

快速交付实现商业价值。

还有其他疑问?
咨询AI助理
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等