Re: Error when building from git

Ok thanks, Also, I just ran into another problem with freeimage... First, when I first tried to open a file with the freeimage plugin, it was not found (I assumed it was bundled with skimage). So I apt-get installed libfreeimage3. but the error persisted (i.e. RuntimeError: Could not find the plugin "freeimage" for imread.) After some investigation, I found that I had to link /usr/lib/ libfreeimage.so.3 with /usr/lib/libfreeimage.so to pass the plugin test: sudo ln -s /usr/lib/libfreeimage.so.3 /usr/lib/libfreeimage.so Then the test is ok. Maybe there should be some more flexibility in the search for the shared object, in the _load_library(libname, libdir) function? Putting a regexp somewhere? Bye Guillaume On 10 fév, 11:34, Stéfan van der Walt <ste...@sun.ac.za> wrote:
Hi Guillaume
On Fri, Feb 10, 2012 at 1:55 AM, Guillaume
<guilla...@mitotic-machine.org> wrote:
First thanks for the great work. I am planning to use skimage for some fluorescence microscopy analysis.
That's great! We'd love to see what you do once you've got some working examples.
Today I installed from the git repository and an error occurred when compiling:
File "/home/guillaume/Python/lib/scikits-image/skimage/util/ dtype.py", line 20, in <module> in <module> np.float16, np.float32, np.float64) AttributeError: 'module' object has no attribute 'float16'
The float16 data-type was introduced in NumPy 1.6, and while we currently list NumPy 1.4 as a dependency, but we're going to have to up that to 1.6 (I think some of it is being used in the data type conversion code now, e.g.). I hope this isn't too much of an inconvenience!
Regards Stéfan

On Fri, Feb 10, 2012 at 3:01 AM, Guillaume <guillaume@mitotic-machine.org> wrote:
Also, I just ran into another problem with freeimage... [...]
After some investigation, I found that I had to link /usr/lib/ libfreeimage.so.3 with /usr/lib/libfreeimage.so to pass the plugin test:
I just discovered this myself earlier this week. Zachary Pincus has been working on better library location (on Windows mainly), so we should have that sorted out soon. Would you mind creating an issue on GitHub in the mean time, so that we don't lose track of it? Thanks! Stéfan
participants (2)
-
Guillaume
-
Stéfan van der Walt