Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows xformers install breaking #33

Open
heartlocket opened this issue Nov 25, 2022 · 4 comments
Open

windows xformers install breaking #33

heartlocket opened this issue Nov 25, 2022 · 4 comments
Labels
question Further information is requested

Comments

@heartlocket
Copy link

hi, i am having issues installing xformers, breaking at pip install -e .

Obtaining file:///C:/Users/heart/Desktop/DEV/xformers
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [18 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\heart\Desktop\DEV\xformers\setup.py", line 270, in <module>
          ext_modules=get_extensions(),
        File "C:\Users\heart\Desktop\DEV\xformers\setup.py", line 210, in get_extensions
          cuda_version = get_cuda_version(CUDA_HOME)
        File "C:\Users\heart\Desktop\DEV\xformers\setup.py", line 67, in get_cuda_version
          raw_output = subprocess.check_output([nvcc_bin, "-V"], universal_newlines=True)
        File "C:\Users\heart\anaconda3\envs\stability\lib\subprocess.py", line 421, in check_output
          return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
        File "C:\Users\heart\anaconda3\envs\stability\lib\subprocess.py", line 503, in run
          with Popen(*popenargs, **kwargs) as process:
        File "C:\Users\heart\anaconda3\envs\stability\lib\subprocess.py", line 971, in __init__
          self._execute_child(args, executable, preexec_fn, close_fds,
        File "C:\Users\heart\anaconda3\envs\stability\lib\subprocess.py", line 1440, in _execute_child
          hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
      FileNotFoundError: [WinError 2] The system cannot find the file specified
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
@gmchim
Copy link

gmchim commented Nov 25, 2022

having the same issue. not the only one aswell. I've updated everything, downgraded everything and nothing seems to work,

@0xdevalias
Copy link

0xdevalias commented Nov 25, 2022

@0xdevalias
Copy link

0xdevalias commented Nov 25, 2022

Are you following the xformers installatiomn instructions from here?

pip wheels: There is no updated package available on pip, please install from conda or from source


This is probably more an issue you should raise on the xformers repo, as it seems to be unrelated to SDv2 itself?

@dmarx dmarx added the question Further information is requested label Nov 28, 2022
@Kepler-24
Copy link

Kepler-24 commented Feb 14, 2024

I have met a similar error. However, I solved by installing Microsoft Visual C++ 14.0 or greater.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants