我有以下错误:AttributeError: 'module' object has no attribute 'dfr'
import tethne.readers as rd
wordcounts = rd.dfr.ngrams(datapath, N='uni')
AttributeError: 'module' object has no attribute 'dfr'
研发部?显示有关包的属性(包括dfr)的文档。在
我将名为tethne的包从python3.7包目录移到site pakages目录,并使用conda env2.7(因为这个包与python2兼容,而不是python3),这可能会导致这个错误。我该怎么解决这个问题?在
试试看
相关问题 更多 >
编程相关推荐