Skip to content

pip install issue #3

@dkazanc

Description

@dkazanc

Hi, I'm having this pip install issue, any ideas? thanks

(httomo) algol@home:~/Documents/OtherCODE/tomocupy-stream(main)$ pip install .
Processing /home/algol/Documents/OtherCODE/tomocupy-stream
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: tomocupy-stream
  Building wheel for tomocupy-stream (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [10 lines of output]
      cmake: error while loading shared libraries: librhash.so.0: cannot open shared object file: No such file or directory
      Traceback (most recent call last):
        File "/home/algol/miniconda3/envs/httomo/lib/python3.10/site-packages/skbuild/setuptools_wrap.py", line 564, in setup
          cmkr = cmaker.CMaker(cmake_executable)
        File "/home/algol/miniconda3/envs/httomo/lib/python3.10/site-packages/skbuild/cmaker.py", line 95, in __init__
          self.cmake_version = get_cmake_version(self.cmake_executable)
        File "/home/algol/miniconda3/envs/httomo/lib/python3.10/site-packages/skbuild/cmaker.py", line 81, in get_cmake_version
          raise SKBuildError(
      
      Problem with the CMake installation, aborting build. CMake executable is cmake
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for tomocupy-stream
  Running setup.py clean for tomocupy-stream
Failed to build tomocupy-stream
Installing collected packages: tomocupy-stream
  Running setup.py install for tomocupy-stream ... error
  error: subprocess-exited-with-error
  
  × Running setup.py install for tomocupy-stream did not run successfully.
  │ exit code: 1
  ╰─> [12 lines of output]
      /home/algol/miniconda3/envs/httomo/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      cmake: error while loading shared libraries: librhash.so.0: cannot open shared object file: No such file or directory
      Traceback (most recent call last):
        File "/home/algol/miniconda3/envs/httomo/lib/python3.10/site-packages/skbuild/setuptools_wrap.py", line 564, in setup
          cmkr = cmaker.CMaker(cmake_executable)
        File "/home/algol/miniconda3/envs/httomo/lib/python3.10/site-packages/skbuild/cmaker.py", line 95, in __init__
          self.cmake_version = get_cmake_version(self.cmake_executable)
        File "/home/algol/miniconda3/envs/httomo/lib/python3.10/site-packages/skbuild/cmaker.py", line 81, in get_cmake_version
          raise SKBuildError(
      
      Problem with the CMake installation, aborting build. CMake executable is cmake
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> tomocupy-stream

note: This is an issue with the package mentioned above, not pip.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions