Re: io.plugins freeimage installation issue?
On 1/26/2012 11:18 AM, Sigmund wrote:
I first uninstalled the old version and than installed the new one. Still the same problem.
The 64 bit FreeImage.dll depends on the VC90 OpenMP runtime. I'm not sure Python installs the full VC90 redistributable package or just the CRT. The full installer, including OpenMP, can be obtained at <http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=2092>. Christoph
pythonw -u "readHASYLAB.py" Traceback (most recent call last): File "readHASYLAB.py", line 5, in<module> io.use_plugin("freeimage", "imread" ) File "C:\Python27\lib\site-packages\skimage\io\_plugins\plugin.py", line 124, in use _load(name) File "C:\Python27\lib\site-packages\skimage\io\_plugins\plugin.py", line 180, in _load fromlist=[modname]) File "C:\Python27\lib\site-packages\skimage\io\_plugins \freeimage_plugin.py", line 99, in<module> 'directories: \'%s\'' % '\', \''.join(lib_dirs)) OSError: Could not find libFreeImage in any of the following directories: 'C:\Python27\lib\site-packages\skimage\io\_plugins', '/ lib', '/usr/lib', '/usr/local/lib', '/opt/local/lib' Exit code: 1 here is the command window response...
C:\Users\Siggi>dir C:\Python27\lib\site-packages\skimage\io\_plugins Volume in Laufwerk C: hat keine Bezeichnung. Volumeseriennummer: CC91-F951
Verzeichnis von C:\Python27\lib\site-packages\skimage\io\_plugins
26.01.2012 20:05<DIR> . 26.01.2012 20:05<DIR> .. 24.10.2011 18:16 89 fits_plugin.ini 24.10.2011 18:16 4.488 fits_plugin.py 26.01.2012 20:05 4.241 fits_plugin.pyc 26.01.2012 20:05 4.241 fits_plugin.pyo 08.08.2011 08:25 3.417.600 FreeImage.dll 24.10.2011 18:16 92 freeimage_plugin.ini 24.10.2011 18:16 16.187 freeimage_plugin.py 26.01.2012 20:05 15.893 freeimage_plugin.pyc 26.01.2012 20:05 15.884 freeimage_plugin.pyo 24.10.2011 18:16 90 gdal_plugin.ini 24.10.2011 18:16 415 gdal_plugin.py 26.01.2012 20:05 721 gdal_plugin.pyc 26.01.2012 20:05 721 gdal_plugin.pyo 24.10.2011 18:16 91 gtk_plugin.ini 24.10.2011 18:16 1.709 gtk_plugin.py 26.01.2012 20:05 2.188 gtk_plugin.pyc 26.01.2012 20:05 2.188 gtk_plugin.pyo 24.10.2011 18:16 105 matplotlib_plugin.ini 24.10.2011 18:16 80 matplotlib_plugin.py 26.01.2012 20:05 443 matplotlib_plugin.pyc 26.01.2012 20:05 443 matplotlib_plugin.pyo 24.10.2011 18:16 91 null_plugin.ini 24.10.2011 18:16 348 null_plugin.py 26.01.2012 20:05 815 null_plugin.pyc 26.01.2012 20:05 815 null_plugin.pyo 24.10.2011 18:16 100 pil_plugin.ini 24.10.2011 18:16 2.886 pil_plugin.py 26.01.2012 20:05 3.423 pil_plugin.pyc 26.01.2012 20:05 3.371 pil_plugin.pyo 24.10.2011 18:16 5.727 plugin.py 26.01.2012 20:05 6.026 plugin.pyc 26.01.2012 20:05 6.026 plugin.pyo 24.10.2011 18:16 105 qt_plugin.ini 24.10.2011 18:16 5.091 qt_plugin.py 26.01.2012 20:05 5.471 qt_plugin.pyc 26.01.2012 20:05 5.471 qt_plugin.pyo 24.10.2011 18:16 11.991 q_color_mixer.py 26.01.2012 20:05 10.638 q_color_mixer.pyc 26.01.2012 20:05 10.638 q_color_mixer.pyo 24.10.2011 18:16 4.818 q_histogram.py 26.01.2012 20:05 5.159 q_histogram.pyc 26.01.2012 20:05 5.159 q_histogram.pyo 03.12.2011 14:28 8.041 scivi.py 26.01.2012 20:05 9.206 scivi.pyc 26.01.2012 20:05 9.206 scivi.pyo 24.10.2011 18:16 222 test_freeimage.py 26.01.2012 20:05 494 test_freeimage.pyc 26.01.2012 20:05 494 test_freeimage.pyo 24.10.2011 18:16 86 test_plugin.ini 24.10.2011 18:16 483 test_plugin.py 26.01.2012 20:05 1.204 test_plugin.pyc 26.01.2012 20:05 902 test_plugin.pyo 24.10.2011 18:16 13.238 util.py 26.01.2012 20:05 16.760 util.pyc 26.01.2012 20:05 16.680 util.pyo 05.12.2011 12:42 67.584 _colormixer.pyd 05.12.2011 12:42 44.032 _histograms.pyd 24.10.2011 18:16 21 __init__.py 26.01.2012 20:05 185 __init__.pyc 26.01.2012 20:05 185 __init__.pyo 60 Datei(en), 3.771.101 Bytes 2 Verzeichnis(se), 1.931.431.936 Bytes frei
C:\Users\Siggi>
An other good idea?
On Jan 26, 2012, at 2:45 PM, Christoph Gohlke wrote:
On 1/26/2012 11:18 AM, Sigmund wrote:
I first uninstalled the old version and than installed the new one. Still the same problem.
The 64 bit FreeImage.dll depends on the VC90 OpenMP runtime. I'm not sure Python installs the full VC90 redistributable package or just the CRT. The full installer, including OpenMP, can be obtained at <http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=2092>.
Christoph
Oh ugh, what a pain! I will try to beef up the error-handling in freeimage_plugin so that it doesn't just say "no file found", but prints proper diagnostics for when it finds but cannot load a library. Sorry you're in the role of windows-bugfinder, Siggi! I don't have personal access to all the permutations of windows, so my testing on this has been obviously a bit spotty. Zach
On 1/26/2012 12:00 PM, Zachary Pincus wrote:
On Jan 26, 2012, at 2:45 PM, Christoph Gohlke wrote:
On 1/26/2012 11:18 AM, Sigmund wrote:
I first uninstalled the old version and than installed the new one. Still the same problem. The 64 bit FreeImage.dll depends on the VC90 OpenMP runtime. I'm not sure Python installs the full VC90 redistributable package or just the CRT. The full installer, including OpenMP, can be obtained at<http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=2092>.
Christoph Oh ugh, what a pain!
I will try to beef up the error-handling in freeimage_plugin so that it doesn't just say "no file found", but prints proper diagnostics for when it finds but cannot load a library.
Sorry you're in the role of windows-bugfinder, Siggi! I don't have personal access to all the permutations of windows, so my testing on this has been obviously a bit spotty.
Zach
Thanks to you all it works now! -- with the version of "scikits-image-0.4.2.win-amd64-py2.7" from Christoph on: http://www.lfd.uci.edu/~gohlke/pythonlibs/#scikits-image -- and the " VC90 Open" runtime from http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=2092 it works! The initial problem is solve too. It' wasn't platform dependent. Just my fault. Thanks a lot guys!
On Thu, Jan 26, 2012 at 1:28 PM, Sigmund <siggin@gmail.com> wrote:
Thanks to you all it works now!
-- with the version of "scikits-image-0.4.2.win-amd64-py2.7" from Christoph on: http://www.lfd.uci.edu/~gohlke/pythonlibs/#scikits-image
-- and the " VC90 Open" runtime from http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=2092
it works!
Excellent! Just to verify: is the last runtime bundled with Chris's package or not? I'd like to update the installation instructions to help others following the same route. Stéfan
participants (4)
-
Christoph Gohlke
-
Sigmund
-
Stéfan van der Walt
-
Zachary Pincus