Re: pgAdmin4 - cannot run on Debian 8
От | Dave Page |
---|---|
Тема | Re: pgAdmin4 - cannot run on Debian 8 |
Дата | |
Msg-id | CA+OCxoyG8+N-LQ+UaRt8n9qh67S36hCbmyZHUs3yU_jnztT51w@mail.gmail.com обсуждение исходный текст |
Ответ на | pgAdmin4 - cannot run on Debian 8 (André Cardoso <andrekrieg@gmail.com>) |
Ответы |
Re: pgAdmin4 - cannot run on Debian 8
|
Список | pgadmin-support |
Please keep the list CC'd. On Mon, Oct 24, 2016 at 2:42 PM, André Cardoso <andrekrieg@gmail.com> wrote: > root@mydebian8:/home/i1854609/pgadmin4-1.0# pip install -r > requirements_py2.txt > Exception: > Traceback (most recent call last): > File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in > main > status = self.run(options, args) > File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 274, > in run > for req in parse_requirements(filename, finder=finder, options=options, > session=session): > File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1632, in > parse_requirements > req = InstallRequirement.from_line(line, comes_from, > prereleases=getattr(options, "pre", None)) > File "/usr/lib/python2.7/dist-packages/pip/req.py", line 173, in from_line > return cls(req, comes_from, url=url, prereleases=prereleases) > File "/usr/lib/python2.7/dist-packages/pip/req.py", line 71, in __init__ > req = pkg_resources.Requirement.parse(req) > File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2793, in > parse > reqs = list(parse_requirements(s)) > File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2721, in > parse_requirements > "version spec") > File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2686, in > scan_list > raise ValueError(msg, line, "at", line[p:]) > ValueError: ('Expected version spec in', "ordereddict; python_version < > '2.7'", 'at', "; python_version < '2.7'") I'd guess you have an old version of pip that doesn't understand the environment marker on the very last line of the file. I would either: - Upgrade pip - Edit the requirements file and remove the last line if you have Python 2.7 or remove everything from and including the ; onwards if you have Python 2.6. Then, re-run pip install -r requirements_py2.txt. -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgadmin-support по дате отправления: