Make iPython available on OSGeo4W

(Sorry for the scribbled notes)

32bit

  1. Install the Visual C ++ 9.0 compiler Microsoft Visual C++ Compiler for Python 2.7
  2. Start OSGeo4W setup
  3. Add pip with advanced installation
  4. Start OSGeo4W shell
  5. pip install setuptools
  6. pip install ipython
  7. Happiness.

64bit Insert python-devel after 2.1 of 32bit version above 2.2. Added python-devel

I am happy with the same below.


(Added on 2017/06/21)

In 64bit, win8.1 environment,

NoConsoleScreenBufferError

I get that and iPython doesn't start. For the time being

\OSGeo4W64\apps\Python27\Lib\site-packages\prompt_toolkit\terminal\win32_output.py

In ** get_win32_screen_buffer_info **

success = windll.kernel32.GetConsoleScreenBufferInfo(self.hconsole, byref(sbinfo))

To

success = self._winapi(windll.kernel32.GetConsoleScreenBufferInfo, self.hconsole, byref(sbinfo))

If you replace it with, it will work. (Since it is commented out in the code, it is easy to replace it.)

Recommended Posts

Make iPython available on OSGeo4W
Make Cython available on Windows.
[Python] Make pip available on macOS
Make pyknp (JUMAN, KNP) available on windows
Make SciPy, scikit-learn available on M1 chip Macbooks
Make pip available on Mac (easy_install is deprecated)
Make DHT11 available on Raspberry Pi + python (memo)
Make slides with iPython
Make anaconda environment available from command prompt on windows
Make MeCab available from Python3
Displaying strings on IPython Notebook
Made python available on macOS
Make Opencv available in Python
Run IPython Notebook on Docker
Make Perl segfault on one line
Try using Pillow on iPython (Part 2)
Make the default interactive shell IPython
Make Live USB on Alpine Linux
Install pip on CentOS7. Also iPython.
Try using Pillow on iPython (Part 3)
[Lambda] Make import requests available [python]