Ipython notebook скачать windows 10 на русском

There are multiple ways of installing IPython. This page contains simplified installation instructions that should work for most users. Our official documentation contains more detailed instructions for manual installation targeted at advanced users and developers.

There are multiple ways of installing IPython. This page contains simplified installation
instructions that should work for most users. Our official documentation
contains more detailed instructions
for manual installation targeted at advanced users and developers.

If you are looking for installation documentation for the notebook and/or qtconsole,
those are now part of Jupyter.

I already have Python¶

If you already have Python installed and are familiar with installing packages, you can get IPython with pip:

I am getting started with Python¶

For new users who want to install a full Python environment for scientific computing and
data science, we suggest installing the Anaconda or Canopy Python distributions, which provide Python, IPython and all of its dependences as well as a complete set of open source packages
for scientific computing and data science.

  1. Download and install Continuum’s Anaconda or the free edition of Enthought’s Canopy.
  2. Update IPython to the current version using the Terminal:

Anaconda:

conda update conda
conda update ipython

Enthought Canopy:

Downloads¶

You can manually download IPython from GitHub or PyPI. To install one of these versions, unpack it and run
the following from the top-level source directory using the Terminal:

See https://pypi.org/project/ipython/

30 Jan 02:36

This tag was signed with the committer’s verified signature.

95d2b79

This commit was signed with the committer’s verified signature.

7.9.0

7.8.0

7.7.0

26 Jul 22:23

This tag was signed with the committer’s verified signature.

741169a

This commit was signed with the committer’s verified signature.

7.6.1

7.6.0

28 Jun 23:42

This tag was signed with the committer’s verified signature.

edbca8c

This commit was signed with the committer’s verified signature.

7.5.0

7.4.0

21 Mar 21:21

This tag was signed with the committer’s verified signature.

d774f56

7.3.0

18 Feb 22:04

This tag was signed with the committer’s verified signature.

2e1cca5

This commit was signed with the committer’s verified signature.

7.2.0

Project description

IPython provides a rich toolkit to help you make the most out of using Python
interactively. Its main components are:

  • A powerful interactive Python shell

  • A Jupyter kernel to work with Python code in Jupyter
    notebooks and other interactive frontends.

The enhanced interactive Python shells have the following main features:

  • Comprehensive object introspection.

  • Input history, persistent across sessions.

  • Caching of output results during a session with automatically generated
    references.

  • Extensible tab completion, with support by default for completion of python
    variables and keywords, filenames and function keywords.

  • Extensible system of ‘magic’ commands for controlling the environment and
    performing many tasks related either to IPython or the operating system.

  • A rich configuration system with easy switching between different setups
    (simpler than changing $PYTHONSTARTUP environment variables every time).

  • Session logging and reloading.

  • Extensible syntax processing for special purpose situations.

  • Access to the system shell with user-extensible alias system.

  • Easily embeddable in other Python programs and GUIs.

  • Integrated access to the pdb debugger and the Python profiler.

The latest development version is always available from IPython’s GitHub
site.

Download files

Download the file for your platform. If you’re not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

IPython requires Python 2.7 or ≥ 3.3.

Note

If you need to use Python 2.6 or 3.2, you can find IPython 1.x
here,
or get it with pip:

If you have pip,
the quickest way to get up and running with IPython is:

$ pip install "ipython[all]"

This will download and install IPython and its main optional dependencies for the notebook,
qtconsole, tests, and other functionality.
Some dependencies (Qt, PyQt for the QtConsole, pandoc for nbconvert) are not pip-installable,
and will not be pulled in by pip.

To run IPython’s test suite, use the iptest command:

Overview¶

This document describes in detail the steps required to install IPython,
and its various optional dependencies.
For a few quick ways to get started with package managers or full Python distributions,
see the install page of the IPython website.

IPython is organized into a number of subpackages, each of which has its own dependencies.
All of the subpackages come with IPython, so you don’t need to download and
install them separately. However, to use a given subpackage, you will need to
install all of its dependencies.

Please let us know if you have problems installing IPython or any of its dependencies.

IPython and most dependencies can be installed via pip.
In many scenarios, this is the simplest method of installing Python packages.
More information about pip can be found on
its PyPI page.

