Open taoxinyi opened 5 years ago
xinyi@xinyi:~/Downloads$ pip3 install ptpython-2.0.4-py3-none-any.whl Processing ./ptpython-2.0.4-py3-none-any.whl Collecting docopt (from ptpython==2.0.4) Downloading https://files.pythonhosted.org/packages/a2/55/8f8cab2afd404cf578136ef2cc5dfb50baa1761b68c9da1fb1e4eed343c9/docopt-0.6.2.tar.gz Collecting jedi>=0.9.0 (from ptpython==2.0.4) Downloading https://files.pythonhosted.org/packages/4e/06/e906725a5b3ad7996bbdbfe9958aab75db64ef84bbaabefe47574de58865/jedi-0.14.1-py2.py3-none-any.whl (1.0MB) 100% |████████████████████████████████| 1.0MB 32kB/s Collecting pygments (from ptpython==2.0.4) Downloading https://files.pythonhosted.org/packages/5c/73/1dfa428150e3ccb0fa3e68db406e5be48698f2a979ccbcec795f28f44048/Pygments-2.4.2-py2.py3-none-any.whl (883kB) 100% |████████████████████████████████| 890kB 20kB/s Collecting prompt-toolkit<2.1.0,>=2.0.6 (from ptpython==2.0.4) Downloading https://files.pythonhosted.org/packages/f7/a7/9b1dd14ef45345f186ef69d175bdd2491c40ab1dfa4b2b3e4352df719ed7/prompt_toolkit-2.0.9-py3-none-any.whl (337kB) 100% |████████████████████████████████| 337kB 25kB/s Collecting parso>=0.5.0 (from jedi>=0.9.0->ptpython==2.0.4) Downloading https://files.pythonhosted.org/packages/a3/bd/bf4e5bd01d79906e5b945a7af033154da49fd2b0d5b5c705a21330323305/parso-0.5.1-py2.py3-none-any.whl (95kB) 100% |████████████████████████████████| 102kB 21kB/s Collecting wcwidth (from prompt-toolkit<2.1.0,>=2.0.6->ptpython==2.0.4) Downloading https://files.pythonhosted.org/packages/7e/9f/526a6947247599b084ee5232e4f9190a38f398d7300d866af3ab571a5bfe/wcwidth-0.1.7-py2.py3-none-any.whl Collecting six>=1.9.0 (from prompt-toolkit<2.1.0,>=2.0.6->ptpython==2.0.4) Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl Building wheels for collected packages: docopt Running setup.py bdist_wheel for docopt ... done Stored in directory: /home/xinyi/.cache/pip/wheels/9b/04/dd/7daf4150b6d9b12949298737de9431a324d4b797ffd63f526e Successfully built docopt Installing collected packages: docopt, parso, jedi, pygments, wcwidth, six, prompt-toolkit, ptpython Successfully installed docopt-0.6.2 jedi-0.14.1 parso-0.5.1 prompt-toolkit-2.0.9 ptpython-2.0.4 pygments-2.4.2 six-1.12.0 wcwidth-0.1.7
After installation, no ptpython is found.
ptpython
xinyi@xinyi:~/Downloads$ 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>
I'm on Ubuntu 18.04 and python 3.6.8
I encountered the same problem.
I get same issue
I was having the same issue and fixed it by:
pip3 uninstall ptpython sudo pip3 install ptpython
Key here is using sudo to install.
sudo
After installation, no
ptpython
is found.I'm on Ubuntu 18.04 and python 3.6.8