ROI buddy executable fail

151 views
Skip to first unread message

Jack Waters

unread,
May 7, 2015, 3:21:32 PM5/7/15
to sima-...@googlegroups.com
Having difficulty opening the ROI buddy in Windows.

From cmd line, 'pip install roibuddy --user' proceeded with no errors. Found the roibuddy.exe. Double clicked on it and... nothing.

Similarly, 'roibuddy' from the cmd line proceeded without error, but again no ROI buddy. (This was with the cmd line path at the directory containing the roibuddy.exe.)

Suggestions?



Patrick Kaifosh

unread,
May 10, 2015, 8:25:07 AM5/10/15
to sima-...@googlegroups.com
Hmm... I haven't heard of this one before. What Windows Python environment are you using? Anaconda? WinPython? Python(x,y)? Just plain CPython?

Jack Waters

unread,
May 12, 2015, 12:18:49 AM5/12/15
to sima-...@googlegroups.com
Hi Patrick,

I'm using Anaconda. Several of us at AIBS have hit the same problem and to the best of my knowledge all are using Anaconda, but I can double check. Would switching environments to test whether it's Anaconda-specific be worthwhile? What environment do you generally use?

Thanks,

Jack

Patrick Kaifosh

unread,
May 12, 2015, 2:14:25 PM5/12/15
to sima-...@googlegroups.com
I'll check with the Windows users in our lab. In the mean time, I believe the .exe just calls a Python command, which you can run yourself. To do so, just go to the location where roibuddy has been installed on your machine (site-packages) and run the following command:

$ python roi_buddy.py

Let me know if that works, and sorry for the confusion.

Jack Waters

unread,
May 12, 2015, 9:17:25 PM5/12/15
to sima-...@googlegroups.com
Ran the python 'roi_buddy.py' command and got back an error:  ImportError: No module named Qwt5.
After asking around, I'm told that Qwt5 is obsolete and no longer included in Anaconda. I could try loading WinPython and running ROIbuddy through WinPython, but it sounds as if Qwt5 might have a limited shelf life.
Thoughts? Suggestions?

Patrick Kaifosh

unread,
May 14, 2015, 11:52:44 AM5/14/15
to sima-...@googlegroups.com
Unfortunately some of the tools that we used for ROI Buddy stopped being supported in the past year or so; that said, they still work for the projects current needs, so we are not rushing to replace them, but we are keeping this in mind for future iterations. One of these tools uses Qwt5, and were that packaged still maintained, it would now be using Qwt6 instead.

If you can't get it working with Anaconda, I would suggest WinPython, which has worked for a number of people in the past.

Perhaps some of our Windows users can respond to this thread and offer any suggestions?

Jeff Zaremba

unread,
May 16, 2015, 11:21:17 PM5/16/15
to sima-...@googlegroups.com
Hi Jack and Patrick,

I just did a clean install of SIMA/ROIBuddy in a fresh Anaconda environment using Christophe Gohlke's pre-built windows python wheels (http://www.lfd.uci.edu/~gohlke/pythonlibs/) and it worked OK still.

I downloaded the wheel files (all Python 2.7) for shapely, pyqt, pyqwt, guidata, and guiqwt, and then pip installed shapely.whl, sima, pyqt.whl, pyqwt.whl, guidata.whl, guiqwt.whl, and roibuddy.

I've also seen the issue where the exe doesn't actually run, we'll need to look in to that more, but roi_buddy.py in <site-packages>/ROIBuddy should work.

Let us know if you have any additional issues.

Jeff

Jack Waters

unread,
May 27, 2015, 8:12:54 PM5/27/15
to sima-...@googlegroups.com
Thanks Patrick, Jeff,

We have a slightly hacked version of ROI Buddy that runs without Qwt5. We need to test it further, but it looks like we might have a viable fix.

Jack

Patrick Kaifosh

unread,
May 29, 2015, 10:15:02 AM5/29/15
to sima-...@googlegroups.com, jackwa...@gmail.com
Thanks Jack. Once you are done testing, we would be happy to look at your changes and maybe merge them back into the main repository. Cheers, Patrick

Matthew Davis

unread,
Jul 10, 2015, 10:31:41 AM7/10/15
to sima-...@googlegroups.com
Hey all,

Just wanted to report that I experienced the same problems with the .exe files (win7 64, WinPython, 2.7). Running  roi_buddy.py directly works great, so I am perfectly content.

-Matt
Reply all
Reply to author
Forward
0 new messages