I had the following error with exca
----> 1 from exca.helpers import DiscriminatedModel
ImportError: cannot import name 'DiscriminatedModel' from 'exca.helpers' (/home/co/miniconda3/envs/neuralset/lib/python3.12/site-packages/exca/helpers.py)
-> helpers.DiscriminatedModel Has been added to later versions of exca
The problem was that even if my pip list | grep exca showed an updated version, the source code in my site-packages was still old.
Which I could only fix by deleting the exca folder in my site-packages miniconda env (uninstalling / reinstalling didn't fix anything, even if I was on the last version of exca), then reinstalling.
Happened to me on 2 different conda envs, different machines. Fix is easy though, just posting this in case someone encounters the same issue, so they find a quick fix.
I had the following error with exca
->
helpers.DiscriminatedModelHas been added to later versions of excaThe problem was that even if my pip list | grep exca showed an updated version, the source code in my site-packages was still old.
Which I could only fix by deleting the exca folder in my site-packages miniconda env (uninstalling / reinstalling didn't fix anything, even if I was on the last version of exca), then reinstalling.
Happened to me on 2 different conda envs, different machines. Fix is easy though, just posting this in case someone encounters the same issue, so they find a quick fix.