superduper
superduper copied to clipboard
[BUG]: Google Colab use-case Notebooks are not running successfully
Contact Details [Optional]
No response
System Information
Google Colab
What happened?
There is a constant error when you run the following 4 notebooks
https://colab.research.google.com/github/SuperDuperDB/superduperdb/blob/main/examples/voice_memos.ipynb#scrollTo=94262bf76c630b10
https://colab.research.google.com/github/SuperDuperDB/superduperdb/blob/main/examples/question_the_docs.ipynb#scrollTo=f42c42cc-af6a-4712-a993-d9c921693819
https://colab.research.google.com/github/SuperDuperDB/superduperdb/blob/main/examples/sql-example.ipynb#scrollTo=b8e7ef91-9eda-4fbd-b34f-b49b5411fc47
https://colab.research.google.com/github/SuperDuperDB/superduperdb/blob/main/examples/video_search.ipynb#scrollTo=d7662d5b-e851-459d-b847-ba5a1e7f1735
AttributeError Traceback (most recent call last)
[<ipython-input-3-a4f3a4295f84>](https://localhost:8080/#) in <cell line: 1>()
----> 1 from superduperdb import superduper
2 from superduperdb.backends.mongodb import Collection
3 import os
4
5 mongodb_uri = os.getenv("MONGODB_URI", "mongomock://test")
15 frames
[/usr/local/lib/python3.10/dist-packages/numpy/__init__.py](https://localhost:8080/#) in __getattr__(attr)
309 # here to save on the order of 10 ms of import time for most users
310 #
--> 311 # The previous way Tester was imported also had a side effect of adding
312 # the full `numpy.testing` namespace
313 if attr == 'testing':
AttributeError: module 'numpy' has no attribute '_no_nep50_warning'
I assume that this applicable to all other notebooks , we need to probably update the numpy as the issue seems to be coming from numpy
Steps to reproduce
- Run any of the notebook from top to bottom
- Remember to input you own openai api
...
Relevant log output
No response
You need to run the first cell '!pip install...'.
This is to install an older numpy version.