Difference: LogBookAstronomyEntry0011 (1 vs. 3)

Revision 311 Sep 2013 - PedroPaiva

Line: 1 to 1
 
META TOPICPARENT name="LogBookAstronomy"

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
Line: 13 to 13
 Cygwin comes with python pre-installed, from there one can install new packages with:
  • easy_install packageName
  • pip install packageName
Changed:
<
<
To use pip you must install it first using easy_install pip
>
>
To use pip you must install it first using easy_install pip
 
Changed:
<
<
The
pip
>
>
The pip method is favorable for it allows you to search, uninstall and upgrade packages easily.
 
Changed:
<
<
method is favorable for it allows you to search, uninstall and upgrade packages.


pip
guide:
  • pip freeze
    - display currently installed packages
  • pip search packageName
  • Build and install with: pip install packageName [--upgrade]
    - installs or upgrade an already installed package
  • pip uninstall packageName
    - uninstall a package
>
>
==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
Line: 41 to 38
 
    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:
Changed:
<
<
    1. bash configure make make install
    2. Change to pyminuit directory (
      cd ../pyminuit-1.2.1
      )
    3. Build and install with:
      python setup.py install --with-minuit=/location/of/Minuit-1_7_9
>
>
    1. bash configure
      make
      make install
    2. Change to pyminuit directory ( cd ../pyminuit-1.2.1 )
    3. 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

META FORM name="%25SYSTEMWEB%25.LogBookForm"
FORM FIELD Subject Subject Building Python on cygwin
Changed:
<
<
FORM FIELD Status Status bar_60pc
>
>
FORM FIELD Status Status choice-no
 
FORM FIELD Author Author PedroDeCarvalhoPaiva

Revision 211 Sep 2013 - PedroPaiva

Line: 1 to 1
 
META TOPICPARENT name="LogBookAstronomy"

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
Line: 29 to 29
 
  • ipython
  • numpy
  • scipy
Added:
>
>
  • pyfits

To be installed:

 
  • matplotlib
Added:
>
>
  • opengl
  • pyside
  • pywin32 (don't support cygwin)
 

Revision 110 Sep 2013 - PedroPaiva

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="LogBookAstronomy"

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

<-- 
Please DO NOT alter or remove the line below this line. 
  • Set EDITMETHOD = wysiwyg
Please DO NOT alter or remove the line above this line. -->

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.


pip
guide:
  • pip freeze
    - display currently installed packages
  • pip search packageName
  • Build and install with: pip install packageName [--upgrade]
    - installs or upgrade an already installed package
  • pip uninstall packageName
    - uninstall a package
Packages installed
  • ipython
  • numpy
  • scipy
  • matplotlib

  • 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
Back to: LogBookAstronomy

META FORM name="%25SYSTEMWEB%25.LogBookForm"
FORM FIELD Subject Subject Building Python on cygwin
FORM FIELD Status Status bar_60pc
FORM FIELD Author Author PedroDeCarvalhoPaiva
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 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