Is the new Chaco 6.0.0 compatible with NumPy 1.26?

35 views
Skip to first unread message

David Banas

unread,
Dec 17, 2023, 7:01:07 AM12/17/23
to Enthought Tool Suite users
I'm getting the following error when attempting to build the new Chaco 6.0.0 for:
  • Python 3.9
  • NumPy 1.26
  chaco/plots/contour/cntr.c:35:12: fatal error: 'numpy/oldnumeric.h' file not found
     35 | #  include "numpy/oldnumeric.h"
        |            ^~~~~~~~~~~~~~~~~~~~

And I'm wondering: do I need to back off my NumPy version?

Thanks & Happy Holidays,
-db

David Banas

unread,
Dec 17, 2023, 7:53:32 AM12/17/23
to Enthought Tool Suite users
If I back the NumPy version off to: 1.25, then I get a successful build.

David Banas

unread,
Jun 8, 2024, 2:43:39 PM6/8/24
to Enthought Tool Suite users
Just submitted a pull request, which fixes this:

jpd...@sandia.gov

unread,
Sep 19, 2025, 6:36:44 PM (13 days ago) Sep 19
to Enthought Tool Suite users
Now over a year later:  any chance someone could update Chaco to be compatible with NumPy 2.X?  Or is it really time to give up on Chaco and rewrite my one application that uses it to instead use Plotly or (if I have to) Matplotlib?

And David, since you have maintained a conda channel with Chaco and Enable, do you plan to create conda packages for Python 3.13?

Jean-Paul Davis

David Banas

unread,
Sep 21, 2025, 11:40:05 AM (12 days ago) Sep 21
to jpd...@sandia.gov, Enthought Tool Suite users
Hi Jean-Paul,

No, I don’t support Conda builds of anything anymore.
The package that required them: PyBERT, is finally reliably Pip-installable.
I do have to maintain custom Chaco builds for Python 3.12 users, however:
These are necessary, even when Pip-installing PyBERT.

I’ve been told, by one of the Chaco maintainers, that an update is coming soon.
Their recent Enable update fixed the issues I was having with PyBERT installation.
So, I’m hopeful that their Chaco update will do the same.

Cheers,
-db


-- 
You received this message because you are subscribed to the Google Groups "Enthought Tool Suite users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ets-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ets-users/47353385-b15c-460f-a289-1c43e38a6262n%40googlegroups.com.

Message has been deleted

jpd...@sandia.gov

unread,
Sep 22, 2025, 10:22:55 PM (10 days ago) Sep 22
to Enthought Tool Suite users
Thanks David, I'm glad to hear that Chaco is not dead.  I see now a pull request from three months ago that will fix the NumPy 2.X issue (https://github.com/enthought/chaco/pull/917).

Jean-Paul
Reply all
Reply to author
Forward
0 new messages