Log Book Entry No.11

Days, Calendar Created: 10 Sep 2013 16:48:33 Days, Calendar Last Revised: 11 Sep 2013 15:49:16 Person PedroPaiva Text 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)
    1. Download the required files: Minuit-1_7_9 and pyminuit-1.2.1
    2. Extract and change to Minuit directory (under cygwin)
    3. Compile Minuit with:
    4. bash configure
      make
      make install
    5. Change to pyminuit directory ( cd ../pyminuit-1.2.1 )
    6. 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

LogBookForm
Subject Building Python on cygwin
Status choice-no

Physics WebpagesRHUL WebpagesCampus Connect • Royal Holloway, University of London, Egham, Surrey TW20 0EX; Tel/Fax +44 (0)1784 434455/437520

Topic revision: r3 - 11 Sep 2013 - PedroPaiva

 
This site is powered by the TWiki collaboration platformCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback