Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/364.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
使用capiq python包时出错(JSONDecodeError:期望值:第1行第1列(字符0))_Python_R - Fatal编程技术网

使用capiq python包时出错(JSONDecodeError:期望值:第1行第1列(字符0))

使用capiq python包时出错(JSONDecodeError:期望值:第1行第1列(字符0)),python,r,Python,R,我正在尝试使用capiqpython包从标准普尔资本的网站(文档-)中提取数据。我对Python缺乏经验,所以我在R中使用networkite 看来我已经成功地用下面的代码安装了这个包。我还安装了requests\u cache模块,因为我在没有它的情况下遇到了一个错误 library(reticulate) py_install("git+git://github.com/faaez/capiq-python.git", pip = TRUE) py_install('r

我正在尝试使用
capiqpython
包从标准普尔资本的网站(文档-)中提取数据。我对Python缺乏经验,所以我在R中使用
networkite

看来我已经成功地用下面的代码安装了这个包。我还安装了
requests\u cache
模块,因为我在没有它的情况下遇到了一个错误

library(reticulate)
py_install("git+git://github.com/faaez/capiq-python.git", pip = TRUE)

py_install('requests_cache')
requests_cache <- import('requests_cache')

但是,它给了我以下错误

Error in py_run_file_impl(file, local, convert) : 
  JSONDecodeError: Expecting value: line 1 column 1 (char 0)

这是实际软件包的错误吗?或者可以修复的东西?希望从能够接触标准普尔资本IQ的人那里找到解决方案

蒂亚

Error in py_run_file_impl(file, local, convert) : 
  JSONDecodeError: Expecting value: line 1 column 1 (char 0)