Skip to content

Circular import of filterpy itself prevents the use of pipΒ #319

@lokinou

Description

@lokinou

pip is refusing to install claiming that setup.py imports the package filterpy via import filterpy which is a circular import of a package that is not yet installed.
The only use of importing it is to use filterpy.__version__

In my case I used pip install filterpy, an even made a git clone ... pip install . without sucess

To be honest, the only solution I found was:

  • remove the circular import line: import filterpy
  • edit the version number line : version="1.4.5", at line 18
  • install the package manually, make sure to be at the root of the repo and use pip install .

And then it installed successfully.
No idea why i have this weird issue in the first place, here is my version of python though (Python 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] on win32)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions