Skip to content

uninstall not recognized in setup.py #8439

Open
@KumoLiu

Description

@KumoLiu
================================
Printing system config...
================================
`psutil` required for `print_system_info`

================================
Printing GPU config...
================================
/usr/local/lib/python3.12/dist-packages/torch/cuda/__init__.py:789: UserWarning: Can't initialize NVML
  warnings.warn("Can't initialize NVML")
Num GPUs: 0
Has CUDA: False
cuDNN enabled: True
NVIDIA_TF32_OVERRIDE: None
TORCH_ALLOW_TF32_CUBLAS_OVERRIDE: None
cuDNN version: 90501
+ QUICKTEST=True
+ ./runtests.sh --build --min
Run tests under /workspace/Code/MONAI
PYTHONPATH: /workspace/Code/MONAI:
Python: /usr/bin/python
--------------------------------------------------------------------------------
compile and install
Compiling and installing MONAI cpp extensions...
setup.py with torch 2.7.0+cu126
Please set environment variable `BUILD_MONAI=1` to enable Cpp/CUDA extension build.
BUILD_MONAI_CPP=False, BUILD_MONAI_CUDA=False, TORCH_VERSION=20700.
/usr/local/lib/python3.12/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

        ********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        ********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: option --uninstall not recognized

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions