Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/329.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用Networkite在R中安装python包时出错_Python_R_Reticulate - Fatal编程技术网

使用Networkite在R中安装python包时出错

使用Networkite在R中安装python包时出错,python,r,reticulate,Python,R,Reticulate,我正在尝试访问标准普尔Capital IQ的Python API以获取报告数据。然而,我完全不知道Python是如何工作的,以前只使用R,所以我希望能得到一些帮助,帮助我如何使用Networkite在R中安装capiq_excel包。在某些背景下,我订阅了标准普尔Capital IQ,并在我的电脑上加载了excel插件,这显然取决于能否让它正常工作 当我尝试使用以下代码在R中安装程序包时 library(reticulate) py_install(capiq_excel) 我得到以下错误 C

我正在尝试访问标准普尔Capital IQ的Python API以获取报告数据。然而,我完全不知道Python是如何工作的,以前只使用R,所以我希望能得到一些帮助,帮助我如何使用Networkite在R中安装capiq_excel包。在某些背景下,我订阅了标准普尔Capital IQ,并在我的电脑上加载了excel插件,这显然取决于能否让它正常工作

当我尝试使用以下代码在R中安装程序包时

library(reticulate)
py_install(capiq_excel)
我得到以下错误

Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - capiq_excel

Current channels:

  - https://conda.anaconda.org/conda-forge/win-64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://repo.anaconda.com/pkgs/main/win-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/win-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/msys2/win-64
  - https://repo.anaconda.com/pkgs/msys2/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.


Error: one or more Python packages failed to install [error code 1]

我是不是完全错了?安装包之后,我想使用API在R中创建数据帧。capiq_excel包的文档可以在这里找到

TIA

第一次尝试 网状图书馆 py_installcapiq_excel

如果上述代码不起作用,请尝试此操作
安装_minicondacapiq_excel

我认为这不是最好的方法,因为networkite::install_miniconda仅用于安装conda环境,而不用于安装程序包本身。您使用这段代码所做的是创建一个名为capiq_excel的文件夹,其中包含一个安装。