Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

numpy, pandas, PyYAML? stale dependencies #4

Closed
michaelrhanson opened this issue Apr 24, 2024 · 1 comment
Closed

numpy, pandas, PyYAML? stale dependencies #4

michaelrhanson opened this issue Apr 24, 2024 · 1 comment

Comments

@michaelrhanson
Copy link

Hello there - I tried to build the project locally on a fresh Python 3.12 install. There are a number of stale dependencies that encounter pip errors during the build (read more at https://stackoverflow.com/questions/77364550/attributeerror-module-pkgutil-has-no-attribute-impimporter-did-you-mean ) that can be fixed by tweaking the requirements.txt file.

My local diff looks like

@@ -3,13 +3,13 @@ hdbscan==0.8.33
 ipywidgets==8.1.2
 langchain==0.1.5
 nltk==3.8.1
-numpy==1.23.5
-openai==1.23.1
-pandas==2.2.0
+numpy==1.26.4
+openai>=1.23.1
+pandas>=2.2.0
 pathos==0.3.0
 protobuf==4.25.2
-PyYAML==6.0
+PyYAML>=6.0
 tqdm==4.66.1
 traitlets==5.14.1
 umap-learn==0.5.5

... I wasn't totally methodical about this, but these changes got me past the pip install errors.

@michelle123lam
Copy link
Owner

Thanks for raising this, and apologies for the delayed response! I'll update the requirements file so that others can get set up with local development more easily. Also, I've been using Python 3.10 for local development, but I can check later if anything breaks with Python 3.12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants