Skip to content

diso build error on Windows #18

@SoftologyPro

Description

@SoftologyPro

During pip install -r requirements.txt

Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting accelerate==1.1.1 (from -r requirements.txt (line 1))
  Downloading accelerate-1.1.1-py3-none-any.whl.metadata (19 kB)
Collecting diffusers==0.30.0 (from -r requirements.txt (line 2))
  Downloading diffusers-0.30.0-py3-none-any.whl.metadata (18 kB)
Collecting diso==0.1.4 (from -r requirements.txt (line 3))
  Downloading diso-0.1.4.tar.gz (24 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      Traceback (most recent call last):
        File "D:\Tests\UltraShape\UltraShape\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 389, in <module>
          main()
        File "D:\Tests\UltraShape\UltraShape\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 373, in main
          json_out["return_val"] = hook(**hook_input["kwargs"])
        File "D:\Tests\UltraShape\UltraShape\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 143, in get_requires_for_build_wheel
          return hook(config_settings)
        File "C:\Users\Jason\AppData\Local\Temp\pip-build-env-yjz0gzia\overlay\Lib\site-packages\setuptools\build_meta.py", line 331, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
        File "C:\Users\Jason\AppData\Local\Temp\pip-build-env-yjz0gzia\overlay\Lib\site-packages\setuptools\build_meta.py", line 301, in _get_build_requires
          self.run_setup()
        File "C:\Users\Jason\AppData\Local\Temp\pip-build-env-yjz0gzia\overlay\Lib\site-packages\setuptools\build_meta.py", line 512, in run_setup
          super().run_setup(setup_script=setup_script)
        File "C:\Users\Jason\AppData\Local\Temp\pip-build-env-yjz0gzia\overlay\Lib\site-packages\setuptools\build_meta.py", line 317, in run_setup
          exec(code, locals())
        File "<string>", line 4, in <module>
      ModuleNotFoundError: No module named 'torch'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Operation cancelled by user
Terminate batch job (Y/N)? y

(venv) D:\Tests\UltraShape\UltraShape>pip list
Package           Version
----------------- ------------
filelock          3.20.0
fsspec            2025.12.0
Jinja2            3.1.6
MarkupSafe        2.1.5
mpmath            1.3.0
networkx          3.4.2
ninja             1.11.1.4
numpy             2.2.6
pillow            12.0.0
pip               25.3
setuptools        65.5.0
sympy             1.14.0
torch             2.7.0+cu128
torchaudio        2.7.0+cu128
torchvision       0.22.0+cu128
typing_extensions 4.15.0
wheel             0.45.1

(venv) D:\Tests\UltraShape\UltraShape>

You can see from the pip list that torch is installed.
Any ideas?

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