Open liushuishuibanye opened 2 years ago
Hi @liushuishuibanye , seems the error comes from the NLTK package. What's your NLTK version? In my case it's 3.5. Maybe you could try to update or downgrade to 3.5 to see whether it works.
i downgrade to 3.5 and get this: ImportError: cannot import name 'py25' from 'nltk.util'
With NTLK version 3.6.4 I have the same bug. But in V3.6.5 it was solving : https://github.com/nltk/nltk/commit/6428c9288a86658cb3d9a1e91816c4bcf162a6f0. When I try to update NTLK to v3.6.5 regex version don't match :
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
dataprep 0.2.15 requires regex<2021.0.0,>=2020.10.15, but you have regex 2021.11.10 which is incompatible.
I've solved the issue by downgrading nltk version to 3.4.5. The initial nltk version was 3.6.4,
Python 3.7.9 (default, Aug 31 2020, 12:42:55) [GCC 7.3.0] :: Anaconda, Inc. on linux dataprep 0.3.0
code: from dataprep.eda import create_report
bug: AttributeError Traceback (most recent call last)