在 Pycharm 中安装 Orange3 会出错

Installing Orange3 in Pycharm gives error

我正在尝试将 Orange3 库与 Windows 10 中的 PyCharm 编辑器一起使用,在安装包装和 运行 带有导入语句(导入 Orange)的代码后,我得到错误:

Traceback (most recent call last):
  File "C:/Users/James/PycharmProjects/Assignment1/Main.py", line 15, in <module>
    import Orange
  File "C:\Users\James\PycharmProjects\Assignment1\venv\lib\site-packages\Orange\__init__.py", line 9, in <module>
    "pip install --no-binary Orange3") from None
ImportError: Compiled libraries cannot be found.
Try reinstalling the package with:
pip install --no-binary Orange3

当我在终端中尝试建议的命令时,我得到:"ERROR: You must give at least one requirement to install (see "pip help install")",值得注意的是我有最新版本的 pip。

此外,当我去 here 寻找更通用的安装说明时,它说要安装 miniconda(我这样做了),然后输入命令:conda create python=3 –name orange3,这对我来说是:

usage: conda-script.py [-h] [-V] command ...
conda-script.py: error: unrecognized arguments: orange3

我花了一些时间搜索,并没有在网上找到任何与我的问题太相似的东西,任何见解都将不胜感激。我很乐意提供任何其他信息。

破折号('-')应该是双破折号('--'),参见Create:

conda create python=3 --name orange3