Comments (3)
Looks like the spaCy version has been relaxed since release 1.7.0
. Feel free to open a new issue regarding backward compatibility.
from medcat.
Hi @louni-g, it should not matter if you upgrade spacy - all will work normally, even if PIP complains about version requirements. The reason for freezing the versions is that we distribute modelpacks that contain spacy models inside, and spacy does not have the best backward compatibility - so if we allow newer spacy versions older modelpacks could stop working. We are working on a solution and if nothing a new version of MedCAT will be released that supports the most recent version of spacy.
from medcat.
When you add MedCat as dependency with a difference version of spaCy as provided in MedCat pip has issues. Even in legacy mode, it won't install the package that depends on MedCat and spaCy complaining about version conflicts.
My workaround until a new version is released is simply to remove the spaCy dependency in the setup.py
and specify the version I need in the top level package that depends on them both.
For anyone else that might be in my situation and need this, I have forked this repo, created a branch and then removed the spaCy dependency as mentioned.
Here's the fork, or you can simply install it with:
pip install zensols.medcat
from medcat.
Related Issues (20)
- How to use CUI filtering
- Version 1.6.1 is not on pypi HOT 1
- new install attempt with SNOMED model throws spacy/thinc config validation error HOT 4
- remove elasticsearch dependency HOT 5
- Show nested ents results in error HOT 2
- Modifing the weights of words in the models HOT 3
- i am running NER-L tutorial but while running this cell, model and dataset are not downloading. HOT 1
- Model resources no longer available. HOT 4
- TypeError: Snomed._refset_df2dict() takes 1 positional argument but 2 were given HOT 1
- Concept not found if token order is slightly changed contrary to mentioned note in paper HOT 3
- Install MedCAT with pytorch cpu HOT 2
- Error: [E050] when trying to load sample annotate entity project
- MedCAT model used in validation HOT 3
- Stopwords do not load properly HOT 4
- How do I download the models? HOT 3
- Service unavailable HOT 4
- How to use SNOMED trained model HOT 4
- Writing SNOMED dataframe - cannot access local variable in preprocess_snomed file HOT 4
- ```cat.cdb.print_stats()``` returns empty HOT 10
- Hard coded SNOMED release file bug. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from medcat.