Opened 13 years ago

Last modified 13 years ago

#33357 closed defect

pyopencl-py27 missing dependency to pytools — at Version 1

Reported by: martin.b.eriksen@… Owned by: larry.velazquez@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: py-pyopencl

Description (last modified by mf2k (Frank Schima))

Trying to implement the example at http://documen.tician.de/pyopencl/, there is a problem importing a module named "pytools". Installing "sudo easy_install-2.7 pytools" solves the problem. Is there missing dependencies in the macports package?

[1]
Traceback (most recent call last):
  File "./a.py", line 25, in <module>
    """).build()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyopencl/__init__.py", line 113, in build
    from pyopencl.cache import create_built_program_from_source_cached
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyopencl/cache.py", line 11, in <module>
    from pytools import Record

Change History (2)

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

Description: modified (diff)
Owner: changed from macports-tickets@… to larry.velazquez@…
Port: py-pyopencl added

Are you saying the port builds fine but errors out at runtime?

Changed 13 years ago by michelle.lynn.gill@…

Attachment: Portfile.diff added
Note: See TracTickets for help on using tickets.