Open zachysaur opened 1 month ago
You can build NATTEN from source on Windows with MSVC; just refer to our docs.
If you're using WSL, you can both build from source and install via pip wheels; just refer to our website.
it dont work
There's nothing I can do with that level of detail. Please attach logs and any other useful information you might have so I can help you.
``746f69d0bd96e8085c4a5\setup.py", line 219, in build_extension subprocess.check_call( File "C:\Program Files\Python311\Lib\subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', 'C:\Users\adrianb\AppData\Local\Temp\pip-install-g7udw0x\nattll-g7udw0x_\natten_4a7e0e8d2a7746f69d0bd96e8085c4a5\csrc', '-DPYTHON_PATH=C:\Users\adrian_b\Desktop\gendesign-main\venverative-interior-design-main\venv\Scripts\python.exe', '-DOUTPUT_FILE_NAME=natten\libnatten.cp311-win_amd-DNATTEN_IS_WINDO64', '-DNATTEN_CUDA_ARCH_LIST=', '-DNATTEN_IS_WINDOWS=1', '-DNATTEN_IS_MAC=0', '-DIS_LIBTORCH_BUILT_WITH_CXX1Users\adrian_b\1_ABI=0', '-DNATTEN_WITH_AVX=1', '-DPY_LIB_DIR=C:\Users\adrian_b\Desktop\generative-interior-design-main\turned non-zero e\venv\Scripts\libs', '-G Ninja', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1. [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for natten Running setup.py clean for natten Failed to build natten ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (natten)``
有没有办法在 Windows 上安装它?
Have you solved it yet?
@zachysaur that's still only the last few lines of the error. Please capture and upload the full log as a text file.
wish a windows edition
@icyriverwolf @jiangke1214 Last time I had access to a Windows machine with CUDA I fixed all the build errors and confirmed NATTEN builds on Windows.
I don't really have an easy way to try it again, so any complete logs will be very helpful in identifying and resolving the issue.
Hi, Ali. I'm sorry that I don't have a lot of knowledge, but I also encountered the problem that I can't install NATTEN on windows, if you have time, can you please Point out the problems I have?
Traceback (most recent call last):
File "setup.py", line 243, in
@Yucc-star unfortunately your log similar to the previous one in this thread is not complete. It's maybe 10% of the full log, and it's only revealing that building failed, and nothing more. I would need the full log to be able to help.
I recommend piping the output from WindowsBuilder.bat install
into a file, and sharing that file (please refrain from pasting the entire log here as it can be in the order of thousands of lines).
everyone having same issue
@zachysaur I understand, but without logs, I can't even guess what the issue is, and given that I don't have a windows machine with cuda, there's little I can do to help resolve the issue if I'm not even able to reproduce it.
Marking inactive. If someone experiencing this issue can share the full log file here, I can try and look into it further. Otherwise we'll close.
is there a way to install this on windows?