Skip to content

pip install failure on ubuntu/popos 20 #9

@bkmartinjr

Description

@bkmartinjr

Using:

$ pip -V
pip 21.1.1 from /home/bruce/projects/diffexp-playground/venv/lib/python3.8/site-packages/pip (python 3.8)

An error is generated when attempting to install blosc2 from pypi:

$ pip install blosc2
Collecting blosc2
  Downloading blosc2-0.1.1.tar.gz (1.8 MB)
     |████████████████████████████████| 1.8 MB 3.6 MB/s 
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  ERROR: Command errored out with exit status 1:
   command: /home/bruce/projects/diffexp-playground/venv/bin/python /home/bruce/projects/diffexp-playground/venv/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py get_requires_for_build_wheel /tmp/tmp0h_a5ln5
       cwd: /tmp/pip-install-67g0rfgf/blosc2_2a32b130b04a48ad9981054e6619d174
  Complete output (18 lines):
  Traceback (most recent call last):
    File "/home/bruce/projects/diffexp-playground/venv/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 280, in <module>
      main()
    File "/home/bruce/projects/diffexp-playground/venv/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 263, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/home/bruce/projects/diffexp-playground/venv/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 114, in get_requires_for_build_wheel
      return hook(config_settings)
    File "/tmp/pip-build-env-qkyfpmft/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 154, in get_requires_for_build_wheel
      return self._get_build_requires(
    File "/tmp/pip-build-env-qkyfpmft/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 135, in _get_build_requires
      self.run_setup()
    File "/tmp/pip-build-env-qkyfpmft/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 258, in run_setup
      super(_BuildMetaLegacyBackend,
    File "/tmp/pip-build-env-qkyfpmft/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 150, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 14, in <module>
      from skbuild import setup
  ModuleNotFoundError: No module named 'skbuild'
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/85/8b/c9e9a49d1c79b22455847899b7699ad87154a09eabcd0cd900f0bbc9f5af/blosc2-0.1.1.tar.gz#sha256=3f405c610c43c940e5e819f6f6a5e31158e18f24f14adf9ba2ea9d4ad94a5301 (from https://pypi.org/simple/blosc2/). Command errored out with exit status 1: /home/bruce/projects/diffexp-playground/venv/bin/python /home/bruce/projects/diffexp-playground/venv/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py get_requires_for_build_wheel /tmp/tmp0h_a5ln5 Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement blosc2 (from versions: 0.1.1)
ERROR: No matching distribution found for blosc2

skbuild is installed (I did it manually):

$ pip freeze | grep scikit-build
scikit-build==0.11.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions