denisecailab / ezTrack

Free, platform independent, behavior tracking software.
GNU General Public License v3.0
118 stars 41 forks source link

First cell fails to run/load packages #60

Closed gibbont2 closed 1 year ago

gibbont2 commented 2 years ago

I had to reinstall all programs on my computer including everything python related and I am not having issues running the first cell on locationtracking_batch process.

This is the error message. image

Things I have tried:

This issue began a month ago and is still continuing. I'm using win64 & chrome.

Here is conda list using exact environment create from installation instructions:

image image image

Thanks!

ZachPenn commented 1 year ago

Apologies for the delay. Have you tried adding the numpy version to the conda install command as follows?

conda create -y -n ezTrack -c conda-forge python=3.8 pandas=1.3.2 matplotlib=3.1.1 numpy=1.22.3 opencv=4.5.3 jupyter=1.0.0 holoviews=1.14.5 scipy=1.7.1 scikit-learn=0.24.2 bokeh=2.3.3 jinja2=3.0.3 tqdm

I know you said you tried to rolling back numpy to this version, but how conda does a rollback vs. creating a fresh environment is different from what I understand. At least on my mac this environment works. Will try on a windows later today.

You'll of course want to uninstall ezTrack environment before doing this. The following command will remove the environment:

conda remove --name ezTrack --all
gibbont2 commented 1 year ago

That did the trick.

Much appreciated and as always thank you for providing this program and continued support for it.