Skip to content

Installation of DLMUSE failed on cluster #81

@dhivsrin

Description

@dhivsrin

Hi,

I tried installing NiChart_DLMUSE on the cluster and it gave me an error below:

Collecting python-gdcm (from dicom2nifti->nnunetv2==2.5.1->DLICV->NiChart_DLMUSE==1.0.9)
Using cached python_gdcm-3.2.1.tar.gz (3.4 MB)
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
╰─> [28 lines of output]
*** scikit-build-core 0.9.10 using CMake 4.1.0 (wheel)
*** Configuring CMake...
loading initial cache file /scratch/psychanalysis/tmp.GOaaK94GZW/tmpdmx4e4wc/build/CMakeInit.txt
CMake Error: The source directory "/scratch/psychanalysis/tmp.GOaaK94GZW/pip-install-gztx2_08/python-gdcm_23874f23a8f64f9ba34489178ceede86" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
Traceback (most recent call last):
File "/cbica/projects/PsychAnalysis/.conda/envs/nichart-dlmuse/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in
main()
File "/cbica/projects/PsychAnalysis/.conda/envs/nichart-dlmuse/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/cbica/projects/PsychAnalysis/.conda/envs/nichart-dlmuse/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 178, in prepare_metadata_for_build_wheel
whl_basename = backend.build_wheel(metadata_directory, config_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/scratch/psychanalysis/tmp.GOaaK94GZW/pip-build-env-19wum7oz/overlay/lib/python3.12/site-packages/hatchling/build.py", line 58, in build_wheel
return os.path.basename(next(builder.build(directory=wheel_directory, versions=['standard'])))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/scratch/psychanalysis/tmp.GOaaK94GZW/pip-build-env-19wum7oz/overlay/lib/python3.12/site-packages/hatchling/builders/plugin/interface.py", line 147, in build
build_hook.initialize(version, build_data)
File "/scratch/psychanalysis/tmp.GOaaK94GZW/pip-build-env-19wum7oz/overlay/lib/python3.12/site-packages/scikit_build_core/hatch/plugin.py", line 125, in initialize
self._initialize(build_data=build_data)
File "/scratch/psychanalysis/tmp.GOaaK94GZW/pip-build-env-19wum7oz/overlay/lib/python3.12/site-packages/scikit_build_core/hatch/plugin.py", line 226, in _initialize
builder.configure(
File "/scratch/psychanalysis/tmp.GOaaK94GZW/pip-build-env-19wum7oz/overlay/lib/python3.12/site-packages/scikit_build_core/builder/builder.py", line 237, in configure
self.config.configure(
File "/scratch/psychanalysis/tmp.GOaaK94GZW/pip-build-env-19wum7oz/overlay/lib/python3.12/site-packages/scikit_build_core/cmake.py", line 221, in configure
raise FailedLiveProcessError(msg) from None
scikit_build_core.errors.FailedLiveProcessError: CMake configuration failed
[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.

Here are the steps I followed:

1.Created conda environment.
2.git clone https://github.com/CBICA/NiChart_DLMUSE.git
3. cd NiChart_DLMUSE
4.ython3 -m pip install -e .

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