【发布时间】:2017-11-29 11:03:43
【问题描述】:
我是 Python 新手,正在尝试安装 Eve。我安装了 Python 3.6.3 并且正在使用 pipenv。当我运行pipenv install eve 时,它会因错误而失败(这里是摘录):
running build_ext
building 'simplejson._speedups' extension
error: [WinError 3] The system cannot find the path specified: 'C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v8.1\\lib'
_______________________________________
Error: An error occurred while installing eve!
Failed building wheel for simplejson
据我所知,此路径适用于 Windows 8.1 SDK。
我能做些什么来解决这个问题?我是否需要安装此 SDK 才能使 simplejson 工作?我真的不想安装这个SDK,为什么simplejson需要这个?
我怀疑我实际上并不需要这个 SDK,因为我假设所有这些通常都可以在 Linux 环境中执行。当我尝试在 Windows 7 机器上执行时,为什么会存在这种依赖关系?
【问题讨论】:
标签: python python-3.x eve simplejson pipenv