filterpy
filterpy copied to clipboard
Circular import of filterpy itself prevents the use of pip
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)