MadAnalysis5: Missing Numpy and couldn't install it

Asked by yvonne ng

Hi So I am trying to run MadAnalysis5.
As I run it for the first time, the program keeps complaining that numpy is missing and gives me the following error:

Checking mandatory packages:
     - python [OK]
     - python library: numpy [FAILURE]
 ** ERROR: The python library 'numpy' is not found. Please install it with the following command line:
 ** ERROR: apt-get install python-numpy

I tried the "sudo apt-get install python-numpy" it keeps telling me that it doesn't work, it is something that is very similar to the error described here:
http://mrprajesh.blogspot.hk/2009/11/e-couldnt-find-package-on-apt-get.html
but I couldn't solve it the same way as I am using an OSX system.

I therefore switched to using home-brew to install the program.
I did this:
1. Go to terminal:
2. $brew search numpy
3. (look at the file generated. found a file called: homebrew/python/numpy)
4. $brew install /homebrew/python/numpy

It is installed successfully. but when I go back to running MA5, it give me the exact same error claiming that The python library 'numpy' is not found.

I am using Python 2.7 and OSX 10.9.5 if it makes a difference.
Thanks in advance for your help!

Question information

Language:
English Edit question
Status:
Answered
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
yvonne ng (greywolf-net) said :
#1

also, the Numpy package that is installed through home-brew is stored in /usr/local/Cellar/. I wonder if the path makes it hard for MA5 to read? Thanks.

Revision history for this message
Benjamin Fuks (fuks) said :
#2

Hi,

Please double check the environment variables. It is likely that the numpy module is not correctly referenced. Note that you can also install numpy locally within your madanalysis 5 copy by typing "install numpy" (please use v1.1.12 beta).

Regards,

Benjamin

Can you help with this problem?

Provide an answer of your own, or ask yvonne ng for more information if necessary.

To post a message you must log in.