Log in
Log into community
Find answers from the community
View all posts
Related posts
Was this helpful?
😞
😐
😃
Powered by
Hall
Inactive
Updated 2 years ago
0
Follow
I recently upgraded from 0 8 6 and I’m
I recently upgraded from 0 8 6 and I’m
Inactive
0
Follow
At a glance
b
big_ol_tender
2 years ago
·
I recently upgraded from 0.8.6 and I’m getting a repeated importwarning:
package
!=
spec
.parent. Anyone else get this?
L
b
22 comments
Share
Open in Discord
L
Logan M
2 years ago
I have not seen this 🤔 Is there any more details?
b
big_ol_tender
2 years ago
It’s just that warning a million times on import for almost every script in llama_index
b
big_ol_tender
2 years ago
Might be a me problem
b
big_ol_tender
2 years ago
Also sorry for the random question but is colBERT available out of the box? I see it mentioned in the docs but no implementation
b
big_ol_tender
2 years ago
Also it’s just an import warning it’s not actually erroring at all, just annoying
L
Logan M
2 years ago
ah yea colbert is available, but experimental, we weren't sure how to properly integrate it at the time so threw it in here.
https://github.com/jerryjliu/llama_index/tree/main/experimental/colbert_index
L
Logan M
2 years ago
If there's any more details on this import warning I can help you track it down. What's the exact warning text?
b
big_ol_tender
2 years ago
Sure here’s an example:
Path/to/site-packages/llama_index/agent/react/formatter.py:28: ImportWarning:
package
!=
spec
.parent
class BaseAgentClassFormatter
b
big_ol_tender
2 years ago
But it’s like that for dozens of files/classes
b
big_ol_tender
2 years ago
also sorry discord keeps changing the formatting, it’s “
package
!=
spec
.parent”
b
big_ol_tender
2 years ago
Omg
b
big_ol_tender
2 years ago
package
b
big_ol_tender
2 years ago
Double underscore around both package and spec
L
Logan M
2 years ago
ah gotcha!
L
Logan M
2 years ago
markdown strikes again lol
L
Logan M
2 years ago
I have not seen this personally, but if I find something out I'll let you know!
b
big_ol_tender
2 years ago
Appreciate you
b
big_ol_tender
2 years ago
Super bizarre but the issue def isnt llama_index
b
big_ol_tender
2 years ago
When I move “import weaviate” after the imports of my local package they all go away 🤷🏽♂️
L
Logan M
2 years ago
LOL
L
Logan M
2 years ago
I'll take it
b
big_ol_tender
2 years ago
I have been programming with python for 7 years and never seen anything like it
Add a reply
Sign up and join the conversation on Discord
Join on Discord