Welcome to Cadabra Q&A, where you can ask questions and receive answers from other members of the community.
+1 vote

Hi! I've find out that imp package was removed from python 3.12, and I can't import cdb.core.manip any more because the following error appears: ModuleNotFoundError: No module named 'imp' imp module is deprecated in favour of importlib.

in Bug reports by (1.7k points)

I am right in the middle of some other major work on the notebook interface, so this will have to wait a bit. However, if you know what to change and where, I'm happy to take a patch or pull request.

I have the same problem, and I've been trying to solve it... unsuccessfully yet!

If I found a solution, I'd push a merge request.

1 Answer

+2 votes

Can one of you please test the current 2.4.5.8 now on github? You will most likely need to clean your cadabra notebook cache (Tools > Clear package cache).

by (82.5k points)

Hi K.

I tested the 2.4.5.8 version and it works! I cann't believe that the simple modification to the code would be the solution. XD

Thank you!

...