pyResearchInsights
pyResearchInsights copied to clipboard
V 1.59 not running python 3.7 installed
Running the below cell locally (after pip installing the 1.6 version): from pyResearchInsights.common_functions import pre_processing from pyResearchInsights.Scraper import scraper_main from pyResearchInsights.Cleaner import cleaner_main from pyResearchInsights.Analyzer import analyzer_main from pyResearchInsights.NLP_Engine import nlp_engine_main
Results in :
[nltk_data] Downloading package stopwords to [nltk_data] C:\Users\User\AppData\Roaming\nltk_data... [nltk_data] Package stopwords is already up-to-date!
TypeError Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_7884\966294205.py in
d:\pyresearchinsight\pyresearch-env\lib\site-packages\pyResearchInsights_init_.py in
d:\pyresearchinsight\pyresearch-env\lib\site-packages\pyResearchInsights\NLP_Engine.py in
d:\pyresearchinsight\pyresearch-env\lib\site-packages\spacy_init_.py in
d:\pyresearchinsight\pyresearch-env\lib\site-packages\spacy\errors.py in
d:\pyresearchinsight\pyresearch-env\lib\site-packages\spacy\compat.py in
d:\pyresearchinsight\pyresearch-env\lib\site-packages\thinc\util.py in
d:\pyresearchinsight\pyresearch-env\lib\site-packages\wasabi_init_.py in
d:\pyresearchinsight\pyresearch-env\lib\site-packages\wasabi\printer.py in
d:\pyresearchinsight\pyresearch-env\lib\site-packages\wasabi\printer.py in Printer() 123 spaced: bool = False, 124 exits: Optional[Union[int, bool]] = None, --> 125 ) -> Union[str, None, NoReturn]: 126 """Print an error message. 127
D:\Python37\lib\typing.py in inner(*args, **kwds) 249 except TypeError: 250 pass # All real errors (not unhashable args) are raised below. --> 251 return func(*args, **kwds) 252 return inner 253
D:\Python37\lib\typing.py in getitem(self, parameters) 346 parameters = (parameters,) 347 msg = "Union[arg, ...]: each arg must be a type." --> 348 parameters = tuple(_type_check(p, msg) for p in parameters) 349 parameters = _remove_dups_flatten(parameters) 350 if len(parameters) == 1:
D:\Python37\lib\typing.py in
D:\Python37\lib\typing.py in _type_check(arg, msg, is_argument) 133 if (isinstance(arg, _SpecialForm) and arg is not Any or 134 arg in (Generic, _Protocol)): --> 135 raise TypeError(f"Plain {arg} is not valid as type argument") 136 if isinstance(arg, (type, TypeVar, ForwardRef)): 137 return arg
TypeError: Plain typing.NoReturn is not valid as type argument