Closed Jumpet closed 9 years ago
@tacaswell and @danielballan
it looks like you've solved this issue before.... any advice?
What are your files named?
It looks like the exception is coming out of spyderlib
, not pims
or trackpy
.
It is also not clear from your traceback which line in your code is causing the problem as it all looks like it is coming out of spyder's internal stack.
C:/Users/Zach/Desktop/nanoparticles/*.png is the input...the files names in that folder are o_e8af539be08c690b-0.... 0-749
(thanks for your response)!
I would start by trying to reproduce this in a clean conda env (conda create -n clean_trackpy trackpy pims
, working in the 'base 'conda environment for anything but creating new environments is a bad idea) and running the code as a script python my_script.py
to eliminate issues with possible cross installations and spyder issues.
Also make sure that there is nothing installed into $HOME/.local/lib/pythonx.y/site-packages/
pip install --user
can dump stuff there which is always first in the python search path which can, in turn, lead to great pain if you do not know stuff is there.
I took a page from the other thread that I found that mentioned the issue and I uninstalled all the python environments, I'm in the middle of installing conda, updates and trackpy. For the next iteration I'll change the script to something other then the temp file i was using.
reinstalled, running,.... conda create -n clean_trackpy trackpy pims...... trying code again as python my_script
well! that did the trick? I cannot explain it myself but tp.batch through the frames without error! I'll be going on with the rest of the walkthrough now! Thanks for your help @tacaswell
Great, closing this issue.
I'm having trouble going through the tutorial for trackpy. I have unistalled the other versions I had installed and installed everything using anaconda. I'm trying to locate across multiple frames using tp.batch but I am getting this error reiterating through each frame.
here is the code I am running
any advice?
[TAC added markup]