Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installing an interpreter
#7
(Nov-15-2017, 10:51 AM)snippsat Wrote: ptpython and ipython are good.
I use mostly ptpython,look at features here.

This is the same problem I am having with ipython. Here is a screen shot


skipperdan@HP-Compaq ~ $ pip install ptpython
Collecting ptpython
Downloading ptpython-0.41-py2-none-any.whl (47kB)
100% |████████████████████████████████| 51kB 189kB/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 460kB/s
Collecting docopt (from ptpython)
Downloading docopt-0.6.2.tar.gz
Could not import setuptools which is required to install from a source distribution.
Please install setuptools.
skipperdan@HP-Compaq ~ $ pip install setuptools
Collecting setuptools
Using cached setuptools-36.7.2-py2.py3-none-any.whl
Installing collected packages: setuptools
Exception:
Traceback (most recent call last):
File "/home/skipperdan/.local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/home/skipperdan/.local/lib/python2.7/site-packages/pip/commands/install.py", line 342, in run
prefix=options.prefix_path,
File "/home/skipperdan/.local/lib/python2.7/site-packages/pip/req/req_set.py", line 784, in install
**kwargs
File "/home/skipperdan/.local/lib/python2.7/site-packages/pip/req/req_install.py", line 851, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "/home/skipperdan/.local/lib/python2.7/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
isolated=self.isolated,
File "/home/skipperdan/.local/lib/python2.7/site-packages/pip/wheel.py", line 345, in move_wheel_files
clobber(source, lib_dir, True)
File "/home/skipperdan/.local/lib/python2.7/site-packages/pip/wheel.py", line 323, in clobber
shutil.copyfile(srcfile, destfile)
File "/usr/lib/python2.7/shutil.py", line 83, in copyfile
with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/easy_install.pyc'
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