[MacPorts] #26132: py26-mayavi - build failure

MacPorts noreply at macports.org
Tue Aug 17 17:50:46 PDT 2010


#26132: py26-mayavi - build failure
--------------------------------+-------------------------------------------
 Reporter:  rkcrockett@…        |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  1.9.1                                
 Keywords:                      |        Port:  py26-mayavi                          
--------------------------------+-------------------------------------------
Changes (by macsforever2000@…):

  * keywords:  mayavi, vtk5 =>


Old description:

> 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
> [https://trac.macports.org/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.

New description:

 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.

--

Comment:

 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.

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


More information about the macports-tickets mailing list