ExcelLibrary - Robot Framework Ride - 导入问题

ExcelLibrary - Robot Framework Ride - Import Issue

我在 anaconda prompter 命令上安装 pip install robotframework-excellibrary 时遇到问题,出现错误 Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

我也尝试过手动安装,我得到了 zip 文件,我将文件解压缩到 Site-packages 文件夹中,但是,当我尝试将 ExcelLibrary 导入 Ride 时,它也有一个错误

所以我想知道怎样才能正确手动安装或者pip安装不报错

我正在使用 python 3.7。

您需要阅读要求。当我打开 robotframework-excellibrary pypi 页面时,它在编程语言下显示:

Python

Python :: 2.7

所以我去打开项目主页看需求:

  • Python 2.7.4 (Newer versions not tested)
  • Robot Framework 2.8.5 (Newer versions not tested)
  • xlutils 1.7.1 (Newer versions not tested). Access the downloads here, or use pip install xlutils.
  • natsort 3.3.0 (Newer versions not tested). Access the downloads here, or use pip install natsort.

此时我可能会停止尝试,因为我有 Python 3.

如果我仍然想确认这一点,我将错误复制并粘贴到 Google,第一个弹出的 link 是有人试图解决完全相同的问题(没关系,它在一个完全不同的项目...): https://github.com/MarketSquare/robotframework-requests/issues/109

所以我的建议是先获取兼容版本。