You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error is "pip install numpy scipy ninja pybind11"' '"python3 -m pybind11 --includes"' can't execute, But it works just fine when I run it from the command line alone.
Building wheel for spops (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [95 lines of output]
'"pip install numpy scipy ninja pybind11"' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
'"python3 -m pybind11 --includes"' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
D:\environment\anaconda3\envs\rosa\lib\site-packages\setuptools_distutils\extension.py:139: UserWarning: Unknown Extension options: 'dlink', 'dlink_libraries'
warnings.warn(msg)
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-310
creating build\lib.win-amd64-cpython-310\spops
copying spops\csr_add.py -> build\lib.win-amd64-cpython-310\spops
copying spops\csr_transpose.py -> build\lib.win-amd64-cpython-310\spops
copying spops\sddmm.py -> build\lib.win-amd64-cpython-310\spops
copying spops\spmm.py -> build\lib.win-amd64-cpython-310\spops
copying spops_init_.py -> build\lib.win-amd64-cpython-310\spops
running build_ext
building 'spops_backend' extension
creating D:\LLMModel\lib\spops-main\build\temp.win-amd64-cpython-310
creating D:\LLMModel\lib\spops-main\build\temp.win-amd64-cpython-310\Release
creating D:\LLMModel\lib\spops-main\build\temp.win-amd64-cpython-310\Release\spops
creating D:\LLMModel\lib\spops-main\build\temp.win-amd64-cpython-310\Release\spops\lib
D:\environment\anaconda3\envs\rosa\lib\site-packages\torch\utils\cpp_extension.py:1965: UserWarning: TORCH_CUDA_ARCH_LIST is not set, all archs for visible cards are included for compilation.
If this is not desired, please set os.environ['TORCH_CUDA_ARCH_LIST'].
warnings.warn(
Emitting ninja build file D:\LLMModel\lib\spops-main\build\temp.win-amd64-cpython-310\Release\build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
ninja: error: build.ninja:31: expected build command name
build D:\LLMModel\lib\spops-main\build\temp.win-amd64-cpython-310\Releas...
^ near here
Traceback (most recent call last):
File "D:\environment\anaconda3\envs\rosa\lib\site-packages\torch\utils\cpp_extension.py", line 2105, in _run_ninja_build
subprocess.run(
File "D:\environment\anaconda3\envs\rosa\lib\subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "D:\LLMModel\lib\spops-main\setup.py", line 10, in <module>
setup(
File "D:\environment\anaconda3\envs\rosa\lib\site-packages\setuptools\__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
File "D:\environment\anaconda3\envs\rosa\lib\site-packages\setuptools\_distutils\core.py", line 184, in setup
return run_commands(dist)
File "D:\environment\anaconda3\envs\rosa\lib\site-packages\setuptools\_distutils\core.py", line 200, in run_commands
dist.run_commands()
File "D:\environment\anaconda3\envs\rosa\lib\site-packages\setuptools\_distutils\dist.py", line 954, in run_commands
self.run_command(cmd)
File "D:\environment\anaconda3\envs\rosa\lib\site-packages\setuptools\dist.py", line 950, in run_command
super().run_command(command)
File "D:\environment\anaconda3\envs\rosa\lib\site-packages\setuptools\_distutils\dist.py", line 973, in run_command
cmd_obj.run()
File "D:\environment\anaconda3\envs\rosa\lib\site-packages\setuptools\command\bdist_wheel.py", line 384, in run
self.run_command("build")
File "D:\environment\anaconda3\envs\rosa\lib\site-packages\setuptools\_distutils\cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "D:\environment\anaconda3\envs\rosa\lib\site-packages\setuptools\dist.py", line 950, in run_command
super().run_command(command)
File "D:\environment\anaconda3\envs\rosa\lib\site-packages\setuptools\_distutils\dist.py", line 973, in run_command
cmd_obj.run()
File "D:\environment\anaconda3\envs\rosa\lib\site-packages\setuptools\_distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "D:\environment\anaconda3\envs\rosa\lib\site-packages\setuptools\_distutils\cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "D:\environment\anaconda3\envs\rosa\lib\site-packages\setuptools\dist.py", line 950, in run_command
super().run_command(command)
File "D:\environment\anaconda3\envs\rosa\lib\site-packages\setuptools\_distutils\dist.py", line 973, in run_command
cmd_obj.run()
File "D:\environment\anaconda3\envs\rosa\lib\site-packages\setuptools\command\build_ext.py", line 98, in run
_build_ext.run(self)
File "D:\environment\anaconda3\envs\rosa\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 359, in run
self.build_extensions()
File "D:\environment\anaconda3\envs\rosa\lib\site-packages\torch\utils\cpp_extension.py", line 866, in build_extensions
build_ext.build_extensions(self)
File "D:\environment\anaconda3\envs\rosa\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 476, in build_extensions
self._build_extensions_serial()
File "D:\environment\anaconda3\envs\rosa\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 502, in _build_extensions_serial
self.build_extension(ext)
File "D:\environment\anaconda3\envs\rosa\lib\site-packages\setuptools\command\build_ext.py", line 263, in build_extension
_build_ext.build_extension(self, ext)
File "D:\environment\anaconda3\envs\rosa\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 557, in build_extension
objects = self.compiler.compile(
File "D:\environment\anaconda3\envs\rosa\lib\site-packages\torch\utils\cpp_extension.py", line 838, in win_wrap_ninja_compile
_write_ninja_file_and_compile_objects(
File "D:\environment\anaconda3\envs\rosa\lib\site-packages\torch\utils\cpp_extension.py", line 1785, in _write_ninja_file_and_compile_objects
_run_ninja_build(
File "D:\environment\anaconda3\envs\rosa\lib\site-packages\torch\utils\cpp_extension.py", line 2121, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for spops
Running setup.py clean for spops
Failed to build spops
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (spops)
The text was updated successfully, but these errors were encountered:
pip install git+https://github.com/IST-DASLab/spops.git
error is "pip install numpy scipy ninja pybind11"' '"python3 -m pybind11 --includes"' can't execute, But it works just fine when I run it from the command line alone.
Building wheel for spops (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [95 lines of output]
'"pip install numpy scipy ninja pybind11"' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
'"python3 -m pybind11 --includes"' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
D:\environment\anaconda3\envs\rosa\lib\site-packages\setuptools_distutils\extension.py:139: UserWarning: Unknown Extension options: 'dlink', 'dlink_libraries'
warnings.warn(msg)
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-310
creating build\lib.win-amd64-cpython-310\spops
copying spops\csr_add.py -> build\lib.win-amd64-cpython-310\spops
copying spops\csr_transpose.py -> build\lib.win-amd64-cpython-310\spops
copying spops\sddmm.py -> build\lib.win-amd64-cpython-310\spops
copying spops\spmm.py -> build\lib.win-amd64-cpython-310\spops
copying spops_init_.py -> build\lib.win-amd64-cpython-310\spops
running build_ext
building 'spops_backend' extension
creating D:\LLMModel\lib\spops-main\build\temp.win-amd64-cpython-310
creating D:\LLMModel\lib\spops-main\build\temp.win-amd64-cpython-310\Release
creating D:\LLMModel\lib\spops-main\build\temp.win-amd64-cpython-310\Release\spops
creating D:\LLMModel\lib\spops-main\build\temp.win-amd64-cpython-310\Release\spops\lib
D:\environment\anaconda3\envs\rosa\lib\site-packages\torch\utils\cpp_extension.py:1965: UserWarning: TORCH_CUDA_ARCH_LIST is not set, all archs for visible cards are included for compilation.
If this is not desired, please set os.environ['TORCH_CUDA_ARCH_LIST'].
warnings.warn(
Emitting ninja build file D:\LLMModel\lib\spops-main\build\temp.win-amd64-cpython-310\Release\build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
ninja: error: build.ninja:31: expected build command name
build D:\LLMModel\lib\spops-main\build\temp.win-amd64-cpython-310\Releas...
^ near here
Traceback (most recent call last):
File "D:\environment\anaconda3\envs\rosa\lib\site-packages\torch\utils\cpp_extension.py", line 2105, in _run_ninja_build
subprocess.run(
File "D:\environment\anaconda3\envs\rosa\lib\subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for spops
Running setup.py clean for spops
Failed to build spops
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (spops)
The text was updated successfully, but these errors were encountered: