Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spacy Issue #5

Open
Chan2502 opened this issue Mar 22, 2024 · 0 comments
Open

Spacy Issue #5

Chan2502 opened this issue Mar 22, 2024 · 0 comments

Comments

@Chan2502
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant