Native Computer Win10
python3.5 is installed
1. Run pip install Ipython[all] directly on the command line Ipython
After installation is complete
Enter Jupyter notebook on the command line to see the Ipython notebook interface in the browser
2. Then set the Ipython shell shortcut key in the user edit interface in Sunlime3 's preferences < key building<
{
"Keys": ["F6"],
"caption": "Sublimerepl:python-ipython",
"Command": "Run_existing_window_command", "args":
{"id": "Repl_python_ipython",
"File": "Config/python/main.sublime-menu"}
}
After saving. Press F6, there is an error similar to the following: IPython 4.0
>c:\anaconda\lib\site-packages\ipython\config.py:13:shimwarning:
The ' Ipython.config ' package has been deprecated. You should import from
Traitlets.config instead.
"You should import from Traitlets.config instead.", shimwarning)
C:\anaconda\lib\site-packages\ipython\terminal\console.py:13:shimwarning:
The ' IPython.terminal.console ' package has been deprecated. You should
Import from Jupyter_console instead.
"You should import from Jupyter_console instead.", shimwarning)
C:\anaconda\lib\site-packages\ipython\frontend.py:21:shimwarning:the top-
Level ' frontend ' package has been deprecated. All its subpackages has been
Moved to the top ' IPython ' level.
"All its subpackages has been moved to the top ' IPython ' level.",
shimwarning) ...
So according to StackOverflow
Steps on the HTTPS://STACKOVERFLOW.COM/QUESTIONS/32719352/IPYTHON-4-SHELL-DOES-NOT-WORK-WITH-SUBLIME-REPL
and links
https://gist.githubusercontent.com/MattDMo/6cb1dfbe8a124e1ca5af/raw/a511e86dde7b3a70bdbd63b7ac3c98c32cd74277/ipy_repl.py
3. Install jupyter pip install-u Ipython jupyter
4. Change the code in the file C:...\sublime Text 3\packages\sublimerepl\config\python\ipy_repl.py, after saving, press F6.
Another error similar to the following appears:
Then follow the steps in https://www.zhihu.com/question/54388483 to
5. C:...\sublime Text 3\packages\sublimerepl\config\python\main.sublime-menu in the Code section has been modified
Modify the configuration item with the ID "Repl_python_ipython" and the "Windows" entry by
"Windows": ["Python", "-U", "${packages}/sublimerepl/config/python/ipy_repl.py"]
Change to your Ipython program path, as follows:
"Windows": ["C:.../python/python35/scripts/ipython.exe"]
After this save, press F6, and then successfully pull out the Ipython shell in the sublime.
Ipython and Sublime call their shell problems