[MacPorts] #31510: py26-pyopencl 2011.1.2_0 importing pyopencl causes an error

MacPorts noreply at macports.org
Fri Nov 25 14:30:11 PST 2011


#31510: py26-pyopencl 2011.1.2_0 importing pyopencl causes an error
---------------------------------+------------------------------------------
 Reporter:  wcmclen@…            |       Owner:  snc@…           
     Type:  defect               |      Status:  new             
 Priority:  Normal               |   Milestone:                  
Component:  ports                |     Version:  2.0.3           
 Keywords:                       |        Port:  py26-pyopencl   
---------------------------------+------------------------------------------
Changes (by macsforever2000@…):

  * owner:  macports-tickets@… => snc@…


Old description:

> 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

New description:

 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

--

-- 
Ticket URL: <https://trac.macports.org/ticket/31510#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list