Code Monkey home page Code Monkey logo

Comments (3)

baixiac avatar baixiac commented on September 26, 2024 1

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.

w-is-h avatar w-is-h commented on September 26, 2024

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.

plandes avatar plandes commented on September 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.