More general information about installing Python packages can be found in
Python’s documentation.

Installing IPython itself¶

Given a properly built Python, the basic interactive IPython shell will work
with no external dependencies. However, some Python distributions
(particularly on Windows and OS X), don’t come with a working readline
module. The IPython shell will work without readline, but will lack
many features that users depend on, such as tab completion and command line
editing. If you install IPython with pip,
then the appropriate readline for your platform will be installed.
See below for details of how to make sure you have a working readline.

Installation using pip¶

If you have pip, the easiest way of getting IPython is:

That’s it.

Installation from source¶

If you don’t want to use pip, or don’t have it installed,
grab the latest stable build of IPython from here. Then do the following:

$ tar -xzf ipython.tar.gz
$ cd ipython
$ python setup.py install

If you are installing to a location (like /usr/local) that requires higher
permissions, you may need to run the last command with sudo.

Installing the development version¶

It is also possible to install the development version of IPython from our
Git source code repository. To do this you will
need to have Git installed on your system. Then do:

$ git clone --recursive https://github.com/ipython/ipython.git
$ cd ipython
$ python setup.py install

Some users want to be able to follow the development branch as it changes. If
you have pip, you can replace the last step by:

This creates links in the right places and installs the command line script to
the appropriate places.

Then, if you want to update your IPython at any time, do:

IPython now uses git submodules to ship its javascript dependencies. If you run
IPython from git master, you may need to update submodules once in a while with:

or

$ python setup.py submodule

Another option is to copy git hooks
to your ./git/hooks/ directory to ensure that your submodules are up to date on each pull.

Basic optional dependencies¶

There are a number of basic optional dependencies that most users will want to
get. These are:

  • readline (for command line editing, tab completion, etc.)
  • nose (to run the IPython test suite)
  • mock (Python < 3, also for tests)

If you are comfortable installing these things yourself, have at it, otherwise
read on for more details.

IPython uses several other modules, such as pexpect and path.py, if they are
installed on your system, but it can also use bundled versions from
IPython.external, so there’s no need to install them separately.

readline¶

As indicated above, on Windows, to get full functionality in the console
version of IPython, PyReadline is needed.
PyReadline is a separate, Windows only implementation of readline that uses
native Windows calls through ctypes. The easiest way of installing
PyReadline is you use the binary installer available here.

On OS X, if you are using the built-in Python shipped by Apple, you will be
missing a proper readline implementation as Apple ships instead a library called
libedit that provides only some of readline’s functionality. While you may
find libedit sufficient, we have occasional reports of bugs with it and several
developers who use OS X as their main environment consider libedit unacceptable
for productive, regular use with IPython.

Therefore, IPython on OS X depends on the gnureadline module.
We will not consider completion/history problems to be bugs for IPython if you are using libedit.

To get a working readline module on OS X, do (with pip
installed):

$ pip install gnureadline

Note

Other Python distributions on OS X (such as Anaconda, fink, MacPorts)
already have proper readline so you likely don’t have to do this step.

When IPython is installed with pip,
the correct readline should be installed if you specify the terminal
optional dependencies:

$ pip install "ipython[terminal]"

nose¶

To run the IPython test suite you will need the nose package. Nose
provides a great way of sniffing out and running all of the IPython tests. The
simplest way of getting nose is to use pip:

Another way of getting this is to do:

$ pip install "ipython[test]"

For more installation options, see the nose website.

Once you have nose installed, you can run IPython’s test suite using the
iptest command:

Dependencies for IPython.parallel (parallel computing)¶

IPython’s inter-process communication uses the PyZMQ bindings for the ZeroMQ messaging library.
This is the only dependency for IPython.parallel.

Shortcut:

pip install "ipython[parallel]"

or manual

PyZMQ provides wheels for current Python on OS X and Windows, so installing pyzmq will typically not require compilation.

IPython.parallel can use SSH tunnels, which require paramiko on Windows.

Dependencies for the IPython Qt console¶

pyzmq, pygments, PyQt (or PySide)

Shortcut:

pip install "ipython[qtconsole]"

or manual

