Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| python [2008/10/31 16:55] – gerard | python [2017/08/25 07:56] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 35: | Ligne 35: | ||
| voir [[http:// | voir [[http:// | ||
| + | |||
| + | |||
| + | ====== numpy-1.2.1 ====== | ||
| + | ===== avec python 2.4.4 ===== | ||
| + | mêmes corrections que pour la version 1.0.4 | ||
| + | < | ||
| + | > python setup.py install --prefix=$HOME/ | ||
| + | </ | ||
| ====== numpy-1.0.4 ====== | ====== numpy-1.0.4 ====== | ||
| + | |||
| ===== Installation avec Python 2.4 ===== | ===== Installation avec Python 2.4 ===== | ||
| Ligne 57: | Ligne 66: | ||
| </ | </ | ||
| - | remove numpy/ | + | remove numpy/ |
| + | < | ||
| + | > diff -u numpy/ | ||
| + | --- numpy/ | ||
| + | +++ numpy/ | ||
| + | @@ -38,7 +38,7 @@ | ||
| + | | ||
| + | def get_libraries(self): | ||
| + | opt = [] | ||
| + | - opt.extend([' | ||
| + | + opt.extend([' | ||
| + | | ||
| + | |||
| + | if __name__ == ' | ||
| + | </ | ||
| + | , et enfin: | ||
| < | < | ||
| > python setup.py install --prefix=$HOME/ | > python setup.py install --prefix=$HOME/ | ||
| Ligne 120: | Ligne 144: | ||
| / | / | ||
| </ | </ | ||
| + | |||
| ===== Installation avec python 2.5.2 ===== | ===== Installation avec python 2.5.2 ===== | ||
| Ligne 127: | Ligne 152: | ||
| > setenv PATH / | > setenv PATH / | ||
| > python setup.py install --prefix=$HOME/ | > python setup.py install --prefix=$HOME/ | ||
| + | </ | ||
| ====== scipy ====== | ====== scipy ====== | ||
| + | |||
| + | |||
| + | |||
| + | ===== version 0.6.0 ===== | ||
| + | |||
| + | < | ||
| + | > setenv PYTHONPATH / | ||
| + | > mkdir -p scipy/ | ||
| + | > cp ../ | ||
| + | > setenv LDFLAGS " | ||
| + | > setenv LAPACK / | ||
| + | > setenv BLAS / | ||
| + | > cp -rp scipy/ | ||
| + | > diff -u scipy/ | ||
| + | --- scipy/ | ||
| + | +++ scipy/ | ||
| + | @@ -22,8 +22,8 @@ | ||
| + | |||
| + | # | ||
| + | # | ||
| + | +#include < | ||
| + | |||
| + | - | ||
| + | /* | ||
| + | * Extract main diagonal of CSR matrix A | ||
| + | * | ||
| + | </ | ||
| + | * [[http:// | ||
| ===== Installation avec python 2.4 ===== | ===== Installation avec python 2.4 ===== | ||
| Ligne 176: | Ligne 230: | ||
| </ | </ | ||
| + | |||
| ===== Installation avec python 2.5.1 ===== | ===== Installation avec python 2.5.1 ===== | ||
| Ligne 226: | Ligne 281: | ||
| python setup.py install --prefix=$HOME | & tee INSTALL.LOG | python setup.py install --prefix=$HOME | & tee INSTALL.LOG | ||
| </ | </ | ||
| + | |||
| + | |||
| Ligne 232: | Ligne 289: | ||
| > pwd | > pwd | ||
| / | / | ||
| + | bash-3.00$ export PYTHONPATH=/ | ||
| + | bash-3.00$ export PATH=/ | ||
| + | bash-3.00$ python setup.py install --prefix=$HOME | tee INSTALL.LOG | ||
| + | Package libagraph was not found in the pkg-config search path. | ||
| + | Perhaps you should add the directory containing `libagraph.pc' | ||
| + | to the PKG_CONFIG_PATH environment variable | ||
| + | No package ' | ||
| + | Package libagraph was not found in the pkg-config search path. | ||
| + | Perhaps you should add the directory containing `libagraph.pc' | ||
| + | to the PKG_CONFIG_PATH environment variable | ||
| + | No package ' | ||
| + | Trying pkg-config | ||
| + | Trying dotneato-config | ||
| + | library_path=/ | ||
| + | include_path=/ | ||
| + | running install | ||
| + | running build | ||
| + | running build_py | ||
| + | ... | ||
| + | |||
| </ | </ | ||
| pour nettoyer, effacer: | pour nettoyer, effacer: | ||