All welcome. I recently switched to it, and if I’m more precise, I’m trying to switch to Linux (Ubuntu 18.04), so, like everything after Windows, I’m slightly shocked by the installation process. If essentially, I try to install ptpython or ipython . I follow the instructions, put a PIP, put a ptpython or ipython through it, it seems like all the packages downloaded, did not issue any errors, but the ptpython terminal does not start:
genrikh@77529:/$ ptpython Command 'ptpython' not found, did you mean: command 'pvpython' from deb paraview-python command 'pmpython' from deb pcp Try: sudo apt install <deb name> With ipython the same trouble. Just in the application they are nowhere to be found. The question is trivial, but still - how to install applications so that they run and if they do not start, then where and how to search for all the extra garbage that has downloaded and does not work?
genrikh@77529:~$ ipython Traceback (most recent call last): File "/home/genrikh/.local/bin/ipython", line 7, in <module> from IPython import start_ipython File "/home/genrikh/.local/lib/python2.7/site-packages/IPython/__init__.py", line 49, in <module> from .terminal.embed import embed File "/home/genrikh/.local/lib/python2.7/site-packages/IPython/terminal/embed.py", line 18, in <module> from IPython.terminal.interactiveshell import TerminalInteractiveShell File "/home/genrikh/.local/lib/python2.7/site-packages/IPython/terminal/interactiveshell.py", line 20, in <module> from prompt_toolkit.shortcuts import create_prompt_application, create_eventloop, create_prompt_layout, create_output ImportError: cannot import name create_prompt_application
$ sudo apt install ipython- aleksandr barakin