linux - How to specify the bash environment to use the Numeric module for Python? -


i trying manually install (now deprecated need it) numeric module python. use mandriva 2010. have downloaded numeric 24.2, used:

python setup.py build python setup.py install --prefix=/other/directory 

so now, in /other/directory, have following directories:

./include/python2.6/numeric/ ./lib/python2.6/site-packages/numeric/ 

all need configure correctly pythonpath and/or ld_library_path make find numeric module. problem can't figure it. have tried common values, have received same negative answer:

import numeric traceback (most recent call last): file "<stdin>", line 1, in <module> importerror: no module named numeric 

what correct parameters? missing something?

$pythonpath should include entry /other/directory/lib/python2.6/site-packages, , if native library installed in /other/directory/lib, $ld_library_path should include /other/directory/lib.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -