[MacPorts] #38357: vtk5: cannot import in python 2.7.3

MacPorts noreply at macports.org
Mon Mar 11 10:40:41 PDT 2013


#38357: vtk5: cannot import in python 2.7.3
---------------------------+---------------------------
  Reporter:  j.pogacnik@…  |      Owner:  adfernandes@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.1.3
Resolution:                |   Keywords:
      Port:  vtk5          |
---------------------------+---------------------------

Comment (by adfernandes@…):

 Hi, Justin -

 The error you describe comes from having python trying to load a `vtk`
 module for a different python interpreter.

 VTK should build correctly using the macports python; nothing should be
 built using the system python.

 Are all your ports up-to-date? Where I've seen this problem before is when
 python is trying to load an old vtk (one built without macports, or
 something like that).

 {{{
 sudo port -dv clean all
 sudo port -dv selfupdate
 sudo port -dv upgrade outdated
 }}}

 Should help.

-- 
Ticket URL: <https://trac.macports.org/ticket/38357#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list