pip install pyzmq pygments

PyQt/PySide are not pip installable, so generally must be installed via system package managers (or conda).

Dependencies for the IPython HTML notebook¶

The HTML notebook is a complex web application with quite a few dependencies:

pyzmq, jinja2, tornado, mistune, jsonschema, pygments, terminado

Shortcut:

pip install "ipython[notebook]"

or manual:

pip install pyzmq jinja2 tornado mistune jsonschema pygments terminado

The IPython notebook is a notebook-style web interface to IPython and can be
started with the command ipython notebook.

MathJax¶

The IPython notebook uses the MathJax Javascript library for rendering LaTeX
in web browsers. Because MathJax is large, we don’t include it with
IPython. Normally IPython will load MathJax from a CDN, but if you have a slow
network connection, or want to use LaTeX without an internet connection at all,
you can install MathJax locally.

A quick and easy method is to install it from a python session:

python -m IPython.external.mathjax

If you need tighter configuration control, you can download your own copy
of MathJax from http://www.mathjax.org/download/ — use the MathJax-2.0 link.
When you have the file stored locally, install it with:

python -m IPython.external.mathjax /path/to/source/mathjax-MathJax-v2.0-20-g07669ac.zip

For unusual needs, IPython can tell you what directory it wants to find MathJax in:

python -m IPython.external.mathjax -d /some/other/mathjax

By default MathJax will be installed in your ipython directory, but you
can install MathJax system-wide. Please refer to the documentation
of IPython.external.mathjax

Browser Compatibility¶

The IPython notebook is officially supported on the following browsers:

  • Chrome ≥ 13
  • Safari ≥ 5
  • Firefox ≥ 6

The is mainly due to the notebook’s usage of WebSockets and the flexible box model.

The following browsers are unsupported:

  • Safari < 5
  • Firefox < 6
  • Chrome < 13
  • Opera (any): CSS issues, but execution might work
  • Internet Explorer < 10
  • Internet Explorer ≥ 10 (same as Opera)

Using Safari with HTTPS and an untrusted certificate is known to not work (websockets will fail).

Dependencies for nbconvert (converting notebooks to various formats)¶

For converting markdown to formats other than HTML, nbconvert uses Pandoc (1.12.1 or later).

To install pandoc on Linux, you can generally use your package manager:

sudo apt-get install pandoc

On other platforms, you can get pandoc from their website.

IPython provides a rich toolkit to help you make the most of using Python interactively. Comprehensive object introspection. IPython provides input history, persistent across sessions. Caching of output results during a session with automatically generated references. Extensible tab completion, with support by default for completion of python variables and keywords, filenames and function keywords. Extensible system of ‘magic’ commands for controlling the environment and performing many tasks related to IPython or the operating system. A rich configuration system with easy switching between different setups (simpler than changing $PYTHONSTARTUP environment variables every time). Session logging and reloading. Extensible syntax processing for special purpose situations. Access to the system shell with user-extensible alias system. Easily embeddable in other Python programs and GUIs. Integrated access to the pdb debugger and the Python profiler.

Features

  • A powerful interactive Python shell
  • A Jupyter kernel to work with Python code in Jupyter notebooks and other interactive frontends
  • Comprehensive object introspection
  • Input history, persistent across sessions
  • Caching of output results during a session with automatically generated references
  • Session logging and reloading

Project Samples

IPython Screenshot 1

License

BSD License

The First B2B Checkout Platform Icon

Balance is the first self-serve checkout that accepts 100% of the B2B payment complexities — from milestone payments to net terms, wires to checks, SaaS subscriptions to automatic vendor payouts — and more

User Reviews

Additional Project Details

Programming Language

Python

2021-04-06

Example

Detailed instructions on getting ipython-notebook set up or installed:

Please Note: iPython Notebook is now no longer supported as all of the functionality has been moved into to the Jupyter project.

Prerequisite

To install Jupyter or iPython Notebook you must have python installed at at least version 2.7.3+ or 3.3+ — python can be installed from the main python site, from your Linux/OS-X distribution or as one of the bundled packages such as Anaconda recommended.

Installing Jupyter Notebook

