python无法在imagemagick策略中通过https打开文件

2024-09-29 19:35:35 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在使用image magic python lib打开远程文件(pdf),但我遇到错误

如果我使用link withhttp它可以正常工作,但是使用https我会得到如下错误

wand.exceptions.**PolicyError**: not authorized `HTTPS' @ error/delegate.c/InvokeDelegate/1717

我修改了我的https政策

下面是image magic lib,策略在Ubuntu中

^{pr2}$

这个库只支持http文件而不支持https吗?在


Tags: 文件httpsimage远程pdflib错误magic

热门问题