Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#31510 closed defect (fixed)

py26-pyopencl 2011.1.2_0 importing pyopencl causes an error

Reported by: wcmclen@… Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: samuel.boucher@…
Port: py-pyopencl

Description (last modified by mf2k (Frank Schima))

I'm seeing the following traceback when I try to import the pyopencl module into Python after installing the ports version:

Python 2.6.7 (r267:88850, Aug 22 2011, 14:13:38) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyopencl
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pyopencl/__init__.py", line 19, in <module>
    from decorator import decorator as _decorator
ImportError: No module named decorator

This is on a Snow Leopard system running 10.6.8

Change History (6)

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to snc@…

comment:2 Changed 13 years ago by mf2k (Frank Schima)

I see this problem too.

comment:3 Changed 13 years ago by nerdling (Jeremy Lavergne)

Cc: samuel.boucher@… added

comment:4 Changed 13 years ago by nerdling (Jeremy Lavergne)

Does it work after installing py27-decorator (or py26-decorator, as appropriate)?

comment:5 Changed 13 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: newclosed

Added missing dependency and increased revision, r87664.

comment:6 Changed 13 years ago by nerdling (Jeremy Lavergne)

Port: py-pyopencl added; py26-pyopencl removed
Version: 2.0.3
Note: See TracTickets for help on using tickets.