Advertisement
illwieckz

pyenv pip invalid syntax

Jul 28th, 2018
555
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 4.31 KB | None | 0 0
  1. buildbot@daemon:~/buildbot$ pip install -r requirements.txt
  2. Collecting argparse (from -r requirements.txt (line 1))
  3.   Using cached https://files.pythonhosted.org/packages/f2/94/3af39d34be01a24a6e65433d19e107099374224905f1e0cc6bbe1fd22a2f/argparse-1.4.0-py2.py3-none-any.whl
  4. Collecting logging (from -r requirements.txt (line 2))
  5.   Downloading https://files.pythonhosted.org/packages/93/4b/979db9e44be09f71e85c9c8cfc42f258adfb7d93ce01deed2788b2948919/logging-0.4.9.6.tar.gz (96kB)
  6.     100% |████████████████████████████████| 102kB 4.5MB/s
  7.     Complete output from command python setup.py egg_info:
  8.     running egg_info
  9.     creating pip-egg-info/logging.egg-info
  10.     writing pip-egg-info/logging.egg-info/PKG-INFO
  11.     writing dependency_links to pip-egg-info/logging.egg-info/dependency_links.txt
  12.     writing top-level names to pip-egg-info/logging.egg-info/top_level.txt
  13.     writing manifest file 'pip-egg-info/logging.egg-info/SOURCES.txt'
  14.     Traceback (most recent call last):
  15.       File "<string>", line 1, in <module>
  16.       File "/tmp/pip-install-0ilbna02/logging/setup.py", line 13, in <module>
  17.         packages = ["logging"],
  18.       File "/home/buildbot/.pyenv/versions/3.6.5/lib/python3.6/distutils/core.py", line 148, in setup
  19.         dist.run_commands()
  20.       File "/home/buildbot/.pyenv/versions/3.6.5/lib/python3.6/distutils/dist.py", line 955, in run_commands
  21.         self.run_command(cmd)
  22.       File "/home/buildbot/.pyenv/versions/3.6.5/lib/python3.6/distutils/dist.py", line 974, in run_command
  23.         cmd_obj.run()
  24.       File "/home/buildbot/.pyenv/versions/3.6.5/lib/python3.6/site-packages/setuptools/command/egg_info.py", line 278, in run
  25.         self.find_sources()
  26.       File "/home/buildbot/.pyenv/versions/3.6.5/lib/python3.6/site-packages/setuptools/command/egg_info.py", line 293, in find_sources
  27.         mm.run()
  28.       File "/home/buildbot/.pyenv/versions/3.6.5/lib/python3.6/site-packages/setuptools/command/egg_info.py", line 524, in run
  29.         self.add_defaults()
  30.       File "/home/buildbot/.pyenv/versions/3.6.5/lib/python3.6/site-packages/setuptools/command/egg_info.py", line 560, in add_defaults
  31.         sdist.add_defaults(self)
  32.       File "/home/buildbot/.pyenv/versions/3.6.5/lib/python3.6/site-packages/setuptools/command/py36compat.py", line 34, in add_defaults
  33.         self._add_defaults_python()
  34.       File "/home/buildbot/.pyenv/versions/3.6.5/lib/python3.6/site-packages/setuptools/command/sdist.py", line 127, in _add_defaults_python
  35.         build_py = self.get_finalized_command('build_py')
  36.       File "/home/buildbot/.pyenv/versions/3.6.5/lib/python3.6/distutils/cmd.py", line 298, in get_finalized_command
  37.         cmd_obj = self.distribution.get_command_obj(command, create)
  38.       File "/home/buildbot/.pyenv/versions/3.6.5/lib/python3.6/distutils/dist.py", line 846, in get_command_obj
  39.         klass = self.get_command_class(command)
  40.       File "/home/buildbot/.pyenv/versions/3.6.5/lib/python3.6/site-packages/setuptools/dist.py", line 634, in get_command_class
  41.         self.cmdclass[command] = cmdclass = ep.load()
  42.       File "/home/buildbot/.pyenv/versions/3.6.5/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2324, in load
  43.         return self.resolve()
  44.       File "/home/buildbot/.pyenv/versions/3.6.5/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2330, in resolve
  45.         module = __import__(self.module_name, fromlist=['__name__'], level=0)
  46.       File "/home/buildbot/.pyenv/versions/3.6.5/lib/python3.6/site-packages/setuptools/command/build_py.py", line 15, in <module>
  47.         from setuptools.lib2to3_ex import Mixin2to3
  48.       File "/home/buildbot/.pyenv/versions/3.6.5/lib/python3.6/site-packages/setuptools/lib2to3_ex.py", line 12, in <module>
  49.         from lib2to3.refactor import RefactoringTool, get_fixers_from_package
  50.       File "/home/buildbot/.pyenv/versions/3.6.5/lib/python3.6/lib2to3/refactor.py", line 17, in <module>
  51.         import logging
  52.       File "/tmp/pip-install-0ilbna02/logging/logging/__init__.py", line 618
  53.         raise NotImplementedError, 'emit must be implemented '\
  54.                                  ^
  55.     SyntaxError: invalid syntax
  56.    
  57.     ----------------------------------------
  58. Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-0ilbna02/logging/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement