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 18:01] – gerard | python [2017/08/25 09:56] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 45: | Ligne 45: | ||
====== numpy-1.0.4 ====== | ====== numpy-1.0.4 ====== | ||
+ | |||
===== Installation avec Python 2.4 ===== | ===== Installation avec Python 2.4 ===== | ||
Ligne 65: | 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 128: | Ligne 144: | ||
/ | / | ||
</ | </ | ||
+ | |||
===== Installation avec python 2.5.2 ===== | ===== Installation avec python 2.5.2 ===== | ||
Ligne 135: | 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 184: | Ligne 230: | ||
</ | </ | ||
+ | |||
===== Installation avec python 2.5.1 ===== | ===== Installation avec python 2.5.1 ===== | ||
Ligne 234: | Ligne 281: | ||
python setup.py install --prefix=$HOME | & tee INSTALL.LOG | python setup.py install --prefix=$HOME | & tee INSTALL.LOG | ||
</ | </ | ||
+ | |||
+ | |||
Ligne 240: | 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: |