[ckan-dev] Datapusher - error on requirements.txt

Pedro Ferro pedro.ferro at gmail.com
Wed Feb 1 17:47:19 UTC 2017


Sorry for insist on this, but I'm having this problem everytime I have to
install requirements.txt.
(It's pretty frustrating because after a hard succesfull instalation of
CKAN I made my own manual of installation so everything ran without errors
on the next installation).

Now when I was installing ckanext-spatial have a similar error on
requirements.txt
I imagine I can't ignore this error...
I search and didn't found a  solution for this.

Appreciate if anyone could help


(default)pf at pf-vb:/usr/lib/ckan/default/src/ckanext-spatial$ pip install -r
pip-requirements.txt

Requirement already satisfied: GeoAlchemy>=0.6 in
/home/pf/ckan/lib/default/lib/python2.7/site-packages (from -r
pip-requirements.txt (line 1))
Requirement already satisfied: GeoAlchemy2>=0.2.4 in
/home/pf/ckan/lib/default/lib/python2.7/site-packages (from -r
pip-requirements.txt (line 2))
Requirement already satisfied: Shapely>=1.2.13 in
/home/pf/ckan/lib/default/lib/python2.7/site-packages (from -r
pip-requirements.txt (line 3))
Requirement already satisfied: OWSLib==0.8.6 in
/home/pf/ckan/lib/default/lib/python2.7/site-packages (from -r
pip-requirements.txt (line 4))
Requirement already satisfied: lxml>=2.3 in
/home/pf/ckan/lib/default/lib/python2.7/site-packages
(from -r pip-requirements.txt (line 5))
Requirement already satisfied: argparse in /usr/lib/python2.7 (from -r
pip-requirements.txt (line 6))
Collecting pyparsing==1.5.6 (from -r pip-requirements.txt (line 7))
  Using cached pyparsing-1.5.6.zip
Requirement already satisfied: requests>=1.1.0 in
/home/pf/ckan/lib/default/lib/python2.7/site-packages (from -r
pip-requirements.txt (line 8))
Requirement already satisfied: SQLAlchemy>=0.6.1 in
/home/pf/ckan/lib/default/lib/python2.7/site-packages (from
GeoAlchemy>=0.6->-r pip-requirements.txt (line 1))
Requirement already satisfied: python-dateutil>=1.5 in
/home/pf/ckan/lib/default/lib/python2.7/site-packages (from
OWSLib==0.8.6->-r pip-requirements.txt (line 4))
Requirement already satisfied: pytz in
/home/pf/ckan/lib/default/lib/python2.7/site-packages
(from OWSLib==0.8.6->-r pip-requirements.txt (line 4))
Installing collected packages: pyparsing
  Found existing installation: pyparsing 2.1.10
    Uninstalling pyparsing-2.1.10:
      Successfully uninstalled pyparsing-2.1.10
  Running setup.py install for pyparsing ... error
    Complete output from command /usr/lib/ckan/default/bin/python -u -c
"import setuptools, tokenize;__file__='/tmp/pip-
build-XDeznZ/pyparsing/setup.py';f=getattr(tokenize, 'open',
open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code,
__file__, 'exec'))" install --record /tmp/pip-Cv1xDo-record/install-record.txt
--single-version-externally-managed --compile --install-headers
/usr/lib/ckan/default/include/site/python2.7/pyparsing:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/setuptools/__init__.py",
line 12, in <module>
        import setuptools.version
      File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/setuptools/version.py",
line 1, in <module>
        import pkg_resources
      File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
line 72, in <module>
        import packaging.requirements
      File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/packaging/requirements.py",
line 59, in <module>
        MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")
    TypeError: __call__() takes exactly 2 arguments (1 given)

    ----------------------------------------
  Rolling back uninstall of pyparsing
Command "/usr/lib/ckan/default/bin/python -u -c "import setuptools,
tokenize;__file__='/tmp/pip-build-XDeznZ/pyparsing/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" install --record
/tmp/pip-Cv1xDo-record/install-record.txt --single-version-externally-managed
--compile --install-headers
/usr/lib/ckan/default/include/site/python2.7/pyparsing"
failed with error code 1 in /tmp/pip-build-XDeznZ/pyparsing/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20170201/180434b9/attachment-0002.html>


More information about the ckan-dev mailing list