Page 1 of 1

Importing Ice 3.5.1 (Python 27, win7 64bit)

PostPosted: Tue Jul 22, 2014 8:30 am
by ebbwdan
Hi

I have downloaded the 64bit build of Ice 3.5.1 for Windows from http://downloads.openmicroscopy.org/ice/3.5.1-2/.

I have Python 2.7.8 installed, I have added 'icepath/python' to my pythonpath but still I can't successfully import the module. I get the following error:

ImportError: DLL load failed: The specified module could not be found.


I'd be very grateful for any thoughts/suggestions!

Cheers,

Dan.

Re: Importing Ice 3.5.1 (Python 27, win7 64bit)

PostPosted: Tue Jul 22, 2014 8:54 am
by manics
Hi Dan

Did you reboot after setting your paths? If that didn't fix things, could you run the following in a command prompt and paste the output:

Code: Select all
>echo %PYTHONPATH%
>echo %PATH%
>python -c "import platform; print platform.platform(), platform.architecture()"
>python -c "import Ice"


Thanks, Simon

Re: Importing Ice 3.5.1 (Python 27, win7 64bit)

PostPosted: Tue Jul 22, 2014 11:11 am
by rleigh
Dear Dan,

Could you please also confirm that you are using 64-bit python? 32-bit python won't be able to load the 64-bit Ice libraries which will give the error you are getting.


Thanks,
Roger

Re: Importing Ice 3.5.1 (Python 27, win7 64bit)

PostPosted: Wed Jul 23, 2014 2:06 am
by ebbwdan
Hi Roger and Simon,

Apologies, I forgot to add 'path to ice\bin' to my path. Works now.

Thanks for your responses!

Cheers,

Dan.