Skip to content

Commit ba1a7d7

Browse files
authored
IMPORTANT
In my prior requirements.txt file, "ChromaDB" installed "pandas" as a dependency without specifying the specific version of Pandas to install. This made it always install the latest version of Pandas. Pandas, unbeknownst to ChromaDB, did something to their "pandas.core.arrays.arrow.dtype" that prevented ChromaDB from working in all prior version of my scripts. Therefore, I have: 1) Added "pandas==2.0.3" to the requirements.txt file. This will install pandas 2.0.3 over any other version of pandas that, for example, any other library listed in the requirements.txt tried to install (in this case it was ChromaDB). 2) Manually confirmed the latest versions of all libraries in requirements.txt work with my program. 3) Put version numbers after each library that I know work. Previously, it was just "openai," for example, which mean that if the openai library changed its dependencies in a later version, which breaks my program, this shouldn't happen. INSTALLATION instructions remain the same, but if you tried installing in the last 24 hours you'll need to reinstall everything from scratch.
1 parent 567c54d commit ba1a7d7

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

requirements.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
openai
2-
langchain==0.0.191
3-
chromadb==0.3.22
1+
openai==0.28.0
2+
langchain==0.0.267
3+
chromadb==0.3.29
44
pdfminer.six==20221105
5-
InstructorEmbedding
6-
sentence-transformers
5+
InstructorEmbedding==1.0.1
6+
sentence-transformers==2.2.2
7+
pandas==2.0.3

0 commit comments

Comments
 (0)