First Time Start and Setup. #2830
Closed
surajkumar8642
started this conversation in
General
Replies: 2 comments
-
Windows is not supported. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hay this is nice and interesting. and I want to learn. how should I start. I have install triton and LLVM form code and I face some problem something like this:-
Obtaining file:///C:/D/Work/Project/Git/triton/python
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
Collecting filelock (from triton==2.1.0)
Using cached filelock-3.13.1-py3-none-any.whl.metadata (2.8 kB)
Using cached filelock-3.13.1-py3-none-any.whl (11 kB)
Building wheels for collected packages: triton
Building editable for triton (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building editable for triton (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [187 lines of output]
running editable_wheel
creating C:\Users\suraj\AppData\Local\Temp\pip-wheel-mxiivbpb.tmp-xz16phuz\triton.egg-info
writing C:\Users\suraj\AppData\Local\Temp\pip-wheel-mxiivbpb.tmp-xz16phuz\triton.egg-info\PKG-INFO
writing dependency_links to C:\Users\suraj\AppData\Local\Temp\pip-wheel-mxiivbpb.tmp-xz16phuz\triton.egg-info\dependency_links.txt
writing requirements to C:\Users\suraj\AppData\Local\Temp\pip-wheel-mxiivbpb.tmp-xz16phuz\triton.egg-info\requires.txt
writing top-level names to C:\Users\suraj\AppData\Local\Temp\pip-wheel-mxiivbpb.tmp-xz16phuz\triton.egg-info\top_level.txt
writing manifest file 'C:\Users\suraj\AppData\Local\Temp\pip-wheel-mxiivbpb.tmp-xz16phuz\triton.egg-info\SOURCES.txt'
reading manifest file 'C:\Users\suraj\AppData\Local\Temp\pip-wheel-mxiivbpb.tmp-xz16phuz\triton.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'C:\Users\suraj\AppData\Local\Temp\pip-wheel-mxiivbpb.tmp-xz16phuz\triton.egg-info\SOURCES.txt'
creating 'C:\Users\suraj\AppData\Local\Temp\pip-wheel-mxiivbpb.tmp-xz16phuz\triton-2.1.0.dist-info'
C:\Users\suraj\AppData\Local\Temp\pip-build-env-fkf17ebm\overlay\Lib\site-packages\wheel\bdist_wheel.py:108: RuntimeWarning: Config variable 'Py_DEBUG' is unset, Python ABI tag may be incorrect
if get_flag("Py_DEBUG", hasattr(sys, "gettotalrefcount"), warn=(impl == "cp")):
creating C:\Users\suraj\AppData\Local\Temp\pip-wheel-mxiivbpb.tmp-xz16phuz\triton-2.1.0.dist-info\WHEEL
running build_py
running build_ext
CMake Error at CMakeLists.txt:15 (project):
Generator
in setup
return distutils.core.setup(**attrs)
File "C:\Users\suraj\AppData\Local\Temp\pip-build-env-fkf17ebm\overlay\Lib\site-packages\setuptools_distutils\core.py", line 185, in setup
return run_commands(dist)
File "C:\Users\suraj\AppData\Local\Temp\pip-build-env-fkf17ebm\overlay\Lib\site-packages\setuptools_distutils\core.py", line 201, in run_commands
dist.run_commands()
File "C:\Users\suraj\AppData\Local\Temp\pip-build-env-fkf17ebm\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 969, in run_commands
self.run_command(cmd)
File "C:\Users\suraj\AppData\Local\Temp\pip-build-env-fkf17ebm\overlay\Lib\site-packages\setuptools\dist.py", line 963, in run_command
super().run_command(command)
File "C:\Users\suraj\AppData\Local\Temp\pip-build-env-fkf17ebm\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\suraj\AppData\Local\Temp\pip-build-env-fkf17ebm\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 156, in run
self._create_wheel_file(bdist_wheel)
File "C:\Users\suraj\AppData\Local\Temp\pip-build-env-fkf17ebm\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 345, in _create_wheel_file
files, mapping = self._run_build_commands(dist_name, unpacked, lib, tmp)
File "C:\Users\suraj\AppData\Local\Temp\pip-build-env-fkf17ebm\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 268, in _run_build_commands
self._run_build_subcommands()
File "C:\Users\suraj\AppData\Local\Temp\pip-build-env-fkf17ebm\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 295, in _run_build_subcommands
self.run_command(name)
File "C:\Users\suraj\AppData\Local\Temp\pip-build-env-fkf17ebm\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "C:\Users\suraj\AppData\Local\Temp\pip-build-env-fkf17ebm\overlay\Lib\site-packages\setuptools\dist.py", line 963, in run_command
super().run_command(command)
File "C:\Users\suraj\AppData\Local\Temp\pip-build-env-fkf17ebm\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "", line 233, in run
File "", line 319, in build_extension
File "C:\Users\suraj\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', 'C:\D\Work\Project\Git\triton', '-G', 'Ninja', '-DCMAKE_MAKE_PROGRAM=C:\Users\suraj\AppData\Local\Temp\pip-build-env-fkf17ebm\overlay\Scripts\ninja.EXE', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-DLLVM_ENABLE_WERROR=ON', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\D\Work\Project\Git\triton\python\triton\_C', '-DTRITON_BUILD_TUTORIALS=OFF', '-DTRITON_BUILD_PYTHON_MODULE=ON', '-DPython3_EXECUTABLE:FILEPATH=C:\Users\suraj\AppData\Local\Programs\Python\Python310\python.exe', '-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON', '-DPYTHON_INCLUDE_DIRS=C:\Users\suraj\AppData\Local\Programs\Python\Python310\Include', '-DPYBIND11_INCLUDE_DIR=C:\Users\suraj\.triton\pybind11\pybind11-2.11.1/include', '-DLLVM_INCLUDE_DIRS=C:\D\Work\Project\Git\llvm-project\build/include', '-DLLVM_LIBRARY_DIR=C:\D\Work\Project\Git\llvm-project\build/lib', '-DCMAKE_RUNTIME_OUTPUT_DIRECTORY_TRITONRELBUILDWITHASSERTS=C:\D\Work\Project\Git\triton\python\triton\_C', '-A', 'x64']' 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 editable for triton
Failed to build triton
ERROR: Could not build wheels for triton, which is required to install pyproject.toml-based projects
PS C:\D\Work\Project\Git\triton>
. Thank You.
Beta Was this translation helpful? Give feedback.
All reactions