运行featuretoolsR时出现词法错误

运行featuretoolsR时出现词法错误,r,featuretools,R,Featuretools,为了测试featuretools的工作,我通过RStudio安装了featuretoolsR,并在Python中安装了numpy和featuretools 然而,在尝试创建实体时,出现了以下错误 # Libs library(featuretoolsR) library(magrittr) # Create some mock data set_1 <- data.frame(key = 1:100, value = sample(letters, 100, T)) set_2 <

为了测试featuretools的工作,我通过RStudio安装了featuretoolsR,并在Python中安装了numpy和featuretools

然而,在尝试创建实体时,出现了以下错误

# Libs
library(featuretoolsR)
library(magrittr)

# Create some mock data
set_1 <- data.frame(key = 1:100, value = sample(letters, 100, T))
set_2 <- data.frame(key = 1:100, value = sample(LETTERS, 100, T))

# Create entityset
es <- as_entityset(set_1, index = "key", entity_id = "set_1", id = "demo")```

Error: lexical error: invalid char in json text.
                                       WARNING: The conda.compat modul
                     (right here) ------^

Kindly help in diagnosing and providing solution to same.
#Libs
图书馆(功能工具SR)
图书馆(magrittr)
#创建一些模拟数据

set_1更新到conda版本4.6.11后,相同的警告发生在我身上。我认为问题的产生是因为compat.py脚本末尾的print语句。我知道这不是一个很好的解决方案,但我访问了compat.py文件并删除了print语句:

print("WARNING: The conda.compat module is deprecated and will be removed in a future release.", file=sys.stderr) 
文件应位于以下位置:\Anaconda3\pkgs\conda-4.6.11-py37\u 0\Lib\site packages\conda


我希望这会有帮助。

这似乎是个错误。请尝试通过以下地址与作者联系: