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

TypeError: DeepLake.__init__() got an unexpected keyword argument 'read_only' #1

Open
masapasa opened this issue Apr 25, 2023 · 3 comments

Comments

@masapasa
Copy link

2023-04-25 18:37:50.156 Uncaught app exception
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "Documents/Chat-with-Github-Repo/chat.py", line 38, in
db = DeepLake(dataset_path=active_loop_data_set_path, read_only=True, embedding_function=embeddings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DeepLake.init() got an unexpected keyword argument 'read_only'
2023-04-25 18:37:51.843 Uncaught app exception
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "Documents/Chat-with-Github-Repo/chat.py", line 38, in
db = DeepLake(dataset_path=active_loop_data_set_path, read_only=True, embedding_function=embeddings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DeepLake.init() got an unexpected keyword argument 'read_only'
2023-04-25 18:37:54.475 Uncaught app exception
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "Documents/Chat-with-Github-Repo/chat.py", line 38, in
db = DeepLake(dataset_path=active_loop_data_set_path, read_only=True, embedding_function=embeddings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DeepLake.init() got an unexpected keyword argument 'read_only'
2023-04-25 18:37:58.851 Uncaught app exception
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "Documents/Chat-with-Github-Repo/chat.py", line 38, in
db = DeepLake(dataset_path=active_loop_data_set_path, read_only=True, embedding_function=embeddings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DeepLake.init() got an unexpected keyword argument 'read_only'
2023-04-25 18:38:08.388 Uncaught app exception
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "Documents/Chat-with-Github-Repo/chat.py", line 38, in
db = DeepLake(dataset_path=active_loop_data_set_path, read_only=True, embedding_function=embeddings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DeepLake.init() got an unexpected keyword argument 'read_only'
2023-04-25 18:47:02.915 Uncaught app exception
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "Documents/Chat-with-Github-Repo/chat.py", line 38, in
db = DeepLake(dataset_path=active_loop_data_set_path, read_only=True, embedding_function=embeddings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DeepLake.init() got an unexpected keyword argument 'read_only'
2023-04-25 18:47:02.918 Uncaught app exception
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "Documents/Chat-with-Github-Repo/chat.py", line 38, in
db = DeepLake(dataset_path=active_loop_data_set_path, read_only=True, embedding_function=embeddings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DeepLake.init() got an unexpected keyword argument 'read_only'
2023-04-25 18:47:03.473 Uncaught app exception
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "Documents/Chat-with-Github-Repo/chat.py", line 38, in
db = DeepLake(dataset_path=active_loop_data_set_path, read_only=True, embedding_function=embeddings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DeepLake.init() got an unexpected keyword argument 'read_only'
2023-04-25 18:47:03.820 Uncaught app exception
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "Documents/Chat-with-Github-Repo/chat.py", line 38, in
db = DeepLake(dataset_path=active_loop_data_set_path, read_only=True, embedding_function=embeddings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DeepLake.init() got an unexpected keyword argument 'read_only'
2023-04-25 18:47:03.959 Uncaught app exception
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "Documents/Chat-with-Github-Repo/chat.py", line 38, in
db = DeepLake(dataset_path=active_loop_data_set_path, read_only=True, embedding_function=embeddings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DeepLake.init() got an unexpected keyword argument 'read_only'

@mikayelh
Copy link

@masapasa hi! thanks for reporting this. will look into this shortly.

@davidbuniat
Copy link

@masapasa can you share the output of pip3 freeze?

@jameswburton18
Copy link

jameswburton18 commented Apr 26, 2023

@masapasa I had the same problem, my issue was that I had not changed the deeplake username to my own

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

4 participants