-
-
Notifications
You must be signed in to change notification settings - Fork 13
Description
UserWarning: [W094] Model 'en_core_web_sm' (2.2.0) specifies an under-constrained spaCy version requirement: >=2.2.0. This can lead to compatibility problems with older versions, or as new spaCy versions are released, because the model may say it's compatible when it's not. Consider changing the "spacy_version" in your meta.json to a version range, with a lower and upper pin. For example: >=3.7.4,<3.8.0
warnings.warn(warn_msg)
2024-03-22 11:24:02.188 WARNING streamlit.runtime.caching.cache_data_api: No runtime found, using MemoryCacheStorageManager
C:\Users\Lenovo\anaconda3\Lib\site-packages\spacy\util.py:918: UserWarning: [W094] Model 'en_core_web_sm' (2.2.0) specifies an under-constrained spaCy version requirement: >=2.2.0. This can lead to compatibility problems with older versions, or as new spaCy versions are released, because the model may say it's compatible when it's not. Consider changing the "spacy_version" in your meta.json to a version range, with a lower and upper pin. For example: >=3.7.4,<3.8.0
warnings.warn(warn_msg)
Traceback (most recent call last):
File "c:\Users\Lenovo\OneDrive\Desktop\Text-Summarization-using-NLP-master\app.py", line 2, in
from helper import get_summary, spacy_rander, fetch_news, fetch_news_links
File "c:\Users\Lenovo\OneDrive\Desktop\Text-Summarization-using-NLP-master\helper.py", line 14, in
nlp= en_core_web_sm.load()
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lenovo\anaconda3\Lib\site-packages\en_core_web_sm_init_.py", line 12, in load
return load_model_from_init_py(file, **overrides)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lenovo\anaconda3\Lib\site-packages\spacy\util.py", line 682, in load_model_from_init_py
return load_model_from_path(
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lenovo\anaconda3\Lib\site-packages\spacy\util.py", line 538, in load_model_from_path
config = load_config(config_path, overrides=overrides)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lenovo\anaconda3\Lib\site-packages\spacy\util.py", line 714, in load_config
raise IOError(Errors.E053.format(path=config_path, name="config file"))
OSError: [E053] Could not read config file from C:\Users\Lenovo\anaconda3\Lib\site-packages\en_core_web_sm\en_core_web_sm-2.2.0\config.cfg
coming this error