scipy

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
Prochaine révisionLes deux révisions suivantes
scipy [2008/03/06 09:38] gerardscipy [2008/03/27 15:41] gerard
Ligne 1: Ligne 1:
-====== numpy ======+====== A propos de python ====== 
 +On trouve plusieurs versions de python sur nemo:
  
 +^ origine ^ chemin ^ version ^ PYTHONPATH ^ 32/64 ^
 +| SUNWPython | /usr/bin/python | 2.4.4 | /local/apps/sunw/lib/python2.5/site-packages | |
 +| SMCpython | /usr/local/bin/python | 2.5.1 | /local/apps/smc/lib/python2.5/site-packages | | 
 +| CSWpython | /opt/csw/bin/python | 2.5.1 | /local/apps/csw/lib/python2.5/site-packages | |
 +| sources | /local/apps/bin/python | 2.5.2 | /local/apps/lib/python2.5/site-packages | |
 +
 +====== numpy ======
 ===== Installation avec Python 2.4 ===== ===== Installation avec Python 2.4 =====
   * [[http://www.scipy.org/Download|numpy-1.0.4.tar.gz]]   * [[http://www.scipy.org/Download|numpy-1.0.4.tar.gz]]
Ligne 20: Ligne 28:
  
 </code> </code>
-et enfin:+remove numpy/distutils/fcompiler/sun.py f77compact from the optionlist, et enfin:
 <code> <code>
 > python setup.py install --prefix=$HOME/lib | & tee INSTALL.LOG > python setup.py install --prefix=$HOME/lib | & tee INSTALL.LOG
Ligne 154: Ligne 162:
 </code> </code>
  
-====== PyML ====== 
-<code> 
-> cd src/PyML-0.6.15 
-> python setup.py build 
  
-</code> 
  
-lorsqu'on a cette erreur: 
-<code> 
-> python setup.py build                                                         running build 
-running build_py 
-running build_ext 
-building 'PyML/ext/_libsvm' extension 
-C compiler: /usr/lib/python2.4/pycc -DNDEBUG 
- 
-compile options: '-I/usr/include/python2.4 -c' 
-pycc: PyML/ext/libsvm.cpp 
-cc: No input file specified, no output generated 
-cc: No input file specified, no output generated 
-error: Command "/usr/lib/python2.4/pycc -DNDEBUG -I/usr/include/python2.4 -c PyML/ext/libsvm.cpp -o build/temp.solaris-2.10-i86pc-2.4/PyML/ext/libsvm.o" failed with exit status 1 
- 
-</code> 
-c'est parce qu'il utilise pycc au lieu de pyCC! 
-<code> 
-> /usr/lib/python2.4/pyCC -DNDEBUG -I/usr/include/python2.4 -c PyML/ext/libsvm_wrap.cpp -o build/temp.solaris-2.10-i86pc-2.4/PyML/ext/libsvm_wrap.o 
- 
-</code> 
-il faut aller voir dans les distutils de pynum pour comprendre ce qui se passe?! 
  
 ====== PyStemmer ====== ====== PyStemmer ======
Ligne 195: Ligne 177:
  
 </code> </code>
 +
 +
 +====== PyML ======
 +  * problèmes de [[compil_pyml|compilation]]