Skip to content
This repository was archived by the owner on Dec 8, 2024. It is now read-only.
This repository was archived by the owner on Dec 8, 2024. It is now read-only.

Unable to install. #143

Open
Open
@RokeJulianLockhart

Description

@RokeJulianLockhart
PS /home/rokejulianlockhart> pip3 install qml                   
Defaulting to user installation because normal site-packages is not writeable
Collecting qml
  Downloading qml-0.4.0.27.tar.gz (41 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.5/41.5 kB 1.2 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [25 lines of output]
      /tmp/pip-install-dd8zsoyi/qml_0fd0b7dd68194f79a7665a153691ee9d/setup.py:4: DeprecationWarning:
      
        `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
        of the deprecation of `distutils` itself. It will be removed for
        Python >= 3.12. For older Python versions it will remain present.
        It is recommended to use `setuptools < 60.0` for those Python versions.
        For more details, see:
          https://numpy.org/devdocs/reference/distutils_status_migration.html
      
      
        from numpy.distutils.core import Extension, setup
      MKL-discover: MKLROOT was not set
      running egg_info
      running build_src
      INFO: build_src
      INFO: building extension "ffchl_module" sources
      INFO: f2py options: ['--quiet']
      INFO: f2py:> build/src.linux-x86_64-3.10/ffchl_modulemodule.c
      creating build
      creating build/src.linux-x86_64-3.10
      appenddecl: "dimension" not implemented.
      appenddecl: "dimension" not implemented.
      INFO:   adding 'build/src.linux-x86_64-3.10/build/src.linux-x86_64-3.10/fortranobject.c' to sources.
      INFO:   adding 'build/src.linux-x86_64-3.10/build/src.linux-x86_64-3.10' to include_dirs.
      error: file '/usr/lib64/python3.10/site-packages/numpy/f2py/src/fortranobject.c' does not exist
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
NativeCommandExitException: Program "pip3" ended with non-zero exit code: 1.
PS /home/rokejulianlockhart>

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