Skip to content

ERROR: Dependency "cudss" not found, tried pkgconfig #345

@tangchau

Description

@tangchau

I have already downloaded and installed cuDSS 0.6.0 from NVIDIA's official website, set the PATH and cudss_PATH, but the following error still occurs,How should I fix it?
(bsyh_env) D:\tc\boshuyouhua\boshuyouhua_env_wheel\scs-python>python -m pip install -Csetup-args=-Dlink_cudss=true -Csetup-args=-Dint32=true .
Processing d:\tc\boshuyouhua\boshuyouhua_env_wheel\scs-python
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [31 lines of output]
+ meson setup D:\tc\boshuyouhua\boshuyouhua_env_wheel\scs-python D:\tc\boshuyouhua\boshuyouhua_env_wheel\scs-python.mesonpy-4w4lgjyj -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md -Dlink_cudss=true -Dint32=true --native-file=D:\tc\boshuyouhua\boshuyouhua_env_wheel\scs-python.mesonpy-4w4lgjyj\meson-python-native-file.ini
The Meson build system
Version: 1.10.0
Source dir: D:\tc\boshuyouhua\boshuyouhua_env_wheel\scs-python
Build dir: D:\tc\boshuyouhua\boshuyouhua_env_wheel\scs-python.mesonpy-4w4lgjyj
Build type: native build
WARNING: Project does not target a minimum version but uses feature introduced in '1.1': meson.options file. Use meson_options.txt instead
Activating VS 17.14.23
Project name: scs
Project version: undefined
C compiler for the host machine: cl (msvc 19.44.35222 "用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.44.35222 版")
C linker for the host machine: link link 14.44.35222.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python found: YES (D:\ProgramData\anaconda3\envs\bsyh_env\python.exe)
Library openblas found: NO
Found pkg-config: YES (D:\ProgramData\anaconda3\envs\bsyh_env\Library\bin\pkg-config.EXE) 0.29.2
Run-time dependency openblas found: YES 0.3.30
Compiler for C supports arguments -Wno-unused-result: NO
Run-time dependency CUDA (modules: cudart_static) found: YES 12.9 (C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.9)
Run-time dependency python found: YES 3.12
Found CMake: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.EXE (3.31.6)
WARNING: Unknown generator expression '$CONFIG:Debug'.
WARNING: Unknown generator expression '$<:Debug>'.
WARNING: Unknown generator expression '$CONFIG:Debug,RelWithDebInfo'.
WARNING: Unknown generator expression '$<:ProgramDatabase>'.
Run-time dependency cudss found: NO (tried pkgconfig)

  ..\meson.build:235:14: ERROR: Dependency "cudss" not found, tried pkgconfig

  A full log can be found at D:\tc\boshuyouhua\boshuyouhua_env_wheel\scs-python\.mesonpy-4w4lgjyj\meson-logs\meson-log.txt
  [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.

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