Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installing an interpreter
#16
success;
skipperdan@HP-Compaq ~ $ chown -R skipperdan:skipperdan /home/skipperdan/.cache
skipperdan@HP-Compaq ~ $ sudo pip install --default-timeout=100 ptpython
[sudo] password for skipperdan:
The directory '/home/skipperdan/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/skipperdan/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting ptpython
Downloading ptpython-0.41-py2-none-any.whl (47kB)
100% |████████████████████████████████| 51kB 793kB/s
Collecting prompt-toolkit<2.0.0,>=1.0.14 (from ptpython)
Downloading prompt_toolkit-1.0.15-py2-none-any.whl (247kB)
100% |████████████████████████████████| 256kB 929kB/s
Collecting docopt (from ptpython)
Downloading docopt-0.6.2.tar.gz
Collecting jedi>=0.9.0 (from ptpython)
Downloading jedi-0.11.0-py2.py3-none-any.whl (146kB)
100% |████████████████████████████████| 153kB 491kB/s
Collecting pygments (from ptpython)
Downloading Pygments-2.2.0-py2.py3-none-any.whl (841kB)
100% |████████████████████████████████| 849kB 320kB/s
Requirement already satisfied: six>=1.9.0 in /usr/lib/python2.7/dist-packages (from prompt-toolkit<2.0.0,>=1.0.14->ptpython)
Collecting wcwidth (from prompt-toolkit<2.0.0,>=1.0.14->ptpython)
Downloading wcwidth-0.1.7-py2.py3-none-any.whl
Collecting parso==0.1.0 (from jedi>=0.9.0->ptpython)
Downloading parso-0.1.0-py2.py3-none-any.whl (89kB)
100% |████████████████████████████████| 92kB 651kB/s
Installing collected packages: wcwidth, prompt-toolkit, docopt, parso, jedi, pygments, ptpython
Running setup.py install for docopt ... done
Successfully installed docopt-0.6.2 jedi-0.11.0 parso-0.1.0 prompt-toolkit-1.0.15 ptpython-0.41 pygments-2.2.0 wcwidth-0.1.7
skipperdan@HP-Compaq ~ $ ptpython
>>>

Thank you all, I think I have it working now. It looks like it is in a window like python rather than a window like Skulpt, but I will give it a try and make sure it all works. Nothing like just tying it out to learn the basics. The more I try the more I learn. I learned a lot about Linux just installing this. Thanks again, Dan
Reply


Messages In This Thread
Installing an interpreter - by Skipper_Dan - Nov-15-2017, 01:54 AM
RE: Installing an interpreter - by metulburr - Nov-15-2017, 02:10 AM
RE: Installing an interpreter - by Skipper_Dan - Nov-15-2017, 02:28 AM
RE: Installing an interpreter - by metulburr - Nov-15-2017, 04:31 AM
RE: Installing an interpreter - by sparkz_alot - Nov-15-2017, 01:42 PM
RE: Installing an interpreter - by snippsat - Nov-15-2017, 10:51 AM
RE: Installing an interpreter - by Skipper_Dan - Nov-16-2017, 10:16 PM
RE: Installing an interpreter - by metulburr - Nov-16-2017, 10:27 PM
RE: Installing an interpreter - by DeaD_EyE - Nov-16-2017, 10:47 PM
RE: Installing an interpreter - by Skipper_Dan - Nov-16-2017, 11:52 PM
RE: Installing an interpreter - by snippsat - Nov-17-2017, 12:01 AM
RE: Installing an interpreter - by metulburr - Nov-17-2017, 01:39 AM
RE: Installing an interpreter - by Skipper_Dan - Nov-17-2017, 02:41 AM
RE: Installing an interpreter - by metulburr - Nov-17-2017, 04:19 AM
RE: Installing an interpreter - by DeaD_EyE - Nov-17-2017, 08:40 AM
RE: Installing an interpreter - by Skipper_Dan - Nov-17-2017, 08:30 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020