运行时错误:在Windows环境中的Pycharm上运行时未安装GNUPG

2024-06-09 12:40:55 发布

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

import gnupg
gpg = gnupg.GPG()

我正在使用此命令,该命令会导致运行时错误:

RuntimeError: GnuPG is not installed!

它在finw中工作,同时在Linux环境中使用相同的功能。有人能帮忙吗


Tags: installedimport命令功能环境islinux错误