Thread: Requirements Failure
Requirements fails to load for the latest trunk/master 6717aff (pgadmin4)markm {~/download/pgadmin4} kobaz$ pip3 install --upgrade -r requirements.txt Exception: Traceback (most recent call last): File "/home/kobaz/.virtualenvs/pgadmin4/lib/python3.4/site-packages/pip/basecommand.py", line 122, in main status = self.run(options, args) File "/home/kobaz/.virtualenvs/pgadmin4/lib/python3.4/site-packages/pip/commands/install.py", line 274, in run for req in parse_requirements(filename, finder=finder, options=options, session=session): File "/home/kobaz/.virtualenvs/pgadmin4/lib/python3.4/site-packages/pip/req.py", line 1632, in parse_requirements req = InstallRequirement.from_line(line, comes_from, prereleases=getattr(options, "pre", None)) File "/home/kobaz/.virtualenvs/pgadmin4/lib/python3.4/site-packages/pip/req.py", line 173, in from_line return cls(req, comes_from, url=url, prereleases=prereleases) File "/home/kobaz/.virtualenvs/pgadmin4/lib/python3.4/site-packages/pip/req.py", line 71, in __init__ req = pkg_resources.Requirement.parse(req) File "/home/kobaz/.virtualenvs/pgadmin4/lib/python-wheels/setuptools-5.5.1-py2.py3-none-any.whl/pkg_resources.py", line 2793, in parse reqs = list(parse_requirements(s)) File "/home/kobaz/.virtualenvs/pgadmin4/lib/python-wheels/setuptools-5.5.1-py2.py3-none-any.whl/pkg_resources.py", line 2721, in parse_requirements "version spec") File "/home/kobaz/.virtualenvs/pgadmin4/lib/python-wheels/setuptools-5.5.1-py2.py3-none-any.whl/pkg_resources.py", line 2697, in scan_list raise ValueError(msg, line, "at", line[p:]) ValueError: ("Expected ',' or end-of-list in", "importlib==1.0.3; python_version <= '2.7'", 'at', "; python_version <= '2.7'") Storing debug log for failure in /home/kobaz/.pip/pip.log
Hi Mark,
On Wed, Aug 2, 2017 at 8:47 AM, Mark Murawski <markm-lists@intellasoft.net> wrote:
Requirements fails to load for the latest trunk/master 6717aff
We don't use SVN for source management.
Please let us know - from where did you get the source?
Please also let us know the version pip.
Please upgrade the pip to the latest version, and let us know the result.
(pgadmin4)markm {~/download/pgadmin4} kobaz$ pip3 install --upgrade -r requirements.txt
Exception:
Traceback (most recent call last):
File "/home/kobaz/.virtualenvs/pgadmin4/lib/python3.4/site-packag es/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/home/kobaz/.virtualenvs/pgadmin4/lib/python3.4/site-packag es/pip/commands/install.py", line 274, in run
for req in parse_requirements(filename, finder=finder, options=options, session=session):
File "/home/kobaz/.virtualenvs/pgadmin4/lib/python3.4/site-packag es/pip/req.py", line 1632, in parse_requirements
req = InstallRequirement.from_line(line, comes_from, prereleases=getattr(options, "pre", None))
File "/home/kobaz/.virtualenvs/pgadmin4/lib/python3.4/site-packag es/pip/req.py", line 173, in from_line
return cls(req, comes_from, url=url, prereleases=prereleases)
File "/home/kobaz/.virtualenvs/pgadmin4/lib/python3.4/site-packag es/pip/req.py", line 71, in __init__
req = pkg_resources.Requirement.parse(req)
File "/home/kobaz/.virtualenvs/pgadmin4/lib/python-wheels/setupto ols-5.5.1-py2.py3-none-any. whl/pkg_resources.py", line 2793, in parse
reqs = list(parse_requirements(s))
File "/home/kobaz/.virtualenvs/pgadmin4/lib/python-wheels/setupto ols-5.5.1-py2.py3-none-any. whl/pkg_resources.py", line 2721, in parse_requirements
"version spec")
File "/home/kobaz/.virtualenvs/pgadmin4/lib/python-wheels/setupto ols-5.5.1-py2.py3-none-any. whl/pkg_resources.py", line 2697, in scan_list
raise ValueError(msg, line, "at", line[p:])
ValueError: ("Expected ',' or end-of-list in", "importlib==1.0.3; python_version <= '2.7'", 'at', "; python_version <= '2.7'")
Storing debug log for failure in /home/kobaz/.pip/pip.log
On 08/02/17 00:08, Ashesh Vashi wrote: > Hi Mark, > > On Wed, Aug 2, 2017 at 8:47 AM, Mark Murawski > <markm-lists@intellasoft.net <mailto:markm-lists@intellasoft.net>> wrote: > > Requirements fails to load for the latest trunk/master 6717aff > > We don't use SVN for source management. > Please let us know - from where did you get the source? > > Please also let us know the version pip. > Please upgrade the pip to the latest version, and let us know the result. > > Subversion? I'm not sure where you got that from. I got the source from the main git repo git://git.postgresql.org/git/pgadmin4.git. I'm at checkout 6717aff (also noted above) I removed my ~/.virtualenvs/pgadmin4/ and now I get this error instead: ..Successful installs... snip Downloading/unpacking Flask-WTF==0.12 (from -r requirements.txt (line 20)) Downloading Flask-WTF-0.12.tar.gz (247kB): 247kBdownloaded Running setup.py (path:/tmp/pip-build-0whqvyps/Flask-WTF/setup.py) egg_info for package Flask-WTF warning: no previously-included files matching '*.pyc' found under directory 'tests' warning: no previously-included files matching '*.pyc' found under directory 'tests' warning: no previously-included files matching '*.pyc' found under directory 'docs' warning: no previously-included files matching '*.pyo' found under directory 'docs' no previously-included directories found matching 'docs/_build' no previously-included directoriesfound matching 'docs/_themes/.git' Downloading/unpacking html5lib==1.0b3 (from -r requirements.txt (line 21)) Downloading html5lib-1.0b3.tar.gz (884kB): 884kBdownloaded Running setup.py (path:/tmp/pip-build-0whqvyps/html5lib/setup.py) egg_info for package html5lib Cleaning up... Exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 122, in main status = self.run(options, args) File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 290, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File "/usr/lib/python3/dist-packages/pip/req.py", line 1091, in prepare_files req_to_install.check_if_exists() File "/usr/lib/python3/dist-packages/pip/req.py", line 811, in check_if_exists self.satisfied_by = pkg_resources.get_distribution(self.req) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py",line 553, in get_distribution dist = get_provider(dist) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 427, in get_provider return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0] IndexError: list index out of range Storing debug log for failure in /home/kobaz/.pip/pip.log Pip3 Info: http://ftp.us.debian.org/debian stretch/main amd64 python3-pip all 9.0.1-2