ckan / ckanext-spatial

Geospatial extension for CKAN
http://docs.ckan.org/projects/ckanext-spatial
125 stars 192 forks source link

Cannot install without installing wheel first #275

Open frafra opened 2 years ago

frafra commented 2 years ago

Python wheel dependency is missing:

         cwd: /tmp/pip-wheel-w38r5d2w/autosemver_a15a4af24fe44a0db1d0007c65a428e7/
    Complete output (9 lines):
    /usr/lib/ckan/venv/lib/python3.8/site-packages/setuptools/dist.py:473: UserWarning: Normalizing '0.5.5
    ' to '0.5.5'
      warnings.warn(
    usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: setup.py --help [cmd1 cmd2 ...]
       or: setup.py --help-commands
  subprocess.CalledProcessError: Command '['/usr/lib/ckan/venv/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpelhkonzm', '--quiet', 'autosemver~=0.2']' returned non-zero exit status 1.

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-install-zf6pvclp/isbnid-fork_77620fdeb0e04eeaabe56e802074e53b/setup.py", line 13, in <module>
      setup(
    File "/usr/lib/ckan/venv/lib/python3.8/site-packages/setuptools/__init__.py", line 144, in setup
      _install_setup_requires(attrs)
    File "/usr/lib/ckan/venv/lib/python3.8/site-packages/setuptools/__init__.py", line 139, in _install_setup_requires
      dist.fetch_build_eggs(dist.setup_requires)
    File "/usr/lib/ckan/venv/lib/python3.8/site-packages/setuptools/dist.py", line 718, in fetch_build_eggs
      resolved_dists = pkg_resources.working_set.resolve(
    File "/usr/lib/ckan/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 780, in resolve
      dist = best[req.key] = env.best_match(
    File "/usr/lib/ckan/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1065, in best_match
      return self.obtain(req, installer)
    File "/usr/lib/ckan/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1077, in obtain
      return installer(requirement)
    File "/usr/lib/ckan/venv/lib/python3.8/site-packages/setuptools/dist.py", line 777, in fetch_build_egg
      return fetch_build_egg(self, req)
    File "/usr/lib/ckan/venv/lib/python3.8/site-packages/setuptools/installer.py", line 130, in fetch_build_egg
      raise DistutilsError(str(e))
  distutils.errors.DistutilsError: Command '['/usr/lib/ckan/venv/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpelhkonzm', '--quiet', 'autosemver~=0.2']' returned non-zero exit status 1.
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/c1/2b/ce0abe80c1dcc80fcc3ac7a73f19c9d095592466ca97a530d512cbb4d242/isbnid_fork-0.5.2.tar.gz#sha256=8d878866aa0e7f06e700a37fce586c7398ce4837da8bca39683db7028a9c3837 (from https://pypi.org/simple/isbnid-fork/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Using: 9831e74c9e9eedcb35fa00858190f778d83928ad