[ckan-dev] Datapusher - error on requirements.txt
Pedro Ferro
pedro.ferro at gmail.com
Mon Jan 30 17:53:52 UTC 2017
Hi,
I was making a new Ckan installation and got an error on a Datapusher
command
(about 2, 3 weeks ago I made the some installation and didn't get this
error)
Running:
sudo –E /usr/lib/ckan/datapusher/bin/pip install -r requirements.txt
...
Running setup.py install for json-table-schema
Compiling /home/pf/ckan/lib/datapusher/build/Jinja2/jinja2/asyncfilters.py
...
File "/home/pf/ckan/lib/datapusher/build/Jinja2/jinja2/asyncfilters.py",
line 7
async def auto_to_seq(value):
^
SyntaxError: invalid syntax
Compiling /home/pf/ckan/lib/datapusher/build/Jinja2/jinja2/asyncsupport.py
...
File "/home/pf/ckan/lib/datapusher/build/Jinja2/jinja2/asyncsupport.py",
line 22
async def concat_async(async_gen):
^
SyntaxError: invalid syntax
Running setup.py install for wtforms
warning: no previously-included files matching '*' found under
directory 'docs/_build'
warning: no previously-included files matching '*.pyc' found under
directory 'tests'
Found existing installation: setuptools 2.2
Uninstalling setuptools:
Successfully uninstalled setuptools
Running setup.py install for webencodings
Traceback (most recent call last):
File "<string>", line 1, in <module>
File
"/usr/lib/ckan/datapusher/local/lib/python2.7/site-packages/setuptools/__init__.py",
line 12, in <module>
import setuptools.version
File
"/usr/lib/ckan/datapusher/local/lib/python2.7/site-packages/setuptools/version.py",
line 1, in <module>
import pkg_resources
File
"/usr/lib/ckan/datapusher/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
line 70, in <module>
import packaging.version
ImportError: No module named packaging.version
Complete output from command /usr/lib/ckan/datapusher/bin/python -c
"import setuptools,
tokenize;__file__='/home/pf/ckan/lib/datapusher/build/webencodings/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record /tmp/pip-P4kXLT-record/install-record.txt
--single-version-externally-managed --compile --install-headers
/usr/lib/ckan/datapusher/include/site/python2.7:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File
"/usr/lib/ckan/datapusher/local/lib/python2.7/site-packages/setuptools/__init__.py",
line 12, in <module>
import setuptools.version
File
"/usr/lib/ckan/datapusher/local/lib/python2.7/site-packages/setuptools/version.py",
line 1, in <module>
import pkg_resources
File
"/usr/lib/ckan/datapusher/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
line 70, in <module>
import packaging.version
ImportError: No module named packaging.version
----------------------------------------
Cleaning up...
Command /usr/lib/ckan/datapusher/bin/python -c "import setuptools,
tokenize;__file__='/home/pf/ckan/lib/datapusher/build/webencodings/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record /tmp/pip-P4kXLT-record/install-record.txt
--single-version-externally-managed --compile --install-headers
/usr/lib/ckan/datapusher/include/site/python2.7 failed with error code 1 in
/home/pf/ckan/lib/datapusher/build/webencodings
Storing debug log for failure in /home/pf/.pip/pip.log
Appreciate any help on this.
Pedro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20170130/24b298d2/attachment-0002.html>
More information about the ckan-dev
mailing list