Coder Social home page Coder Social logo

Comments (4)

bclavie avatar bclavie commented on June 20, 2024 1

Hey!

Thanks @timothepearce for answering. RAGatouille supports >=3.9, I'll update the README soon to make it clearer.

The issue you're having is somewhat common with conda, there's a lot of similar issues all over GitHub (e.g. a similar one here tiangolo/fastapi#9808).

The issue seems to be that there can be conflicting versions of typing_extensions installed at the system level & in the conda env, and also by pypi, or by conda. This is compounded because the library is sometimes called typing_extensions or typing-extensions, but is always imported via from typing_extensions [...]. I'll eventually try to see if I can figure out a way for it to be force-installed when installing RAGatouille.

I think for now this should solve your issue (one of the uninstall might fail, don't worry about it!):

pip uninstall typing_extensions
pip uninstall typing-extensions
pip install --upgrade typing-extensions

from ragatouille.

timothepearce avatar timothepearce commented on June 20, 2024

I tried Python 3.11 and 3.10, and they both worked. Your problems seem related to your conda env; the typing module has been available since Python 3.5.

from ragatouille.

NitinAggarwal1 avatar NitinAggarwal1 commented on June 20, 2024

Any working solution to the typing module problems in conda you can refer.

from ragatouille.

mlkorra avatar mlkorra commented on June 20, 2024

@bclavie can you update the README with minimum python version required to setup RAGatouille, I was using 3.8.10 and had trouble installing it and found the python requirement here.

from ragatouille.

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.