Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
😞
😐
😃
Powered by
Hall
Inactive
Updated last year
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
b
big_ol_tender
last year
·
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
last year
I have not seen this 🤔 Is there any more details?
b
big_ol_tender
last year
It’s just that warning a million times on import for almost every script in llama_index
b
big_ol_tender
last year
Might be a me problem
b
big_ol_tender
last year
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
last year
Also it’s just an import warning it’s not actually erroring at all, just annoying
L
Logan M
last year
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
last year
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
last year
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
last year
But it’s like that for dozens of files/classes
b
big_ol_tender
last year
also sorry discord keeps changing the formatting, it’s “
package
!=
spec
.parent”
b
big_ol_tender
last year
Omg
b
big_ol_tender
last year
package
b
big_ol_tender
last year
Double underscore around both package and spec
L
Logan M
last year
ah gotcha!
L
Logan M
last year
markdown strikes again lol
L
Logan M
last year
I have not seen this personally, but if I find something out I'll let you know!
b
big_ol_tender
last year
Appreciate you
b
big_ol_tender
last year
Super bizarre but the issue def isnt llama_index
b
big_ol_tender
last year
When I move “import weaviate” after the imports of my local package they all go away 🤷🏽♂️
L
Logan M
last year
LOL
L
Logan M
last year
I'll take it
b
big_ol_tender
last year
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