[MacPorts] #25244: py26-matplotlib: You must install numpy 1.1 or later to build

MacPorts noreply at macports.org
Mon Jun 14 21:33:24 PDT 2010


#25244: py26-matplotlib: You must install numpy 1.1 or later to build
---------------------------------+------------------------------------------
 Reporter:  info@…               |       Owner:  ram@…           
     Type:  defect               |      Status:  assigned        
 Priority:  Normal               |   Milestone:                  
Component:  ports                |     Version:  1.9.0           
 Keywords:                       |        Port:  py26-matplotlib 
---------------------------------+------------------------------------------
Changes (by ram@…):

  * status:  new => assigned


Comment:

 Replying to [comment:2 info@…]:
 > I saw that the MacPorts process also installed another version of
 python, and there was a message about switching to use that version - is
 that the one that I need to use?

 What do you mean by "need to use"? The python_select script just creates a
 python symlink pointing to the specified python version. Whether you run
 that command or not should have no effect on matplotlib being able to find
 NumPy. I would guess that theres some problem with your NumPy
 installation.

 > Should I also not have a PYTHONPATH set, would that mess up the install?

 The modules are installed in the default location for where python is
 installed so you do not need to set PYTHONPATH.

 During the build of matplotlib it simply tries to import the numpy module,
 if that fails it returns the error message to you quote above. Does the
 following command return any output:

 {{{
 $ /opt/local/bin/python2.6 -c "import numpy"
 $
 }}}

 Assuming you're prefix is /opt/local, the command should run for a while
 and then return to the prompt.

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


More information about the macports-tickets mailing list