1
votes

I am currently installing the ImageJ package for Python=2.7. I keep getting the error:

from operator import add

---> from ut.ml.sk.feature_extraction.text import TreeTokenizer

from functools import reduce

ImportError: No module named ut.ml.sk.feature_extraction.text.

I have Googled and used conda search ut to find this module, and I haven't been able to dig up any information on it. Does anyone know where I can find more information on this module, or even better, know how to install it using pip/conda? Thank you all so much!

2
Is it possible that it is just a mirror of SciKit learn library. sk is short for scikit learn? - mmustafaicer
Not answering your question. But every month there's something new that stops working or stops being supported in Python 2.7. You're really better off switching to Python 3 - Frank Yellin
Python 2.7 is no longer supported. - Peter Wood
Here is a page on ImageJ and python: imagej.net/scripting/python. It could be that this has to run on jython and that this is a java package. - tdelaney

2 Answers

1
votes

Perhaps this is what you're after: https://github.com/thorwhalen/ut

Miscellaneous Personal Utility functions.

-1
votes

ut "universal toolkit". Have you tried to pip install ut That will install ut.