Hi Andreas, > > First of all I would like to say that I had subscribed to you pyopencl > > mailing list few days before I mailed you first time. But somehow the > > mailing list did not work.
I tried today again. >An attempt was made to subscribe your address to the mailing list > [email protected]. You are already subscribed to this mailing list. Well, maybe there is no mail traffic at all. > Download pytools from here: > > https://pypi.python.org/pypi/pytools > > unpack, cd pytools-2013.5.3, python setup.py install. Thanks, worked well. No compiler needed. Your pyopencl runs well with python on windows 8. :) Great work. Yesterday, I tried to install cygwin on windows 8 (amd64). Today, everything (python27 etc) runs well on cygwin. Ok, but I have another problem: As read on http://www.lfd.uci.edu/~gohlke/pythonlibs/ the offered compiled libs do support cygwin. Well, they worked with main python from python.org very well, as already mentioned. I tried to install the binaries of pyopencl and its dependencies, but the installer forced me to install everything to directory c:\python27 where the main windows python 2.7 is installed. So, I extracted all the files from the setup files and copied it to c:\cygwin\usr\lib\python2.7\site-packages\ . Scipy, decorator, numpy, and pytools are installed. Now, running python in cygwin, in fact, I can import scipy, numpy, pytools. But when I try to import pyopencl it says $ python Python 2.7.3 (default, Dec 18 2012, 13:50:09) [GCC 4.5.3] on cygwin Type "help", "copyright", "credits" or "license" for more information. >>> import pyopencl Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/site-packages/pyopencl/__init__.py", line 28, in <module> import pyopencl._cl as _cl ImportError: No module named _cl I ran $ python -v -c 'import pyopencl' | less import UserDict # precompiled from /usr/lib/python2.7/UserDict.pyc # /usr/lib/python2.7/_abcoll.pyc matches /usr/lib/python2.7/_abcoll.py import _abcoll # precompiled from /usr/lib/python2.7/_abcoll.pyc # /usr/lib/python2.7/abc.pyc matches /usr/lib/python2.7/abc.py import abc # precompiled from /usr/lib/python2.7/abc.pyc # /usr/lib/python2.7/_weakrefset.pyc matches /usr/lib/python2.7/_weakrefset.py import _weakrefset # precompiled from /usr/lib/python2.7/_weakrefset.pyc import _weakref # builtin # /usr/lib/python2.7/copy_reg.pyc matches /usr/lib/python2.7/copy_reg.py import copy_reg # precompiled from /usr/lib/python2.7/copy_reg.pyc # /usr/lib/python2.7/traceback.pyc matches /usr/lib/python2.7/traceback.py import traceback # precompiled from /usr/lib/python2.7/traceback.pyc # /usr/lib/python2.7/sysconfig.pyc matches /usr/lib/python2.7/sysconfig.py import sysconfig # precompiled from /usr/lib/python2.7/sysconfig.pyc # /usr/lib/python2.7/re.pyc matches /usr/lib/python2.7/re.py import re # precompiled from /usr/lib/python2.7/re.pyc # /usr/lib/python2.7/sre_compile.pyc matches /usr/lib/python2.7/sre_compile.py import sre_compile # precompiled from /usr/lib/python2.7/sre_compile.pyc import _sre # builtin # /usr/lib/python2.7/sre_parse.pyc matches /usr/lib/python2.7/sre_parse.py import sre_parse # precompiled from /usr/lib/python2.7/sre_parse.pyc # /usr/lib/python2.7/sre_constants.pyc matches /usr/lib/python2.7/sre_constants.py import sre_constants # precompiled from /usr/lib/python2.7/sre_constants.pyc import encodings # directory /usr/lib/python2.7/encodings # /usr/lib/python2.7/encodings/__init__.pyc matches /usr/lib/python2.7/encodings/__init__.py import encodings # precompiled from /usr/lib/python2.7/encodings/__init__.pyc # /usr/lib/python2.7/codecs.pyc matches /usr/lib/python2.7/codecs.py import codecs # precompiled from /usr/lib/python2.7/codecs.pyc import _codecs # builtin # /usr/lib/python2.7/encodings/aliases.pyc matches /usr/lib/python2.7/encodings/aliases.py import encodings.aliases # precompiled from /usr/lib/python2.7/encodings/aliases.pyc # /usr/lib/python2.7/encodings/utf_8.pyc matches /usr/lib/python2.7/encodings/utf_8.py import encodings.utf_8 # precompiled from /usr/lib/python2.7/encodings/utf_8.pyc Python 2.7.3 (default, Dec 18 2012, 13:50:09) [GCC 4.5.3] on cygwin Type "help", "copyright", "credits" or "license" for more information. import pyopencl # directory /usr/lib/python2.7/site-packages/pyopencl # /usr/lib/python2.7/site-packages/pyopencl/__init__.pyc matches /usr/lib/python2.7/site-packages/pyopencl/__init__.py import pyopencl # precompiled from /usr/lib/python2.7/site-packages/pyopencl/__init__.pyc # /usr/lib/python2.7/site-packages/pyopencl/version.pyc matches /usr/lib/python2.7/site-packages/pyopencl/version.py import pyopencl.version # precompiled from /usr/lib/python2.7/site-packages/pyopencl/version.pyc Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.7/site-packages/pyopencl/__init__.py", line 28, in <module> import pyopencl._cl as _cl ImportError: No module named _cl # clear __builtin__._ # clear sys.path # clear sys.argv # clear sys.ps1 # clear sys.ps2 # clear sys.exitfunc # clear sys.exc_type # clear sys.exc_value # clear sys.exc_traceback # clear sys.last_type # clear sys.last_value # clear sys.last_traceback # clear sys.path_hooks # clear sys.path_importer_cache # clear sys.meta_path # clear sys.flags # clear sys.float_info # restore sys.stdin # restore sys.stdout # restore sys.stderr # cleanup __main__ # cleanup[1] encodings # cleanup[1] site # cleanup[1] sysconfig # cleanup[1] abc # cleanup[1] _weakrefset # cleanup[1] sre_constants # cleanup[1] re # cleanup[1] _codecs # cleanup[1] _warnings # cleanup[1] zipimport # cleanup[1] encodings.utf_8 # cleanup[1] codecs # cleanup[1] signal # cleanup[1] traceback # cleanup[1] pyopencl.version # cleanup[1] posix # cleanup[1] encodings.aliases # cleanup[1] exceptions # cleanup[1] _weakref # cleanup[1] sre_compile # cleanup[1] _sre # cleanup[1] sre_parse # cleanup[2] copy_reg # cleanup[2] posixpath # cleanup[2] errno # cleanup[2] _abcoll # cleanup[2] types # cleanup[2] genericpath # cleanup[2] stat # cleanup[2] warnings # cleanup[2] UserDict # cleanup[2] os.path # cleanup[2] linecache # cleanup[2] os # cleanup sys # cleanup __builtin__ # cleanup ints: 19 unfreed ints # cleanup floats Do you have any idea how to solve that? Regards, Marcus _______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
