Skip to content

python-lsp-server and perceiver.py

The file releo_mvp/models/perceiver.py shares the same name as the package perceiver-io (i.e. perceiver).

When editing perceiver.py, the LSP server appears to be confused by imports such as from perceiver.model.core import InputAdapter causing import errors (and preventing seamless navigation to perceiver-io's methods).

Has anyone encountered a similar problem? Is there something that I am missing configuration-wise?

If this is not a configuration issue, maybe we should consider renaming perceiver.py to something else?

Edited by Julien Prissimitzis