You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
----> 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.
Activity