Log Book Entry No.11
Created: 10 Sep 2013 16:48:33 |
Last Revised: 11 Sep 2013 15:49:16 |
PedroPaiva |
Building Python on cygwin |
pre-requisite: have
Cygwin
installed and a GNU compiler.
Cygwin comes with python pre-installed, from there one can install new packages with:
-
easy_install packageName
-
pip install packageName
To use
pip
you must install it first using
easy_install pip
The
pip
method is favorable for it allows you to search, uninstall and upgrade packages easily.
==pip== guide:
-
pip freeze
- display currently installed packages
-
pip search packageName
-
pip install packageName [--upgrade]
- installs or upgrade an already installed package
-
pip uninstall packageName
- uninstall a package
Packages installed
- ipython
- numpy
- scipy
- pyfits
To be installed:
- matplotlib
- opengl
- pyside
- pywin32 (don't support cygwin)
- pyminuit (detailed guide
)
- Download the required files: Minuit-1_7_9
and pyminuit-1.2.1
- Extract and change to Minuit directory (under cygwin)
- Compile Minuit with:
-
bash configure
make
make install
- Change to pyminuit directory (
cd ../pyminuit-1.2.1
)
- Build and install with:
python setup.py install --with-minuit=/location/of/Minuit-1_7_9
Abandoned. No pywin32 support, changing for full Windows python.
Check [[LogBookAstronomyEntry0012][this] entry.
Back to: LogBookAstronomy