1

我正在尝试导入PythonMagick但无法导入此模块。你能帮我如何安装它并在我的代码中使用它吗?

我尝试了几种方法-

python -m pip install PythonMagic
python -m pip install PythonMagic --user

我下载了 Imagemagic 和 ghostscript,并在环境变量中给出了它们的路径。但没有得到任何解决方案。

4

1 回答 1

1

尝试从https://www.lfd.uci.edu/~gohlke/pythonlibs/#pythonmagick下载 whl 文件, 然后安装python -m pip install <whl file>

于 2020-11-13T13:01:47.620 回答