Opened 14 years ago

Last modified 12 years ago

#26132 closed defect

py26-mayavi - build failure — at Version 1

Reported by: rkcrockett@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: py26-mayavi

Description (last modified by mf2k (Frank Schima))

My build of py26-mayavi fails. The log file "var/macports/logs/..._py26-mayavi/main.log" contains the following: "ImportError: No module named vtk"

I came across a similar error mentioned in ticket:21994. Following the instructions there, I did a 'port clean' on vtk5, and rebuilt it with python26: port install vtk5 +python26 +x11.

Then installing py26-mayavi worked fine.

Change History (1)

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

Description: modified (diff)
Keywords: mayavi vtk5 removed

You found the solution, which is to install vtk5 with the +python26 variant. Note that the x11 variant is added by default and does not need to be specified. But we have no way currently to depend on a variant of a port. See #126.

Note: See TracTickets for help on using tickets.