[pythran] pip3 install pythran fails

  • From: Neal Becker <ndbecker2@xxxxxxxxx>
  • To: pythran@xxxxxxxxxxxxx
  • Date: Fri, 8 Jan 2016 08:17:39 -0500

pip3 install --user --up --force pythran
Collecting pythran
Using cached pythran-0.7.4.post1.tar.gz
Collecting ply>=3.4 (from pythran)
Using cached ply-3.8.tar.gz
Collecting networkx>=1.5 (from pythran)
Using cached networkx-1.10.tar.gz
Collecting colorlog (from pythran)
Using cached colorlog-2.6.0-py2.py3-none-any.whl
Collecting decorator (from pythran)
Using cached decorator-4.0.6-py2.py3-none-any.whl
Installing collected packages: ply, decorator, networkx, colorlog, pythran
Found existing installation: ply 3.8
Uninstalling ply-3.8:
Successfully uninstalled ply-3.8
Running setup.py install for ply
Found existing installation: decorator 4.0.6
Uninstalling decorator-4.0.6:
Successfully uninstalled decorator-4.0.6
Found existing installation: networkx 1.11rc1
Uninstalling networkx-1.11rc1:
Successfully uninstalled networkx-1.11rc1
Running setup.py install for networkx
Found existing installation: colorlog 2.6.0
Uninstalling colorlog-2.6.0:
Successfully uninstalled colorlog-2.6.0
Found existing installation: pythran 0.7.4.post1
Uninstalling pythran-0.7.4.post1:
Successfully uninstalled pythran-0.7.4.post1
Running setup.py install for pythran
Successfully installed colorlog decorator networkx ply pythran
Traceback (most recent call last):
File "/home/nbecker/.local/bin/pip3", line 11, in <module>
sys.exit(main())
File "/home/nbecker/.local/lib/python3.4/site-packages/pip/__init__.py",
line 217, in main
return command.main(cmd_args)
File
"/home/nbecker/.local/lib/python3.4/site-packages/pip/basecommand.py", line
248, in main
pip_version_check(session)
File
"/home/nbecker/.local/lib/python3.4/site-packages/pip/utils/outdated.py",
line 102, in pip_version_check
installed_version = get_installed_version("pip")
File
"/home/nbecker/.local/lib/python3.4/site-packages/pip/utils/__init__.py",
line 858, in get_installed_version
working_set = pkg_resources.WorkingSet()
File
"/home/nbecker/.local/lib/python3.4/site-packages/pip/_vendor/pkg_resources/__init__.py",
line 629, in __init__
self.add_entry(entry)
File
"/home/nbecker/.local/lib/python3.4/site-packages/pip/_vendor/pkg_resources/__init__.py",
line 685, in add_entry
for dist in find_distributions(entry, True):
File
"/home/nbecker/.local/lib/python3.4/site-packages/pip/_vendor/pkg_resources/__init__.py",
line 2075, in find_eggs_in_zip
if metadata.has_metadata('PKG-INFO'):
File
"/home/nbecker/.local/lib/python3.4/site-packages/pip/_vendor/pkg_resources/__init__.py",
line 1605, in has_metadata
return self.egg_info and self._has(self._fn(self.egg_info, name))
File
"/home/nbecker/.local/lib/python3.4/site-packages/pip/_vendor/pkg_resources/__init__.py",
line 1963, in _has
return zip_path in self.zipinfo or zip_path in self._index()
File
"/home/nbecker/.local/lib/python3.4/site-packages/pip/_vendor/pkg_resources/__init__.py",
line 1843, in zipinfo
return self._zip_manifests.load(self.loader.archive)
File
"/home/nbecker/.local/lib/python3.4/site-packages/pip/_vendor/pkg_resources/__init__.py",
line 1783, in load
mtime = os.stat(path).st_mtime
FileNotFoundError: [Errno 2] No such file or directory:
'/home/nbecker/.local/lib/python3.4/site-packages/colorlog-2.6.0-py3.4.egg'

There is colorlog, but it appears to not be installed as egg?

drwxrwxr-x. 1 nbecker nbecker 120 Jan 8 08:07 colorlog-2.6.0.dist-info
drwxrwxr-x. 1 nbecker nbecker 116 Jan 8 08:07 colorlog
drwxrwxr-x. 1 nbecker nbecker 190 Jan 8 08:07

In contrast, python2 pip seems OK:

pip install --user --up --force pythran
Collecting pythran
Using cached pythran-0.7.4.post1.tar.gz
Collecting ply>=3.4 (from pythran)
Using cached ply-3.8.tar.gz
Collecting networkx>=1.5 (from pythran)
Using cached networkx-1.10.tar.gz
Collecting colorlog (from pythran)
Using cached colorlog-2.6.0-py2.py3-none-any.whl
Collecting decorator (from pythran)
Using cached decorator-4.0.6-py2.py3-none-any.whl
Installing collected packages: ply, decorator, networkx, colorlog, pythran
Found existing installation: ply 3.8
Uninstalling ply-3.8:
Successfully uninstalled ply-3.8
Running setup.py install for ply
Found existing installation: decorator 4.0.6
Uninstalling decorator-4.0.6:
Successfully uninstalled decorator-4.0.6
Found existing installation: networkx 1.10
Uninstalling networkx-1.10:
Successfully uninstalled networkx-1.10
Running setup.py install for networkx
Found existing installation: colorlog 2.6.0
Uninstalling colorlog-2.6.0:
Successfully uninstalled colorlog-2.6.0
Found existing installation: pythran 0.5.0
DEPRECATION: Uninstalling a distutils installed project (pythran) has
been deprecated and will be removed in a future version. This is due to the
fact that uninstalling a distutils project will only partially uninstall
the project.
Uninstalling pythran-0.5.0:
Successfully uninstalled pythran-0.5.0
Running setup.py install for pythran
Successfully installed colorlog-2.6.0 decorator-4.0.6 networkx-1.10 ply-3.8
pythran-0.6.0


--
*Those who don't understand recursion are doomed to repeat it*

Other related posts:

  • » [pythran] pip3 install pythran fails - Neal Becker