Comments (4)
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.
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.
Any working solution to the typing module problems in conda you can refer.
from ragatouille.
@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)
- ImportError: DLL load failed while importing segmented_maxsim_cpp: The specified module could not be found. HOT 1
- Can't search with k over 128 HOT 2
- Inconsistent search results length for high top-k values HOT 3
- Rework Dependencies: ship with barebones dependencies & bundle different features as extras HOT 1
- 02-basic_training.ipynb fails HOT 1
- You have a GPU available, but only `faiss-cpu` is currently installed. HOT 4
- TypeError: array([15055, 320, 22479, 2853, 8197, ..., 374, 3827]) is not JSON serializable HOT 5
- Can't install on WSL 2 Windows 10 or Crashes (using faiss-gpu) HOT 8
- mac m1: trainer.train: ImportError: incompatible architecture (have 'x86_64', need 'arm64') HOT 2
- Pytorch 2.1 on Runpod running Examples hangs with message HOT 5
- llama-index version 0.10.x not compatible HOT 2
- Training resume feature isn't available due to removal in upstream ColBERT HOT 1
- Issue with indexing BGE-M3 (large dimensionality vectors) HOT 4
- Replace ColBERT with jina-colbert-v1-en HOT 2
- ImportError: cannot import name 'Document' from 'llama_index' (unknown location) HOT 10
- ImportError: cannot import name 'LLM' from 'llama_index.core.llms' HOT 1
- Discussion / forum for RAGatouille? HOT 1
- Is there a way to quiet the progress bar printout?
- Colbert late interaction matrix
- examples/06-index_free_use.ipynb _ TypeError: '>' not supported between instances of 'str' and 'int' HOT 1
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 ragatouille.