To install the Jupyter Notebook:

  • In Anaconda: Ensure you are running a recent version of Anaconda for Python 3 and you already have Jupyter and it’s Notebook installed just run with jupyter notebook
  • Using pip Linux and OS-X users may need to prefix all the following commands with sudo:
  • Update pip with: python -m pip install --upgrade pip
  • Install Jupyter with: pip install --upgrade jupyter
  • Run with: jupyter notebook to start the server and you should see the «home» interface in your browser:

Jupyter Notebook

For instructions on how to enable additional kernals see the Jupyter site.

Note: There is currently, 2016, a new, next generation, user interface for Jupyter under active development called Jupyter Lab which is worth watching:

Lab Interface

Legacy Systems

On legacy systems iPython it may be possible to install iPython notebook to a python system with pip installed use the command:

pip install ipython[notebook]

Every time that you run ipython notebook you will receive a warning:

[TerminalIPythonApp] WARNING | Subcommand `ipython notebook` is deprecated and will be removed in future versions.
[TerminalIPythonApp] WARNING | You likely want to use `jupyter notebook` in the future

and find that you are running Jupyter.

Note on Importing Libraries

On some systems, notably OS-X or when running from a Virtual Environment, the notebook may not recognize some of the libraries installed on the underlying system, this is due to the system python and that being used to run the notebook being different installations. Adding the libraries can be done independently in the notebooks environment by the following command from within the iPython environment:

!pip install [desired library]  

Or with the following code:

import pip
pip.main(['install', 'libary-name'])  # '-U' can be added after install to update existing packages

Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations, and narrative text. Uses include data cleaning and transformation, numerical simulation, statistical modeling, data visualization, machine learning, and much more.

Jupyter has support for over 40 different programming languages and Python is one of them. Python is a requirement (Python 3.3 or greater, or Python 2.7) for installing the Jupyter Notebook itself.

Jupyter Notebook can be installed by using either of the two ways described below:

  • Using Anaconda:
    Install Python and Jupyter using the Anaconda Distribution, which includes Python, the Jupyter Notebook, and other commonly used packages for scientific computing and data science. To install Anaconda, go through How to install Anaconda on windows? and follow the instructions provided.
  • Using PIP:
    Install Jupyter using the PIP package manager used to install and manage software packages/libraries written in Python. To install pip, go through How to install PIP on Windows? and follow the instructions provided.

Installing Jupyter Notebook using Anaconda:

Anaconda is an open-source software that contains Jupyter, spyder, etc that are used for large data processing, data analytics, heavy scientific computing. Anaconda works for R and python programming language. Spyder(sub-application of Anaconda) is used for python. Opencv for python will work in spyder. Package versions are managed by the package management system called conda.

To install Jupyter using Anaconda, just go through the following instructions:

Launching Jupyter:
Launching-Jupyter-Notebook

Jupyter-Launch-Window

Installing Jupyter Notebook using pip:

PIP is a package management system used to install and manage software packages/libraries written in Python. These files are stored in a large “on-line repository” termed as Python Package Index (PyPI).
pip uses PyPI as the default source for packages and their dependencies.

To install Jupyter using pip, we need to first check if pip is updated in our system. Use the following command to update pip:

python -m pip install --upgrade pip

Updating-pip-version

After updating the pip version, follow the instructions provided below to install Jupyter:

  • Command to install Jupyter:
    python -m pip install jupyter
    
  • Beginning Installation:
    Beginning-installation
  • Downloading Files and Data:
    Downloading-data-and-files
  • Installing Packages:
    Installing-packages
  • Finished Installation:
    Finished-Installation
  • Launching Jupyter:
    Use the following command to launch Jupyter using command-line:

    jupyter notebook

    Using-Launch-command-Code

    Jupyter-Launch-Window

Понравилась статья? Поделить с друзьями:
  • Ipv6 подключение без доступа к сети как исправить windows 10
  • Ipv6 подключение без доступа к интернету как исправить windows 10
  • Ipv6 без доступа к интернету что делать windows 7
  • Ipv6 без доступа к интернету как исправить на компьютере windows 7
  • Ipv6 без доступа к интернету как исправить windows 7 ростелеком