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

after install, error on import #1

Open
kr0b3rts opened this issue Sep 6, 2023 · 8 comments
Open

after install, error on import #1

kr0b3rts opened this issue Sep 6, 2023 · 8 comments
Assignees

Comments

@kr0b3rts
Copy link

kr0b3rts commented Sep 6, 2023

Picking up from email as requested ....

Here is the traceback. The exception occurs on the import pydoxtools step

Traceback (most recent call last):
File "testpydox.py", line 1, in
import pydoxtools as pdx
File "/home/kroberts/dev/chat/lib/python3.8/site-packages/pydoxtools/init.py", line 9, in
from .document import Document, DocumentBag, DatabaseSource
File "/home/kroberts/dev/chat/lib/python3.8/site-packages/pydoxtools/document.py", line 25, in
from . import dask_operators
File "/home/kroberts/dev/chat/lib/python3.8/site-packages/pydoxtools/dask_operators.py", line 12, in
from .document_base import Pipeline
File "/home/kroberts/dev/chat/lib/python3.8/site-packages/pydoxtools/document_base.py", line 239, in
class DocumentLocation(pydantic.BaseModel):
File "pydantic/main.py", line 178, in pydantic.main.ModelMetaclass.new
File "pydantic/typing.py", line 400, in pydantic.typing.resolve_annotations

File "/usr/lib/python3.8/typing.py", line 270, in _eval_type
return t._evaluate(globalns, localns)
File "/usr/lib/python3.8/typing.py", line 518, in _evaluate
eval(self.forward_code, globalns, localns),
File "", line 1, in
TypeError: 'type' object is not subscriptable

@yeus
Copy link
Contributor

yeus commented Sep 6, 2023

ok, thank you for the error log. I suspect its because of the python3.8 version you're using. Python 3.10 works much better with pydoxtools. Let me check that and see if I can reproduce the error!

@yeus
Copy link
Contributor

yeus commented Sep 8, 2023

yes. working on removing some of the python3.10 dependencies...

@yeus yeus self-assigned this Sep 8, 2023
@kr0b3rts
Copy link
Author

kr0b3rts commented Sep 8, 2023 via email

@kr0b3rts
Copy link
Author

kr0b3rts commented Sep 18, 2023 via email

@kr0b3rts
Copy link
Author

kr0b3rts commented Sep 26, 2023 via email

@yeus
Copy link
Contributor

yeus commented Jan 12, 2024

hm... interesting error I haven't seen this one before. Does this one here help you?

https://stackoverflow.com/questions/65349875/where-can-i-find-glibcxx-3-4-29

Things have progress, so I am searching for alternatives to gpt4all right now though. I hope the hf transformers library will get to a point where it can run the local quantized models out-of-the-box

@kr0b3rts
Copy link
Author

kr0b3rts commented Jan 12, 2024 via email

@yeus
Copy link
Contributor

yeus commented Jan 28, 2024

just released a new version. maybe it works better now! I updated a lot of the dependencies...

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