In Windows 7x64 on a 64-bit machine (Mac Pro running Boot Camp), I am trying
to install pyOpenCl.  I can successfully compile Boost 1.43 from source, an
run the setup.py in pyOpenCl with appropriate (I think) options in
site-config, using Visual Studio 9.  I get no errors.  After installing
pyOpenCl in site-packages, I get the following error on trying to import it:


>>> import pyopencl
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "pyopencl\__init__.py", line 3, in <module>
    import pyopencl._cl as _cl
ImportError: No module named _cl

I tried running Dependency Walker on the pyopencl\_cl.pyd file and found it
looking for both boost_python-vc90-mt-1_43.dll and IEShims.dll, so I threw
these in the pyopencl directory and it still does not import (same error).
 Dependency Walker lists two kinds of errors:

Error: At least one module has an unresolved import due to a missing export
function in an implicitly dependent module.
Error: Modules with different CPU types were found.

I don't understand the former.  For the latter, all dependencies are 64-bit
libraries except for MSVCR90.dll, MSVCP90.dll, the boost_python dll
mentioned above, python26.dll, and the _cl.pyd I am examining.  For the next
step in getting this to work, I don't what of all this is relevant.  Should
I abandon trying to make it work in a 64-bit OS?  Has anyone ever made it
work in 64-bit Windows?

Thanks,
Rick

-- 
Richard C. Gerkin
Postdoctoral Fellow, Dept. of Biological Sciences
Carnegie Mellon University
_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl

Reply via email to