|
| 1 | +Installing and Running IPython for Windows: |
| 2 | +############################### |
| 3 | + |
| 4 | +It turns out that iPython works best when there are few other packages installed that it depends on, so it'snot quite as easy as simply instaling the one package. |
| 5 | + |
| 6 | +these re some note put together by Dick Smith -- as he took the time to figure it out, We asked him to write up these notes: |
| 7 | + |
| 8 | + |
| 9 | +Preconditions: |
| 10 | +=================== |
| 11 | + |
| 12 | +(see: https://github.com/UWPCE-PythonCert/IntroToPython/blob/master/GeneralNotes/PythonOnWindows.rst for more detail) |
| 13 | + |
| 14 | +Python Interpreter: |
| 15 | +-------------------- |
| 16 | +32 or 64 bit version of Python for Windows 2.7 installed in C:\Python27\ |
| 17 | +(the version found at python.org) |
| 18 | + |
| 19 | +PATH set: |
| 20 | +------------- |
| 21 | +MyComputer -> Properties -> Advanced System Settings -> System Variables |
| 22 | +set up appropriately to modify PATH or path and create PYTHONPATH, |
| 23 | +per install instructions., |
| 24 | + |
| 25 | +Getting packages: |
| 26 | +=================== |
| 27 | +Use your web browser to navigate to this URL for downloadable |
| 28 | +Python Windows extension installers recommended by the instructor: |
| 29 | + |
| 30 | +"Unofficial Windows Binaries for Python Extension Packages |
| 31 | +by Christoph Gohlke, Laboratory for Fluorescence Dynamics, |
| 32 | +University of California, Irvine". |
| 33 | + |
| 34 | +http://www.lfd.uci.edu/~gohlke/pythonlibs/ |
| 35 | + |
| 36 | +This is not a Git repository. These are Windows-executable installers |
| 37 | +which should be pulled to your PC's download directory. |
| 38 | + |
| 39 | +Single-clicking will start the download process, then executed with a double-click. |
| 40 | + |
| 41 | +NOTE: This repository containt both 32bit and 64bit pacakges -- make sure to get the ones that match the python installed. |
| 42 | + |
| 43 | +Download and run these three installers, in this order: |
| 44 | + |
| 45 | +SetupTools: -- Required by the IPython install script. |
| 46 | + |
| 47 | +setuptools-1.1.6.win32-py2.7.exe |
| 48 | + |
| 49 | +PyReadline: -- Windows extension for adding color (and other nifty features) to the interactive |
| 50 | +presentation. |
| 51 | + |
| 52 | +pyreadline-2.0.win32-py2.7.exe |
| 53 | + |
| 54 | +IPython itself: |
| 55 | + |
| 56 | +ipython-1.1.0.win32-py2.7.exe |
| 57 | + |
| 58 | +Run it by double-clicking on C:\Python27\Scripts\ipython.exe |
| 59 | + |
| 60 | +or typing ``ipython`` on the command line (DOS box) |
| 61 | + |
| 62 | +I recommend making a desktop shortcut and putting that in the target line. |
| 63 | + |
| 64 | +It brings up a commandline console with some initial text about |
| 65 | +resources available via commands, and the Ipython prompt: |
| 66 | + |
| 67 | + IN [1]: |
| 68 | + |
| 69 | + |
0 commit comments