[MacPorts] #42250: clean port install of python and opengl, attempted python module import fails

MacPorts noreply at macports.org
Fri Jan 24 18:20:45 PST 2014


#42250: clean port install of python and opengl, attempted python module import
fails
--------------------------+--------------------------------
  Reporter:  jacoblee@…   |      Owner:  macports-tickets@…
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.2.1
Resolution:               |   Keywords:
      Port:  py27-opengl  |
--------------------------+--------------------------------

Comment (by michaelld@…):

 If py27-opengl is installed, then so is py27-numpy since py27-numpy is a
 dependency of py27-opengl-accelerate, which is in turn a dependency of
 py27-opengl.

 In my memory, the ValueError happens when a given port was installed using
 a given version of NumPy, then NumPy was updated but the given port was
 not. So, it seems likely that py27-opengl-accelerate need to be rebuild
 for a newer NumPy. I recommend that you build from source; try:
 {{{
 sudo port -f uninstall py27-opengl-accelerate
 sudo port -s install py27-opengl-accelerate
 }}}
 first and then see if the import works. Chances are that it will. If
 that's the case, then we need to rev-bump py*-opengl-accelerate.

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


More information about the macports-tickets mailing list