Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

robustats fails to install #18

Open
senser-amirp opened this issue Nov 22, 2022 · 5 comments
Open

robustats fails to install #18

senser-amirp opened this issue Nov 22, 2022 · 5 comments

Comments

@senser-amirp
Copy link

senser-amirp commented Nov 22, 2022

pip install gives the error
ImportError: cannot import name 'Log' from 'distutils.log' (/tmp/pip-build-env-hd80agp5/overlay/lib/python3.11/site-packages/setuptools/_distutils/log.py)

reproduce this by:

docker run -it python bash
pip install robustats

Full log in reproduce_pip_install_error.txt
This is probably related to pypa/setuptools#3693

@FilippoBovo
Copy link
Owner

Hey. The error that you get it related to the setuptools library, not the robustats library.

@ion-elgreco
Copy link

@FilippoBovo I am getting the same issue :

numpy.distutils is deprecated since NumPy 1.23.0, as a result
of the deprecation of distutils itself. It will be removed for
Python >= 3.12. For older Python versions it will remain present.
It is recommended to use setuptools < 60.0 for those Python versions.
For more details, see:
https://numpy.org/devdocs/reference/distutils_status_migration.html

What are the required actions or necessary changes to make this package work with NumPy > v1.23?

@tmct
Copy link

tmct commented Apr 23, 2024

We're going to have to remove this library from our code owing to this incompatibility - is there any chance it might yet get fixed please?

@FilippoBovo
Copy link
Owner

Hey, @tmct. I'm unable to keep this library updated. If you need it for your projects, I suggest you to fork the library and maintain your fork.

@tmct
Copy link

tmct commented May 22, 2024

That's no problem at all - we've replaced our usage of the library with our own weighted median that looks a lot like these. Thanks anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants