Find answers from the community

Updated last year

I recently upgraded from 0 8 6 and I’m

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
I have not seen this 🤔 Is there any more details?
It’s just that warning a million times on import for almost every script in llama_index
Might be a me problem
Also sorry for the random question but is colBERT available out of the box? I see it mentioned in the docs but no implementation
Also it’s just an import warning it’s not actually erroring at all, just annoying
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
If there's any more details on this import warning I can help you track it down. What's the exact warning text?
Sure here’s an example:
Path/to/site-packages/llama_index/agent/react/formatter.py:28: ImportWarning: package != spec.parent
class BaseAgentClassFormatter
But it’s like that for dozens of files/classes
also sorry discord keeps changing the formatting, it’s “package != spec.parent”
Double underscore around both package and spec
markdown strikes again lol
I have not seen this personally, but if I find something out I'll let you know!
Super bizarre but the issue def isnt llama_index
When I move “import weaviate” after the imports of my local package they all go away 🤷🏽‍♂️
I'll take it
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