Open kritisharma1303 opened 1 year ago
use these command to fix this issue
pip install spacy==2.3.5
pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.3.1/en_core_web_sm-2.3.1.tar.gz
Hello, Thank you for raising this error. I am also facing the same error. I tried @nabeeltahirdeveloper's solution, however, it did not work. Rather, I got an new additional error.
AttributeError: module 'srsly' has no attribute 'read_yaml' and OSError: [E053] Could not read config file from C:\Users\AnandVarrier\anaconda3\lib\site-packages\pyresparser\config.cfg
What can be done now?
This worked for me , I used conda environment with python version 3.9.6
This worked for me , I used conda environment with python version 3.9.6
can you share req.txt? there is like a deadlock situation here: Successfully uninstalled thinc-8.2.3 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. confection 0.1.4 requires srsly<3.0.0,>=2.4.0, but you have srsly 1.0.7 which is incompatible. weasel 0.3.4 requires srsly<3.0.0,>=2.4.3, but you have srsly 1.0.7 which is incompatible.
pip install spacy==2.3.5
this wont be installed for me even though i already uninstalled spacy with version 3.7.1
@Keskiidou which OS and python version you're using?
having same issue with python 3.12.3, spacy 3.7.5, en-core-web-sm==3.7.1, tried to install the 2.3.5 like @nabeeltahirdeveloper mentioned yet got subprocess error, I am looking for an updated fix for the current version
(c:\users\asus\appdata\local\programs\python\python39\lib\site-packages\pyresparser\config.cfg) i cannot find config.cfg at this location. i have tried uninstalling and installing the library again but still unable to find the config.cfg file due to which it is giving me this error.
OSError: [E053] Could not read config file from c:\users\asus\appdata\local\programs\python\python39\lib\site-packages\pyresparser\config.cfg