Can't run install on Ubuntu #8489

Description

@byjlw

🐛 Describe the bug

git clone https://github.com/pytorch/executorch.git
cd executorch
python3.11 -m venv .venv
source .venv/bin/activate
git submodule sync
git submodule update --init
./install_executorch.sh

Output

Using pip 24.0 from /home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip (python 3.11)
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/nightly/cpu
Processing /home/warden/source/executorch
Running command Preparing metadata (pyproject.toml)
/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
warnings.warn(msg, _BetaConfiguration)
running dist_info
creating /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info
writing /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/dependency_links.txt
writing entry points to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/entry_points.txt
writing requirements to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/requires.txt
writing top-level names to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/top_level.txt
writing manifest file '/tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/SOURCES.txt'
reading manifest file '/tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file '/tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/SOURCES.txt'
creating '/tmp/pip-modern-metadata-twj7o8yl/executorch-0.6.0a0+319c8d7.dist-info'
Preparing metadata (pyproject.toml) ... done
Collecting expecttest (from executorch==0.6.0a0+319c8d7)
Obtaining dependency information for expecttest from https://files.pythonhosted.org/packages/27/fb/deeefea1ea549273817ca7bed3db2f39cc238a75a745a20e3651619f7335/expecttest-0.3.0-py3-none-any.whl.metadata
Downloading expecttest-0.3.0-py3-none-any.whl.metadata (3.8 kB)
Collecting flatbuffers (from executorch==0.6.0a0+319c8d7)
Obtaining dependency information for flatbuffers from https://files.pythonhosted.org/packages/b8/25/155f9f080d5e4bc0082edfda032ea2bc2b8fab3f4d25d46c1e9dd22a1a89/flatbuffers-25.2.10-py2.py3-none-any.whl.metadata
Downloading flatbuffers-25.2.10-py2.py3-none-any.whl.metadata (875 bytes)
Collecting hypothesis (from executorch==0.6.0a0+319c8d7)
Obtaining dependency information for hypothesis from https://files.pythonhosted.org/packages/55/97/36e2e1dec3d60c99443a9d25e8a21e9bfdf4ba91c1396587b8b74f37db13/hypothesis-6.125.3-py3-none-any.whl.metadata
Downloading hypothesis-6.125.3-py3-none-any.whl.metadata (6.3 kB)
Requirement already satisfied: mpmath==1.3.0 in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (1.3.0)
Requirement already satisfied: packaging in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (24.2)
Collecting parameterized (from executorch==0.6.0a0+319c8d7)
Obtaining dependency information for parameterized from https://files.pythonhosted.org/packages/00/2f/804f58f0b856ab3bf21617cccf5b39206e6c4c94c2cd227bde125ea6105f/parameterized-0.9.0-py2.py3-none-any.whl.metadata
Downloading parameterized-0.9.0-py2.py3-none-any.whl.metadata (18 kB)
Collecting pytest (from executorch==0.6.0a0+319c8d7)
Obtaining dependency information for pytest from https://files.pythonhosted.org/packages/11/92/76a1c94d3afee238333bc0a42b82935dd8f9cf8ce9e336ff87ee14d9e1cf/pytest-8.3.4-py3-none-any.whl.metadata
Downloading pytest-8.3.4-py3-none-any.whl.metadata (7.5 kB)
Collecting pytest-xdist (from executorch==0.6.0a0+319c8d7)
Obtaining dependency information for pytest-xdist from https://files.pythonhosted.org/packages/6d/82/1d96bf03ee4c0fdc3c0cbe61470070e659ca78dc0086fb88b66c185e2449/pytest_xdist-3.6.1-py3-none-any.whl.metadata
Downloading pytest_xdist-3.6.1-py3-none-any.whl.metadata (4.3 kB)
Collecting pytest-rerunfailures (from executorch==0.6.0a0+319c8d7)
Obtaining dependency information for pytest-rerunfailures from https://files.pythonhosted.org/packages/89/37/54e5ffc7c0cebee7cf30a3ac5915faa7e7abf8bdfdf3228c277f7c192489/pytest_rerunfailures-15.0-py3-none-any.whl.metadata
Downloading pytest_rerunfailures-15.0-py3-none-any.whl.metadata (19 kB)
Requirement already satisfied: pyyaml in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (6.0.2)
Collecting ruamel.yaml (from executorch==0.6.0a0+319c8d7)
Obtaining dependency information for ruamel.yaml from https://files.pythonhosted.org/packages/c2/36/dfc1ebc0081e6d39924a2cc53654497f967a084a436bb64402dfce4254d9/ruamel.yaml-0.18.10-py3-none-any.whl.metadata
Downloading ruamel.yaml-0.18.10-py3-none-any.whl.metadata (23 kB)
Requirement already satisfied: sympy in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (1.13.1)
Collecting tabulate (from executorch==0.6.0a0+319c8d7)
Obtaining dependency information for tabulate from https://files.pythonhosted.org/packages/40/44/4a5f08c96eb108af5cb50b41f76142f0afa346dfa99d5296fe7202a11854/tabulate-0.9.0-py3-none-any.whl.metadata
Downloading tabulate-0.9.0-py3-none-any.whl.metadata (34 kB)
Requirement already satisfied: typing-extensions in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (4.12.2)
Requirement already satisfied: numpy>=2.0.0 in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (2.2.3)
Collecting pandas>=2.2.2 (from executorch==0.6.0a0+319c8d7)
Downloading https://download.pytorch.org/whl/nightly/pandas-2.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.1/13.1 MB 43.9 MB/s eta 0:00:00
Collecting python-dateutil>=2.8.2 (from pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
Obtaining dependency information for python-dateutil>=2.8.2 from https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting pytz>=2020.1 (from pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
Obtaining dependency information for pytz>=2020.1 from https://files.pythonhosted.org/packages/eb/38/ac33370d784287baa1c3d538978b5e2ea064d4c1b93ffbd12826c190dd10/pytz-2025.1-py2.py3-none-any.whl.metadata
Downloading pytz-2025.1-py2.py3-none-any.whl.metadata (22 kB)
Collecting tzdata>=2022.7 (from pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
Obtaining dependency information for tzdata>=2022.7 from https://files.pythonhosted.org/packages/0f/dd/84f10e23edd882c6f968c21c2434fe67bd4a528967067515feca9e611e5e/tzdata-2025.1-py2.py3-none-any.whl.metadata
Downloading tzdata-2025.1-py2.py3-none-any.whl.metadata (1.4 kB)
Collecting attrs>=22.2.0 (from hypothesis->executorch==0.6.0a0+319c8d7)
Obtaining dependency information for attrs>=22.2.0 from https://files.pythonhosted.org/packages/fc/30/d4986a882011f9df997a55e6becd864812ccfcd821d64aac8570ee39f719/attrs-25.1.0-py3-none-any.whl.metadata
Downloading attrs-25.1.0-py3-none-any.whl.metadata (10 kB)
Collecting sortedcontainers<3.0.0,>=2.1.0 (from hypothesis->executorch==0.6.0a0+319c8d7)
Obtaining dependency information for sortedcontainers<3.0.0,>=2.1.0 from https://files.pythonhosted.org/packages/32/46/9cb0e58b2deb7f82b84065f37f3bffeb12413f947f9388e4cac22c4621ce/sortedcontainers-2.4.0-py2.py3-none-any.whl.metadata
Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl.metadata (10 kB)
Collecting iniconfig (from pytest->executorch==0.6.0a0+319c8d7)
Obtaining dependency information for iniconfig from https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl.metadata
Downloading iniconfig-2.0.0-py3-none-any.whl.metadata (2.6 kB)
Collecting pluggy<2,>=1.5 (from pytest->executorch==0.6.0a0+319c8d7)
Obtaining dependency information for pluggy<2,>=1.5 from https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl.metadata
Downloading pluggy-1.5.0-py3-none-any.whl.metadata (4.8 kB)
Collecting execnet>=2.1 (from pytest-xdist->executorch==0.6.0a0+319c8d7)
Obtaining dependency information for execnet>=2.1 from https://files.pythonhosted.org/packages/43/09/2aea36ff60d16dd8879bdb2f5b3ee0ba8d08cbbdcdfe870e695ce3784385/execnet-2.1.1-py3-none-any.whl.metadata
Downloading execnet-2.1.1-py3-none-any.whl.metadata (2.9 kB)
Collecting ruamel.yaml.clib>=0.2.7 (from ruamel.yaml->executorch==0.6.0a0+319c8d7)
Obtaining dependency information for ruamel.yaml.clib>=0.2.7 from https://files.pythonhosted.org/packages/68/6e/264c50ce2a31473a9fdbf4fa66ca9b2b17c7455b31ef585462343818bd6c/ruamel.yaml.clib-0.2.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Downloading ruamel.yaml.clib-0.2.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.7 kB)
Collecting six>=1.5 (from python-dateutil>=2.8.2->pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
Obtaining dependency information for six>=1.5 from https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl.metadata
Using cached six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
Downloading expecttest-0.3.0-py3-none-any.whl (8.2 kB)
Downloading flatbuffers-25.2.10-py2.py3-none-any.whl (30 kB)
Downloading hypothesis-6.125.3-py3-none-any.whl (480 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 480.8/480.8 kB 16.5 MB/s eta 0:00:00
Downloading parameterized-0.9.0-py2.py3-none-any.whl (20 kB)
Downloading pytest-8.3.4-py3-none-any.whl (343 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 343.1/343.1 kB 15.3 MB/s eta 0:00:00
Downloading pytest_rerunfailures-15.0-py3-none-any.whl (13 kB)
Downloading pytest_xdist-3.6.1-py3-none-any.whl (46 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.1/46.1 kB 6.9 MB/s eta 0:00:00
Downloading ruamel.yaml-0.18.10-py3-none-any.whl (117 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.7/117.7 kB 7.1 MB/s eta 0:00:00
Downloading tabulate-0.9.0-py3-none-any.whl (35 kB)
Downloading attrs-25.1.0-py3-none-any.whl (63 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.2/63.2 kB 8.4 MB/s eta 0:00:00
Downloading execnet-2.1.1-py3-none-any.whl (40 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.6/40.6 kB 5.5 MB/s eta 0:00:00
Downloading pluggy-1.5.0-py3-none-any.whl (20 kB)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Downloading pytz-2025.1-py2.py3-none-any.whl (507 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 507.9/507.9 kB 4.6 MB/s eta 0:00:00
Downloading ruamel.yaml.clib-0.2.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (739 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 739.1/739.1 kB 5.8 MB/s eta 0:00:00
Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
Downloading tzdata-2025.1-py2.py3-none-any.whl (346 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 346.8/346.8 kB 9.8 MB/s eta 0:00:00
Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Using cached six-1.17.0-py2.py3-none-any.whl (11 kB)
Building wheels for collected packages: executorch
Running command Building wheel for executorch (pyproject.toml)
/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
warnings.warn(msg, _BetaConfiguration)
running bdist_wheel
running build
command options for 'CustomBuild':
build_base = pip-out
build_purelib = pip-out/lib
build_platlib = pip-out/lib.linux-x86_64-cpython-311
build_lib = pip-out/lib.linux-x86_64-cpython-311
build_scripts = pip-out/scripts-3.11
build_temp = pip-out/temp.linux-x86_64-cpython-311
plat_name = linux-x86_64
compiler = None
parallel = 31
debug = None
force = None
executable = /home/warden/source/executorch/.venv/bin/python3
creating /home/warden/source/executorch/pip-out
creating /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311
creating /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out
deleting /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/CMakeCache.txt
Traceback (most recent call last):
File "<string>", line 640, in run
File "/usr/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cmake', '-S', '/home/warden/source/executorch', '-B', '/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out', '-DBUCK2=', '-DPYTHON_EXECUTABLE=/home/warden/source/executorch/.venv/bin/python3', '-DCMAKE_PREFIX_PATH=/home/warden/source/executorch/.venv/lib/python3.11/site-packages', '-DCMAKE_BUILD_TYPE=Release', '-DEXECUTORCH_ENABLE_LOGGING=ON', '-DEXECUTORCH_LOG_LEVEL=Info', '-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15', '-DEXECUTORCH_SEPARATE_FLATCC_HOST_PROJECT=OFF', '-DEXECUTORCH_BUILD_PYBIND=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED_AOT=ON', '-DEXECUTORCH_BUILD_KERNELS_CUSTOM=ON', '-DEXECUTORCH_BUILD_KERNELS_CUSTOM_AOT=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED_AOT=ON', '-DEXECUTORCH_BUILD_XNNPACK=ON']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/build_meta.py", line 412, in build_wheel
return self._build_with_temp_dir(['bdist_wheel'], '.whl',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/build_meta.py", line 397, in _build_with_temp_dir
self.run_setup()
File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/build_meta.py", line 335, in run_setup
exec(code, locals())
File "<string>", line 742, in <module>
File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
self.run_command(cmd)
File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/wheel/_bdist_wheel.py", line 387, in run
self.run_command("build")
File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "<string>", line 660, in run
Exception: CMake Deprecation Warning at backends/xnnpack/third-party/FXdiv/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
CMake Deprecation Warning at backends/xnnpack/third-party/cpuinfo/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
CMake Deprecation Warning at backends/xnnpack/third-party/pthreadpool/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/portable/functions.yaml"
Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/NativeFunctions.h
CMake Warning at .venv/lib/python3.11/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:22 (message):
static library kineto_LIBRARY-NOTFOUND not found.
Call Stack (most recent call first):
.venv/lib/python3.11/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:125 (append_torchlib_if_found)
build/Utils.cmake:340 (find_package)
CMakeLists.txt:619 (find_package_torch_headers)
Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/optimized/optimized-oss.yaml"
Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/NativeFunctions.h
Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/merged.yaml"
Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/NativeFunctions.h
CMake Deprecation Warning at third-party/gflags/CMakeLists.txt:73 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
CMake Deprecation Warning at third-party/pybind11/CMakeLists.txt:13 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
CMake Deprecation Warning at third-party/flatcc/CMakeLists.txt:2 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/quantized/quantized.yaml"
Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/NativeFunctions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/RegisterCPUCustomOps.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/RegisterSchema.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/CustomOpsNativeFunctions.h
Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_aot_lib/selected_operators.yaml;--root_ops="quantized_decomposed::add.out;quantized_decomposed::choose_qparams.Tensor_out;quantized_decomposed::choose_qparams_per_token_asymmetric.out;quantized_decomposed::dequantize_per_channel.out;quantized_decomposed::dequantize_per_tensor.out;quantized_decomposed::dequantize_per_tensor.Tensor_out;quantized_decomposed::dequantize_per_token.out;quantized_decomposed::mixed_linear.out;quantized_decomposed::mixed_mm.out;quantized_decomposed::quantize_per_channel.out;quantized_decomposed::quantize_per_tensor.out;quantized_decomposed::quantize_per_tensor.Tensor_out;quantized_decomposed::quantize_per_token.out"
Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_pybind_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/quantized/quantized.yaml"
CMake Error in CMakeLists.txt:
Imported target "pybind11::module" includes non-existent path
"/usr/include/python3.11"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Generate step failed. Build files cannot be regenerated correctly.
error: subprocess-exited-with-error
× Building wheel for executorch (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /home/warden/source/executorch/.venv/bin/python3 /home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpff_djhi6
cwd: /home/warden/source/executorch
Building wheel for executorch (pyproject.toml) ... error
ERROR: Failed building wheel for executorch
Failed to build executorch
ERROR: Could not build wheels for executorch, which is required to install pyproject.toml-based projects
[notice] A new release of pip is available: 24.0 -> 25.0.1
[notice] To update, run: pip install --upgrade pip
Traceback (most recent call last):
File "/home/warden/source/executorch/./install_executorch.py", line 245, in <module>
main(sys.argv[1:])
File "/home/warden/source/executorch/./install_executorch.py", line 223, in main
subprocess.run(
File "/usr/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/warden/source/executorch/.venv/bin/python3', '-m', 'pip', 'install', '.', '--no-build-isolation', '-v', '--extra-index-url', 'https://download.pytorch.org/whl/nightly/cpu']' returned non-zero exit status 1.

Versions

Operating System Information
Linux Vikander 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

Python Version
Python 3.11.11

PIP Version
pip 24.0 from /home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip (python 3.11)

Installed Packages
certifi==2025.1.31
charset-normalizer==3.4.1
cmake==3.31.4
filelock==3.17.0
fsspec==2025.2.0
huggingface-hub==0.28.1
idna==3.10
Jinja2==3.1.5
MarkupSafe==3.0.2
mpmath==1.3.0
networkx==3.4.2
numpy==2.2.3
packaging==24.2
pillow==11.1.0
PyYAML==6.0.2
regex==2024.11.6
requests==2.32.3
safetensors==0.5.2
sympy==1.13.1
timm==1.0.7
tokenizers==0.21.0
tomli==2.2.1
torch==2.7.0.dev20250131+cpu
torchao @ file:///home/warden/source/executorch/third-party/ao
torchaudio==2.6.0.dev20250131+cpu
torchsr==1.0.4
torchvision==0.22.0.dev20250131+cpu
tqdm==4.67.1
transformers==4.47.1
typing_extensions==4.12.2
urllib3==2.3.0
zstd==1.5.6.1

PyTorch Version
2.7.0.dev20250131+cpu

Collection Complete

cc @larryliu0820@lucylq@mergennachin

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: build/installIssues related to the cmake and buck2 builds, and to installing ExecuTorchmodule: user experienceIssues related to reducing friction for userstriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    , 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Add copy buttons to all \u003cpre\u003e\u003ccode\u003e blocks\n(function() {\n function addCopyButtons() {\n document.querySelectorAll('pre code').forEach(function(codeBlock) {\n if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;\n codeBlock.parentElement.setAttribute('data-copy-added', 'true');\n \n var btn = document.createElement('button');\n btn.textContent = 'Copy';\n btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';\n btn.onmouseover = function() { this.style.opacity = '1'; };\n btn.onmouseout = function() { this.style.opacity = '0.7'; };\n btn.onclick = function() {\n navigator.clipboard.writeText(codeBlock.textContent).then(function() {\n btn.textContent = 'Copied!';\n setTimeout(function() { btn.textContent = 'Copy'; }, 1500);\n });\n };\n codeBlock.parentElement.style.position = 'relative';\n codeBlock.parentElement.appendChild(btn);\n });\n }\n \n addCopyButtons();\n \n // Re-run on dynamic content\n var observer = new MutationObserver(addCopyButtons);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Add Copy Buttons to Code Blocks"); } } catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); } })(); (function(){ try { var __m = "github.com"; var __re = new RegExp('^' + "github\\.com" + '
    Skip to content

    Can't run install on Ubuntu #8489

    Description

    @byjlw

    🐛 Describe the bug

    git clone https://github.com/pytorch/executorch.git
    cd executorch
    python3.11 -m venv .venv
    source .venv/bin/activate
    git submodule sync
    git submodule update --init
    ./install_executorch.sh
    

    Output

    Using pip 24.0 from /home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip (python 3.11)
    Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/nightly/cpu
    Processing /home/warden/source/executorch
    Running command Preparing metadata (pyproject.toml)
    /home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
    warnings.warn(msg, _BetaConfiguration)
    running dist_info
    creating /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info
    writing /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/PKG-INFO
    writing dependency_links to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/dependency_links.txt
    writing entry points to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/entry_points.txt
    writing requirements to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/requires.txt
    writing top-level names to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/top_level.txt
    writing manifest file '/tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/SOURCES.txt'
    reading manifest file '/tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/SOURCES.txt'
    adding license file 'LICENSE'
    writing manifest file '/tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/SOURCES.txt'
    creating '/tmp/pip-modern-metadata-twj7o8yl/executorch-0.6.0a0+319c8d7.dist-info'
    Preparing metadata (pyproject.toml) ... done
    Collecting expecttest (from executorch==0.6.0a0+319c8d7)
    Obtaining dependency information for expecttest from https://files.pythonhosted.org/packages/27/fb/deeefea1ea549273817ca7bed3db2f39cc238a75a745a20e3651619f7335/expecttest-0.3.0-py3-none-any.whl.metadata
    Downloading expecttest-0.3.0-py3-none-any.whl.metadata (3.8 kB)
    Collecting flatbuffers (from executorch==0.6.0a0+319c8d7)
    Obtaining dependency information for flatbuffers from https://files.pythonhosted.org/packages/b8/25/155f9f080d5e4bc0082edfda032ea2bc2b8fab3f4d25d46c1e9dd22a1a89/flatbuffers-25.2.10-py2.py3-none-any.whl.metadata
    Downloading flatbuffers-25.2.10-py2.py3-none-any.whl.metadata (875 bytes)
    Collecting hypothesis (from executorch==0.6.0a0+319c8d7)
    Obtaining dependency information for hypothesis from https://files.pythonhosted.org/packages/55/97/36e2e1dec3d60c99443a9d25e8a21e9bfdf4ba91c1396587b8b74f37db13/hypothesis-6.125.3-py3-none-any.whl.metadata
    Downloading hypothesis-6.125.3-py3-none-any.whl.metadata (6.3 kB)
    Requirement already satisfied: mpmath==1.3.0 in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (1.3.0)
    Requirement already satisfied: packaging in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (24.2)
    Collecting parameterized (from executorch==0.6.0a0+319c8d7)
    Obtaining dependency information for parameterized from https://files.pythonhosted.org/packages/00/2f/804f58f0b856ab3bf21617cccf5b39206e6c4c94c2cd227bde125ea6105f/parameterized-0.9.0-py2.py3-none-any.whl.metadata
    Downloading parameterized-0.9.0-py2.py3-none-any.whl.metadata (18 kB)
    Collecting pytest (from executorch==0.6.0a0+319c8d7)
    Obtaining dependency information for pytest from https://files.pythonhosted.org/packages/11/92/76a1c94d3afee238333bc0a42b82935dd8f9cf8ce9e336ff87ee14d9e1cf/pytest-8.3.4-py3-none-any.whl.metadata
    Downloading pytest-8.3.4-py3-none-any.whl.metadata (7.5 kB)
    Collecting pytest-xdist (from executorch==0.6.0a0+319c8d7)
    Obtaining dependency information for pytest-xdist from https://files.pythonhosted.org/packages/6d/82/1d96bf03ee4c0fdc3c0cbe61470070e659ca78dc0086fb88b66c185e2449/pytest_xdist-3.6.1-py3-none-any.whl.metadata
    Downloading pytest_xdist-3.6.1-py3-none-any.whl.metadata (4.3 kB)
    Collecting pytest-rerunfailures (from executorch==0.6.0a0+319c8d7)
    Obtaining dependency information for pytest-rerunfailures from https://files.pythonhosted.org/packages/89/37/54e5ffc7c0cebee7cf30a3ac5915faa7e7abf8bdfdf3228c277f7c192489/pytest_rerunfailures-15.0-py3-none-any.whl.metadata
    Downloading pytest_rerunfailures-15.0-py3-none-any.whl.metadata (19 kB)
    Requirement already satisfied: pyyaml in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (6.0.2)
    Collecting ruamel.yaml (from executorch==0.6.0a0+319c8d7)
    Obtaining dependency information for ruamel.yaml from https://files.pythonhosted.org/packages/c2/36/dfc1ebc0081e6d39924a2cc53654497f967a084a436bb64402dfce4254d9/ruamel.yaml-0.18.10-py3-none-any.whl.metadata
    Downloading ruamel.yaml-0.18.10-py3-none-any.whl.metadata (23 kB)
    Requirement already satisfied: sympy in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (1.13.1)
    Collecting tabulate (from executorch==0.6.0a0+319c8d7)
    Obtaining dependency information for tabulate from https://files.pythonhosted.org/packages/40/44/4a5f08c96eb108af5cb50b41f76142f0afa346dfa99d5296fe7202a11854/tabulate-0.9.0-py3-none-any.whl.metadata
    Downloading tabulate-0.9.0-py3-none-any.whl.metadata (34 kB)
    Requirement already satisfied: typing-extensions in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (4.12.2)
    Requirement already satisfied: numpy>=2.0.0 in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (2.2.3)
    Collecting pandas>=2.2.2 (from executorch==0.6.0a0+319c8d7)
    Downloading https://download.pytorch.org/whl/nightly/pandas-2.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.1 MB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.1/13.1 MB 43.9 MB/s eta 0:00:00
    Collecting python-dateutil>=2.8.2 (from pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
    Obtaining dependency information for python-dateutil>=2.8.2 from https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata
    Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
    Collecting pytz>=2020.1 (from pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
    Obtaining dependency information for pytz>=2020.1 from https://files.pythonhosted.org/packages/eb/38/ac33370d784287baa1c3d538978b5e2ea064d4c1b93ffbd12826c190dd10/pytz-2025.1-py2.py3-none-any.whl.metadata
    Downloading pytz-2025.1-py2.py3-none-any.whl.metadata (22 kB)
    Collecting tzdata>=2022.7 (from pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
    Obtaining dependency information for tzdata>=2022.7 from https://files.pythonhosted.org/packages/0f/dd/84f10e23edd882c6f968c21c2434fe67bd4a528967067515feca9e611e5e/tzdata-2025.1-py2.py3-none-any.whl.metadata
    Downloading tzdata-2025.1-py2.py3-none-any.whl.metadata (1.4 kB)
    Collecting attrs>=22.2.0 (from hypothesis->executorch==0.6.0a0+319c8d7)
    Obtaining dependency information for attrs>=22.2.0 from https://files.pythonhosted.org/packages/fc/30/d4986a882011f9df997a55e6becd864812ccfcd821d64aac8570ee39f719/attrs-25.1.0-py3-none-any.whl.metadata
    Downloading attrs-25.1.0-py3-none-any.whl.metadata (10 kB)
    Collecting sortedcontainers<3.0.0,>=2.1.0 (from hypothesis->executorch==0.6.0a0+319c8d7)
    Obtaining dependency information for sortedcontainers<3.0.0,>=2.1.0 from https://files.pythonhosted.org/packages/32/46/9cb0e58b2deb7f82b84065f37f3bffeb12413f947f9388e4cac22c4621ce/sortedcontainers-2.4.0-py2.py3-none-any.whl.metadata
    Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl.metadata (10 kB)
    Collecting iniconfig (from pytest->executorch==0.6.0a0+319c8d7)
    Obtaining dependency information for iniconfig from https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl.metadata
    Downloading iniconfig-2.0.0-py3-none-any.whl.metadata (2.6 kB)
    Collecting pluggy<2,>=1.5 (from pytest->executorch==0.6.0a0+319c8d7)
    Obtaining dependency information for pluggy<2,>=1.5 from https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl.metadata
    Downloading pluggy-1.5.0-py3-none-any.whl.metadata (4.8 kB)
    Collecting execnet>=2.1 (from pytest-xdist->executorch==0.6.0a0+319c8d7)
    Obtaining dependency information for execnet>=2.1 from https://files.pythonhosted.org/packages/43/09/2aea36ff60d16dd8879bdb2f5b3ee0ba8d08cbbdcdfe870e695ce3784385/execnet-2.1.1-py3-none-any.whl.metadata
    Downloading execnet-2.1.1-py3-none-any.whl.metadata (2.9 kB)
    Collecting ruamel.yaml.clib>=0.2.7 (from ruamel.yaml->executorch==0.6.0a0+319c8d7)
    Obtaining dependency information for ruamel.yaml.clib>=0.2.7 from https://files.pythonhosted.org/packages/68/6e/264c50ce2a31473a9fdbf4fa66ca9b2b17c7455b31ef585462343818bd6c/ruamel.yaml.clib-0.2.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
    Downloading ruamel.yaml.clib-0.2.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.7 kB)
    Collecting six>=1.5 (from python-dateutil>=2.8.2->pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
    Obtaining dependency information for six>=1.5 from https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl.metadata
    Using cached six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
    Downloading expecttest-0.3.0-py3-none-any.whl (8.2 kB)
    Downloading flatbuffers-25.2.10-py2.py3-none-any.whl (30 kB)
    Downloading hypothesis-6.125.3-py3-none-any.whl (480 kB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 480.8/480.8 kB 16.5 MB/s eta 0:00:00
    Downloading parameterized-0.9.0-py2.py3-none-any.whl (20 kB)
    Downloading pytest-8.3.4-py3-none-any.whl (343 kB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 343.1/343.1 kB 15.3 MB/s eta 0:00:00
    Downloading pytest_rerunfailures-15.0-py3-none-any.whl (13 kB)
    Downloading pytest_xdist-3.6.1-py3-none-any.whl (46 kB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.1/46.1 kB 6.9 MB/s eta 0:00:00
    Downloading ruamel.yaml-0.18.10-py3-none-any.whl (117 kB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.7/117.7 kB 7.1 MB/s eta 0:00:00
    Downloading tabulate-0.9.0-py3-none-any.whl (35 kB)
    Downloading attrs-25.1.0-py3-none-any.whl (63 kB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.2/63.2 kB 8.4 MB/s eta 0:00:00
    Downloading execnet-2.1.1-py3-none-any.whl (40 kB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.6/40.6 kB 5.5 MB/s eta 0:00:00
    Downloading pluggy-1.5.0-py3-none-any.whl (20 kB)
    Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
    Downloading pytz-2025.1-py2.py3-none-any.whl (507 kB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 507.9/507.9 kB 4.6 MB/s eta 0:00:00
    Downloading ruamel.yaml.clib-0.2.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (739 kB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 739.1/739.1 kB 5.8 MB/s eta 0:00:00
    Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
    Downloading tzdata-2025.1-py2.py3-none-any.whl (346 kB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 346.8/346.8 kB 9.8 MB/s eta 0:00:00
    Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
    Using cached six-1.17.0-py2.py3-none-any.whl (11 kB)
    Building wheels for collected packages: executorch
    Running command Building wheel for executorch (pyproject.toml)
    /home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
    warnings.warn(msg, _BetaConfiguration)
    running bdist_wheel
    running build
    command options for 'CustomBuild':
    build_base = pip-out
    build_purelib = pip-out/lib
    build_platlib = pip-out/lib.linux-x86_64-cpython-311
    build_lib = pip-out/lib.linux-x86_64-cpython-311
    build_scripts = pip-out/scripts-3.11
    build_temp = pip-out/temp.linux-x86_64-cpython-311
    plat_name = linux-x86_64
    compiler = None
    parallel = 31
    debug = None
    force = None
    executable = /home/warden/source/executorch/.venv/bin/python3
    creating /home/warden/source/executorch/pip-out
    creating /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311
    creating /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out
    deleting /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/CMakeCache.txt
    Traceback (most recent call last):
    File "<string>", line 640, in run
    File "/usr/lib/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
    subprocess.CalledProcessError: Command '['cmake', '-S', '/home/warden/source/executorch', '-B', '/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out', '-DBUCK2=', '-DPYTHON_EXECUTABLE=/home/warden/source/executorch/.venv/bin/python3', '-DCMAKE_PREFIX_PATH=/home/warden/source/executorch/.venv/lib/python3.11/site-packages', '-DCMAKE_BUILD_TYPE=Release', '-DEXECUTORCH_ENABLE_LOGGING=ON', '-DEXECUTORCH_LOG_LEVEL=Info', '-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15', '-DEXECUTORCH_SEPARATE_FLATCC_HOST_PROJECT=OFF', '-DEXECUTORCH_BUILD_PYBIND=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED_AOT=ON', '-DEXECUTORCH_BUILD_KERNELS_CUSTOM=ON', '-DEXECUTORCH_BUILD_KERNELS_CUSTOM_AOT=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED_AOT=ON', '-DEXECUTORCH_BUILD_XNNPACK=ON']' returned non-zero exit status 1.
    The above exception was the direct cause of the following exception:
    Traceback (most recent call last):
    File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
    main()
    File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
    json_out['return_val'] = hook(**hook_input['kwargs'])
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
    return _build_backend().build_wheel(wheel_directory, config_settings,
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/build_meta.py", line 412, in build_wheel
    return self._build_with_temp_dir(['bdist_wheel'], '.whl',
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/build_meta.py", line 397, in _build_with_temp_dir
    self.run_setup()
    File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/build_meta.py", line 335, in run_setup
    exec(code, locals())
    File "<string>", line 742, in <module>
    File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/__init__.py", line 87, in setup
    return distutils.core.setup(**attrs)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
    ^^^^^^^^^^^^^^^^^^
    File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
    File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
    self.run_command(cmd)
    File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
    super().run_command(command)
    File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
    cmd_obj.run()
    File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/wheel/_bdist_wheel.py", line 387, in run
    self.run_command("build")
    File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
    self.distribution.run_command(command)
    File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
    super().run_command(command)
    File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
    cmd_obj.run()
    File "<string>", line 660, in run
    Exception: CMake Deprecation Warning at backends/xnnpack/third-party/FXdiv/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
    Compatibility with CMake < 3.10 will be removed from a future version of
    CMake.
    Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
    to tell CMake that the project requires at least <min> but has been updated
    to work with policies introduced by <max> or earlier.
    CMake Deprecation Warning at backends/xnnpack/third-party/cpuinfo/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
    Compatibility with CMake < 3.10 will be removed from a future version of
    CMake.
    Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
    to tell CMake that the project requires at least <min> but has been updated
    to work with policies introduced by <max> or earlier.
    CMake Deprecation Warning at backends/xnnpack/third-party/pthreadpool/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
    Compatibility with CMake < 3.10 will be removed from a future version of
    CMake.
    Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
    to tell CMake that the project requires at least <min> but has been updated
    to work with policies introduced by <max> or earlier.
    Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/portable/functions.yaml"
    Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/NativeFunctions.h
    CMake Warning at .venv/lib/python3.11/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:22 (message):
    static library kineto_LIBRARY-NOTFOUND not found.
    Call Stack (most recent call first):
    .venv/lib/python3.11/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:125 (append_torchlib_if_found)
    build/Utils.cmake:340 (find_package)
    CMakeLists.txt:619 (find_package_torch_headers)
    Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/optimized/optimized-oss.yaml"
    Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/NativeFunctions.h
    Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/merged.yaml"
    Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/NativeFunctions.h
    CMake Deprecation Warning at third-party/gflags/CMakeLists.txt:73 (cmake_minimum_required):
    Compatibility with CMake < 3.10 will be removed from a future version of
    CMake.
    Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
    to tell CMake that the project requires at least <min> but has been updated
    to work with policies introduced by <max> or earlier.
    CMake Deprecation Warning at third-party/pybind11/CMakeLists.txt:13 (cmake_minimum_required):
    Compatibility with CMake < 3.10 will be removed from a future version of
    CMake.
    Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
    to tell CMake that the project requires at least <min> but has been updated
    to work with policies introduced by <max> or earlier.
    CMake Deprecation Warning at third-party/flatcc/CMakeLists.txt:2 (cmake_minimum_required):
    Compatibility with CMake < 3.10 will be removed from a future version of
    CMake.
    Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
    to tell CMake that the project requires at least <min> but has been updated
    to work with policies introduced by <max> or earlier.
    Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/quantized/quantized.yaml"
    Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/NativeFunctions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/RegisterCPUCustomOps.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/RegisterSchema.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/CustomOpsNativeFunctions.h
    Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_aot_lib/selected_operators.yaml;--root_ops="quantized_decomposed::add.out;quantized_decomposed::choose_qparams.Tensor_out;quantized_decomposed::choose_qparams_per_token_asymmetric.out;quantized_decomposed::dequantize_per_channel.out;quantized_decomposed::dequantize_per_tensor.out;quantized_decomposed::dequantize_per_tensor.Tensor_out;quantized_decomposed::dequantize_per_token.out;quantized_decomposed::mixed_linear.out;quantized_decomposed::mixed_mm.out;quantized_decomposed::quantize_per_channel.out;quantized_decomposed::quantize_per_tensor.out;quantized_decomposed::quantize_per_tensor.Tensor_out;quantized_decomposed::quantize_per_token.out"
    Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_pybind_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/quantized/quantized.yaml"
    CMake Error in CMakeLists.txt:
    Imported target "pybind11::module" includes non-existent path
    "/usr/include/python3.11"
    in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
    * The path was deleted, renamed, or moved to another location.
    * An install or uninstall procedure did not complete successfully.
    * The installation package was faulty and references files it does not
    provide.
    CMake Generate step failed. Build files cannot be regenerated correctly.
    error: subprocess-exited-with-error
    × Building wheel for executorch (pyproject.toml) did not run successfully.
    │ exit code: 1
    ╰─> See above for output.
    note: This error originates from a subprocess, and is likely not a problem with pip.
    full command: /home/warden/source/executorch/.venv/bin/python3 /home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpff_djhi6
    cwd: /home/warden/source/executorch
    Building wheel for executorch (pyproject.toml) ... error
    ERROR: Failed building wheel for executorch
    Failed to build executorch
    ERROR: Could not build wheels for executorch, which is required to install pyproject.toml-based projects
    [notice] A new release of pip is available: 24.0 -> 25.0.1
    [notice] To update, run: pip install --upgrade pip
    Traceback (most recent call last):
    File "/home/warden/source/executorch/./install_executorch.py", line 245, in <module>
    main(sys.argv[1:])
    File "/home/warden/source/executorch/./install_executorch.py", line 223, in main
    subprocess.run(
    File "/usr/lib/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
    subprocess.CalledProcessError: Command '['/home/warden/source/executorch/.venv/bin/python3', '-m', 'pip', 'install', '.', '--no-build-isolation', '-v', '--extra-index-url', 'https://download.pytorch.org/whl/nightly/cpu']' returned non-zero exit status 1.
    

    Versions

    Operating System Information
    Linux Vikander 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

    PRETTY_NAME="Ubuntu 24.04.1 LTS"
    NAME="Ubuntu"
    VERSION_ID="24.04"
    VERSION="24.04.1 LTS (Noble Numbat)"
    VERSION_CODENAME=noble
    ID=ubuntu
    ID_LIKE=debian
    HOME_URL="https://www.ubuntu.com/"
    SUPPORT_URL="https://help.ubuntu.com/"
    BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
    PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
    UBUNTU_CODENAME=noble
    LOGO=ubuntu-logo

    Python Version
    Python 3.11.11

    PIP Version
    pip 24.0 from /home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip (python 3.11)

    Installed Packages
    certifi==2025.1.31
    charset-normalizer==3.4.1
    cmake==3.31.4
    filelock==3.17.0
    fsspec==2025.2.0
    huggingface-hub==0.28.1
    idna==3.10
    Jinja2==3.1.5
    MarkupSafe==3.0.2
    mpmath==1.3.0
    networkx==3.4.2
    numpy==2.2.3
    packaging==24.2
    pillow==11.1.0
    PyYAML==6.0.2
    regex==2024.11.6
    requests==2.32.3
    safetensors==0.5.2
    sympy==1.13.1
    timm==1.0.7
    tokenizers==0.21.0
    tomli==2.2.1
    torch==2.7.0.dev20250131+cpu
    torchao @ file:///home/warden/source/executorch/third-party/ao
    torchaudio==2.6.0.dev20250131+cpu
    torchsr==1.0.4
    torchvision==0.22.0.dev20250131+cpu
    tqdm==4.67.1
    transformers==4.47.1
    typing_extensions==4.12.2
    urllib3==2.3.0
    zstd==1.5.6.1

    PyTorch Version
    2.7.0.dev20250131+cpu

    Collection Complete

    cc @larryliu0820@lucylq@mergennachin

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      module: build/installIssues related to the cmake and buck2 builds, and to installing ExecuTorchmodule: user experienceIssues related to reducing friction for userstriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

      Type

      Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      , 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Force GitHub README to respect dark mode\n(function() {\n var style = document.createElement('style');\n style.textContent = '\n .markdown-body {\n color-scheme: dark light;\n }\n .markdown-body pre { background: #161b22 !important; }\n .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; }\n .markdown-body table th, .markdown-body table td { border-color: #30363d !important; }\n .markdown-body img { background: #0d1117; }\n .markdown-body blockquote { border-left-color: #8b949e; }\n .markdown-body hr { border-color: #30363d; }\n ';\n document.head.appendChild(style);\n})();", "GitHub Dark Mode README Fix"); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
      Skip to content

      Can't run install on Ubuntu #8489

      Description

      @byjlw

      🐛 Describe the bug

      git clone https://github.com/pytorch/executorch.git
      cd executorch
      python3.11 -m venv .venv
      source .venv/bin/activate
      git submodule sync
      git submodule update --init
      ./install_executorch.sh
      

      Output

      Using pip 24.0 from /home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip (python 3.11)
      Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/nightly/cpu
      Processing /home/warden/source/executorch
      Running command Preparing metadata (pyproject.toml)
      /home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
      warnings.warn(msg, _BetaConfiguration)
      running dist_info
      creating /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info
      writing /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/PKG-INFO
      writing dependency_links to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/dependency_links.txt
      writing entry points to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/entry_points.txt
      writing requirements to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/requires.txt
      writing top-level names to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/top_level.txt
      writing manifest file '/tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/SOURCES.txt'
      reading manifest file '/tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/SOURCES.txt'
      adding license file 'LICENSE'
      writing manifest file '/tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/SOURCES.txt'
      creating '/tmp/pip-modern-metadata-twj7o8yl/executorch-0.6.0a0+319c8d7.dist-info'
      Preparing metadata (pyproject.toml) ... done
      Collecting expecttest (from executorch==0.6.0a0+319c8d7)
      Obtaining dependency information for expecttest from https://files.pythonhosted.org/packages/27/fb/deeefea1ea549273817ca7bed3db2f39cc238a75a745a20e3651619f7335/expecttest-0.3.0-py3-none-any.whl.metadata
      Downloading expecttest-0.3.0-py3-none-any.whl.metadata (3.8 kB)
      Collecting flatbuffers (from executorch==0.6.0a0+319c8d7)
      Obtaining dependency information for flatbuffers from https://files.pythonhosted.org/packages/b8/25/155f9f080d5e4bc0082edfda032ea2bc2b8fab3f4d25d46c1e9dd22a1a89/flatbuffers-25.2.10-py2.py3-none-any.whl.metadata
      Downloading flatbuffers-25.2.10-py2.py3-none-any.whl.metadata (875 bytes)
      Collecting hypothesis (from executorch==0.6.0a0+319c8d7)
      Obtaining dependency information for hypothesis from https://files.pythonhosted.org/packages/55/97/36e2e1dec3d60c99443a9d25e8a21e9bfdf4ba91c1396587b8b74f37db13/hypothesis-6.125.3-py3-none-any.whl.metadata
      Downloading hypothesis-6.125.3-py3-none-any.whl.metadata (6.3 kB)
      Requirement already satisfied: mpmath==1.3.0 in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (1.3.0)
      Requirement already satisfied: packaging in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (24.2)
      Collecting parameterized (from executorch==0.6.0a0+319c8d7)
      Obtaining dependency information for parameterized from https://files.pythonhosted.org/packages/00/2f/804f58f0b856ab3bf21617cccf5b39206e6c4c94c2cd227bde125ea6105f/parameterized-0.9.0-py2.py3-none-any.whl.metadata
      Downloading parameterized-0.9.0-py2.py3-none-any.whl.metadata (18 kB)
      Collecting pytest (from executorch==0.6.0a0+319c8d7)
      Obtaining dependency information for pytest from https://files.pythonhosted.org/packages/11/92/76a1c94d3afee238333bc0a42b82935dd8f9cf8ce9e336ff87ee14d9e1cf/pytest-8.3.4-py3-none-any.whl.metadata
      Downloading pytest-8.3.4-py3-none-any.whl.metadata (7.5 kB)
      Collecting pytest-xdist (from executorch==0.6.0a0+319c8d7)
      Obtaining dependency information for pytest-xdist from https://files.pythonhosted.org/packages/6d/82/1d96bf03ee4c0fdc3c0cbe61470070e659ca78dc0086fb88b66c185e2449/pytest_xdist-3.6.1-py3-none-any.whl.metadata
      Downloading pytest_xdist-3.6.1-py3-none-any.whl.metadata (4.3 kB)
      Collecting pytest-rerunfailures (from executorch==0.6.0a0+319c8d7)
      Obtaining dependency information for pytest-rerunfailures from https://files.pythonhosted.org/packages/89/37/54e5ffc7c0cebee7cf30a3ac5915faa7e7abf8bdfdf3228c277f7c192489/pytest_rerunfailures-15.0-py3-none-any.whl.metadata
      Downloading pytest_rerunfailures-15.0-py3-none-any.whl.metadata (19 kB)
      Requirement already satisfied: pyyaml in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (6.0.2)
      Collecting ruamel.yaml (from executorch==0.6.0a0+319c8d7)
      Obtaining dependency information for ruamel.yaml from https://files.pythonhosted.org/packages/c2/36/dfc1ebc0081e6d39924a2cc53654497f967a084a436bb64402dfce4254d9/ruamel.yaml-0.18.10-py3-none-any.whl.metadata
      Downloading ruamel.yaml-0.18.10-py3-none-any.whl.metadata (23 kB)
      Requirement already satisfied: sympy in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (1.13.1)
      Collecting tabulate (from executorch==0.6.0a0+319c8d7)
      Obtaining dependency information for tabulate from https://files.pythonhosted.org/packages/40/44/4a5f08c96eb108af5cb50b41f76142f0afa346dfa99d5296fe7202a11854/tabulate-0.9.0-py3-none-any.whl.metadata
      Downloading tabulate-0.9.0-py3-none-any.whl.metadata (34 kB)
      Requirement already satisfied: typing-extensions in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (4.12.2)
      Requirement already satisfied: numpy>=2.0.0 in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (2.2.3)
      Collecting pandas>=2.2.2 (from executorch==0.6.0a0+319c8d7)
      Downloading https://download.pytorch.org/whl/nightly/pandas-2.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.1 MB)
      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.1/13.1 MB 43.9 MB/s eta 0:00:00
      Collecting python-dateutil>=2.8.2 (from pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
      Obtaining dependency information for python-dateutil>=2.8.2 from https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata
      Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
      Collecting pytz>=2020.1 (from pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
      Obtaining dependency information for pytz>=2020.1 from https://files.pythonhosted.org/packages/eb/38/ac33370d784287baa1c3d538978b5e2ea064d4c1b93ffbd12826c190dd10/pytz-2025.1-py2.py3-none-any.whl.metadata
      Downloading pytz-2025.1-py2.py3-none-any.whl.metadata (22 kB)
      Collecting tzdata>=2022.7 (from pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
      Obtaining dependency information for tzdata>=2022.7 from https://files.pythonhosted.org/packages/0f/dd/84f10e23edd882c6f968c21c2434fe67bd4a528967067515feca9e611e5e/tzdata-2025.1-py2.py3-none-any.whl.metadata
      Downloading tzdata-2025.1-py2.py3-none-any.whl.metadata (1.4 kB)
      Collecting attrs>=22.2.0 (from hypothesis->executorch==0.6.0a0+319c8d7)
      Obtaining dependency information for attrs>=22.2.0 from https://files.pythonhosted.org/packages/fc/30/d4986a882011f9df997a55e6becd864812ccfcd821d64aac8570ee39f719/attrs-25.1.0-py3-none-any.whl.metadata
      Downloading attrs-25.1.0-py3-none-any.whl.metadata (10 kB)
      Collecting sortedcontainers<3.0.0,>=2.1.0 (from hypothesis->executorch==0.6.0a0+319c8d7)
      Obtaining dependency information for sortedcontainers<3.0.0,>=2.1.0 from https://files.pythonhosted.org/packages/32/46/9cb0e58b2deb7f82b84065f37f3bffeb12413f947f9388e4cac22c4621ce/sortedcontainers-2.4.0-py2.py3-none-any.whl.metadata
      Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl.metadata (10 kB)
      Collecting iniconfig (from pytest->executorch==0.6.0a0+319c8d7)
      Obtaining dependency information for iniconfig from https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl.metadata
      Downloading iniconfig-2.0.0-py3-none-any.whl.metadata (2.6 kB)
      Collecting pluggy<2,>=1.5 (from pytest->executorch==0.6.0a0+319c8d7)
      Obtaining dependency information for pluggy<2,>=1.5 from https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl.metadata
      Downloading pluggy-1.5.0-py3-none-any.whl.metadata (4.8 kB)
      Collecting execnet>=2.1 (from pytest-xdist->executorch==0.6.0a0+319c8d7)
      Obtaining dependency information for execnet>=2.1 from https://files.pythonhosted.org/packages/43/09/2aea36ff60d16dd8879bdb2f5b3ee0ba8d08cbbdcdfe870e695ce3784385/execnet-2.1.1-py3-none-any.whl.metadata
      Downloading execnet-2.1.1-py3-none-any.whl.metadata (2.9 kB)
      Collecting ruamel.yaml.clib>=0.2.7 (from ruamel.yaml->executorch==0.6.0a0+319c8d7)
      Obtaining dependency information for ruamel.yaml.clib>=0.2.7 from https://files.pythonhosted.org/packages/68/6e/264c50ce2a31473a9fdbf4fa66ca9b2b17c7455b31ef585462343818bd6c/ruamel.yaml.clib-0.2.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
      Downloading ruamel.yaml.clib-0.2.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.7 kB)
      Collecting six>=1.5 (from python-dateutil>=2.8.2->pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
      Obtaining dependency information for six>=1.5 from https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl.metadata
      Using cached six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
      Downloading expecttest-0.3.0-py3-none-any.whl (8.2 kB)
      Downloading flatbuffers-25.2.10-py2.py3-none-any.whl (30 kB)
      Downloading hypothesis-6.125.3-py3-none-any.whl (480 kB)
      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 480.8/480.8 kB 16.5 MB/s eta 0:00:00
      Downloading parameterized-0.9.0-py2.py3-none-any.whl (20 kB)
      Downloading pytest-8.3.4-py3-none-any.whl (343 kB)
      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 343.1/343.1 kB 15.3 MB/s eta 0:00:00
      Downloading pytest_rerunfailures-15.0-py3-none-any.whl (13 kB)
      Downloading pytest_xdist-3.6.1-py3-none-any.whl (46 kB)
      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.1/46.1 kB 6.9 MB/s eta 0:00:00
      Downloading ruamel.yaml-0.18.10-py3-none-any.whl (117 kB)
      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.7/117.7 kB 7.1 MB/s eta 0:00:00
      Downloading tabulate-0.9.0-py3-none-any.whl (35 kB)
      Downloading attrs-25.1.0-py3-none-any.whl (63 kB)
      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.2/63.2 kB 8.4 MB/s eta 0:00:00
      Downloading execnet-2.1.1-py3-none-any.whl (40 kB)
      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.6/40.6 kB 5.5 MB/s eta 0:00:00
      Downloading pluggy-1.5.0-py3-none-any.whl (20 kB)
      Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
      Downloading pytz-2025.1-py2.py3-none-any.whl (507 kB)
      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 507.9/507.9 kB 4.6 MB/s eta 0:00:00
      Downloading ruamel.yaml.clib-0.2.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (739 kB)
      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 739.1/739.1 kB 5.8 MB/s eta 0:00:00
      Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
      Downloading tzdata-2025.1-py2.py3-none-any.whl (346 kB)
      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 346.8/346.8 kB 9.8 MB/s eta 0:00:00
      Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
      Using cached six-1.17.0-py2.py3-none-any.whl (11 kB)
      Building wheels for collected packages: executorch
      Running command Building wheel for executorch (pyproject.toml)
      /home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
      warnings.warn(msg, _BetaConfiguration)
      running bdist_wheel
      running build
      command options for 'CustomBuild':
      build_base = pip-out
      build_purelib = pip-out/lib
      build_platlib = pip-out/lib.linux-x86_64-cpython-311
      build_lib = pip-out/lib.linux-x86_64-cpython-311
      build_scripts = pip-out/scripts-3.11
      build_temp = pip-out/temp.linux-x86_64-cpython-311
      plat_name = linux-x86_64
      compiler = None
      parallel = 31
      debug = None
      force = None
      executable = /home/warden/source/executorch/.venv/bin/python3
      creating /home/warden/source/executorch/pip-out
      creating /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311
      creating /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out
      deleting /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/CMakeCache.txt
      Traceback (most recent call last):
      File "<string>", line 640, in run
      File "/usr/lib/python3.11/subprocess.py", line 571, in run
      raise CalledProcessError(retcode, process.args,
      subprocess.CalledProcessError: Command '['cmake', '-S', '/home/warden/source/executorch', '-B', '/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out', '-DBUCK2=', '-DPYTHON_EXECUTABLE=/home/warden/source/executorch/.venv/bin/python3', '-DCMAKE_PREFIX_PATH=/home/warden/source/executorch/.venv/lib/python3.11/site-packages', '-DCMAKE_BUILD_TYPE=Release', '-DEXECUTORCH_ENABLE_LOGGING=ON', '-DEXECUTORCH_LOG_LEVEL=Info', '-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15', '-DEXECUTORCH_SEPARATE_FLATCC_HOST_PROJECT=OFF', '-DEXECUTORCH_BUILD_PYBIND=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED_AOT=ON', '-DEXECUTORCH_BUILD_KERNELS_CUSTOM=ON', '-DEXECUTORCH_BUILD_KERNELS_CUSTOM_AOT=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED_AOT=ON', '-DEXECUTORCH_BUILD_XNNPACK=ON']' returned non-zero exit status 1.
      The above exception was the direct cause of the following exception:
      Traceback (most recent call last):
      File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
      main()
      File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
      return _build_backend().build_wheel(wheel_directory, config_settings,
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/build_meta.py", line 412, in build_wheel
      return self._build_with_temp_dir(['bdist_wheel'], '.whl',
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/build_meta.py", line 397, in _build_with_temp_dir
      self.run_setup()
      File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/build_meta.py", line 335, in run_setup
      exec(code, locals())
      File "<string>", line 742, in <module>
      File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/__init__.py", line 87, in setup
      return distutils.core.setup(**attrs)
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
      return run_commands(dist)
      ^^^^^^^^^^^^^^^^^^
      File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
      dist.run_commands()
      File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
      self.run_command(cmd)
      File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
      super().run_command(command)
      File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
      cmd_obj.run()
      File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/wheel/_bdist_wheel.py", line 387, in run
      self.run_command("build")
      File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
      self.distribution.run_command(command)
      File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
      super().run_command(command)
      File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
      cmd_obj.run()
      File "<string>", line 660, in run
      Exception: CMake Deprecation Warning at backends/xnnpack/third-party/FXdiv/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
      Compatibility with CMake < 3.10 will be removed from a future version of
      CMake.
      Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
      to tell CMake that the project requires at least <min> but has been updated
      to work with policies introduced by <max> or earlier.
      CMake Deprecation Warning at backends/xnnpack/third-party/cpuinfo/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
      Compatibility with CMake < 3.10 will be removed from a future version of
      CMake.
      Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
      to tell CMake that the project requires at least <min> but has been updated
      to work with policies introduced by <max> or earlier.
      CMake Deprecation Warning at backends/xnnpack/third-party/pthreadpool/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
      Compatibility with CMake < 3.10 will be removed from a future version of
      CMake.
      Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
      to tell CMake that the project requires at least <min> but has been updated
      to work with policies introduced by <max> or earlier.
      Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/portable/functions.yaml"
      Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/NativeFunctions.h
      CMake Warning at .venv/lib/python3.11/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:22 (message):
      static library kineto_LIBRARY-NOTFOUND not found.
      Call Stack (most recent call first):
      .venv/lib/python3.11/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:125 (append_torchlib_if_found)
      build/Utils.cmake:340 (find_package)
      CMakeLists.txt:619 (find_package_torch_headers)
      Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/optimized/optimized-oss.yaml"
      Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/NativeFunctions.h
      Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/merged.yaml"
      Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/NativeFunctions.h
      CMake Deprecation Warning at third-party/gflags/CMakeLists.txt:73 (cmake_minimum_required):
      Compatibility with CMake < 3.10 will be removed from a future version of
      CMake.
      Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
      to tell CMake that the project requires at least <min> but has been updated
      to work with policies introduced by <max> or earlier.
      CMake Deprecation Warning at third-party/pybind11/CMakeLists.txt:13 (cmake_minimum_required):
      Compatibility with CMake < 3.10 will be removed from a future version of
      CMake.
      Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
      to tell CMake that the project requires at least <min> but has been updated
      to work with policies introduced by <max> or earlier.
      CMake Deprecation Warning at third-party/flatcc/CMakeLists.txt:2 (cmake_minimum_required):
      Compatibility with CMake < 3.10 will be removed from a future version of
      CMake.
      Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
      to tell CMake that the project requires at least <min> but has been updated
      to work with policies introduced by <max> or earlier.
      Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/quantized/quantized.yaml"
      Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/NativeFunctions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/RegisterCPUCustomOps.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/RegisterSchema.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/CustomOpsNativeFunctions.h
      Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_aot_lib/selected_operators.yaml;--root_ops="quantized_decomposed::add.out;quantized_decomposed::choose_qparams.Tensor_out;quantized_decomposed::choose_qparams_per_token_asymmetric.out;quantized_decomposed::dequantize_per_channel.out;quantized_decomposed::dequantize_per_tensor.out;quantized_decomposed::dequantize_per_tensor.Tensor_out;quantized_decomposed::dequantize_per_token.out;quantized_decomposed::mixed_linear.out;quantized_decomposed::mixed_mm.out;quantized_decomposed::quantize_per_channel.out;quantized_decomposed::quantize_per_tensor.out;quantized_decomposed::quantize_per_tensor.Tensor_out;quantized_decomposed::quantize_per_token.out"
      Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_pybind_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/quantized/quantized.yaml"
      CMake Error in CMakeLists.txt:
      Imported target "pybind11::module" includes non-existent path
      "/usr/include/python3.11"
      in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
      * The path was deleted, renamed, or moved to another location.
      * An install or uninstall procedure did not complete successfully.
      * The installation package was faulty and references files it does not
      provide.
      CMake Generate step failed. Build files cannot be regenerated correctly.
      error: subprocess-exited-with-error
      × Building wheel for executorch (pyproject.toml) did not run successfully.
      │ exit code: 1
      ╰─> See above for output.
      note: This error originates from a subprocess, and is likely not a problem with pip.
      full command: /home/warden/source/executorch/.venv/bin/python3 /home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpff_djhi6
      cwd: /home/warden/source/executorch
      Building wheel for executorch (pyproject.toml) ... error
      ERROR: Failed building wheel for executorch
      Failed to build executorch
      ERROR: Could not build wheels for executorch, which is required to install pyproject.toml-based projects
      [notice] A new release of pip is available: 24.0 -> 25.0.1
      [notice] To update, run: pip install --upgrade pip
      Traceback (most recent call last):
      File "/home/warden/source/executorch/./install_executorch.py", line 245, in <module>
      main(sys.argv[1:])
      File "/home/warden/source/executorch/./install_executorch.py", line 223, in main
      subprocess.run(
      File "/usr/lib/python3.11/subprocess.py", line 571, in run
      raise CalledProcessError(retcode, process.args,
      subprocess.CalledProcessError: Command '['/home/warden/source/executorch/.venv/bin/python3', '-m', 'pip', 'install', '.', '--no-build-isolation', '-v', '--extra-index-url', 'https://download.pytorch.org/whl/nightly/cpu']' returned non-zero exit status 1.
      

      Versions

      Operating System Information
      Linux Vikander 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

      PRETTY_NAME="Ubuntu 24.04.1 LTS"
      NAME="Ubuntu"
      VERSION_ID="24.04"
      VERSION="24.04.1 LTS (Noble Numbat)"
      VERSION_CODENAME=noble
      ID=ubuntu
      ID_LIKE=debian
      HOME_URL="https://www.ubuntu.com/"
      SUPPORT_URL="https://help.ubuntu.com/"
      BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
      PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
      UBUNTU_CODENAME=noble
      LOGO=ubuntu-logo

      Python Version
      Python 3.11.11

      PIP Version
      pip 24.0 from /home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip (python 3.11)

      Installed Packages
      certifi==2025.1.31
      charset-normalizer==3.4.1
      cmake==3.31.4
      filelock==3.17.0
      fsspec==2025.2.0
      huggingface-hub==0.28.1
      idna==3.10
      Jinja2==3.1.5
      MarkupSafe==3.0.2
      mpmath==1.3.0
      networkx==3.4.2
      numpy==2.2.3
      packaging==24.2
      pillow==11.1.0
      PyYAML==6.0.2
      regex==2024.11.6
      requests==2.32.3
      safetensors==0.5.2
      sympy==1.13.1
      timm==1.0.7
      tokenizers==0.21.0
      tomli==2.2.1
      torch==2.7.0.dev20250131+cpu
      torchao @ file:///home/warden/source/executorch/third-party/ao
      torchaudio==2.6.0.dev20250131+cpu
      torchsr==1.0.4
      torchvision==0.22.0.dev20250131+cpu
      tqdm==4.67.1
      transformers==4.47.1
      typing_extensions==4.12.2
      urllib3==2.3.0
      zstd==1.5.6.1

      PyTorch Version
      2.7.0.dev20250131+cpu

      Collection Complete

      cc @larryliu0820@lucylq@mergennachin

      Activity

      Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

      Metadata

      Metadata

      Assignees

      No one assigned

        Labels

        module: build/installIssues related to the cmake and buck2 builds, and to installing ExecuTorchmodule: user experienceIssues related to reducing friction for userstriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

        Type

        Projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions

        , 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Highlight search terms from Google/DuckDuckGo/Bing referrer\n(function() {\n var ref = document.referrer;\n var terms = [];\n \n if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) {\n var url = new URL(ref);\n var q = url.searchParams.get('q') || url.searchParams.get('p');\n if (q) {\n terms = q.split(/\\s+/).filter(function(t) { return t.length \u003e 2; });\n }\n }\n \n if (terms.length === 0) return;\n \n var style = document.createElement('style');\n style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }';\n document.head.appendChild(style);\n \n function highlight(node) {\n if (node.nodeType === 3) { // text node\n var text = node.textContent;\n var found = false;\n terms.forEach(function(term) {\n var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\') + ')', 'gi');\n if (regex.test(text)) {\n found = true;\n var frag = document.createDocumentFragment();\n var parts = text.split(regex);\n parts.forEach(function(part, i) {\n if (i % 2 === 0) {\n frag.appendChild(document.createTextNode(part));\n } else {\n var span = document.createElement('span');\n span.className = 'userscript-highlight';\n span.textContent = part;\n frag.appendChild(span);\n }\n });\n node.parentNode.replaceChild(frag, node);\n }\n });\n } else if (node.nodeType === 1 && node.childNodes) { // element\n var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT'];\n if (!skipTags.includes(node.tagName)) {\n Array.from(node.childNodes).forEach(highlight);\n }\n }\n }\n \n highlight(document.body);\n \n // Re-highlight on dynamic content\n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1 || node.nodeType === 3) highlight(node);\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Highlight Search Terms"); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
        Skip to content

        Can't run install on Ubuntu #8489

        Description

        @byjlw

        🐛 Describe the bug

        git clone https://github.com/pytorch/executorch.git
        cd executorch
        python3.11 -m venv .venv
        source .venv/bin/activate
        git submodule sync
        git submodule update --init
        ./install_executorch.sh
        

        Output

        Using pip 24.0 from /home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip (python 3.11)
        Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/nightly/cpu
        Processing /home/warden/source/executorch
        Running command Preparing metadata (pyproject.toml)
        /home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
        warnings.warn(msg, _BetaConfiguration)
        running dist_info
        creating /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info
        writing /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/PKG-INFO
        writing dependency_links to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/dependency_links.txt
        writing entry points to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/entry_points.txt
        writing requirements to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/requires.txt
        writing top-level names to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/top_level.txt
        writing manifest file '/tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/SOURCES.txt'
        reading manifest file '/tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/SOURCES.txt'
        adding license file 'LICENSE'
        writing manifest file '/tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/SOURCES.txt'
        creating '/tmp/pip-modern-metadata-twj7o8yl/executorch-0.6.0a0+319c8d7.dist-info'
        Preparing metadata (pyproject.toml) ... done
        Collecting expecttest (from executorch==0.6.0a0+319c8d7)
        Obtaining dependency information for expecttest from https://files.pythonhosted.org/packages/27/fb/deeefea1ea549273817ca7bed3db2f39cc238a75a745a20e3651619f7335/expecttest-0.3.0-py3-none-any.whl.metadata
        Downloading expecttest-0.3.0-py3-none-any.whl.metadata (3.8 kB)
        Collecting flatbuffers (from executorch==0.6.0a0+319c8d7)
        Obtaining dependency information for flatbuffers from https://files.pythonhosted.org/packages/b8/25/155f9f080d5e4bc0082edfda032ea2bc2b8fab3f4d25d46c1e9dd22a1a89/flatbuffers-25.2.10-py2.py3-none-any.whl.metadata
        Downloading flatbuffers-25.2.10-py2.py3-none-any.whl.metadata (875 bytes)
        Collecting hypothesis (from executorch==0.6.0a0+319c8d7)
        Obtaining dependency information for hypothesis from https://files.pythonhosted.org/packages/55/97/36e2e1dec3d60c99443a9d25e8a21e9bfdf4ba91c1396587b8b74f37db13/hypothesis-6.125.3-py3-none-any.whl.metadata
        Downloading hypothesis-6.125.3-py3-none-any.whl.metadata (6.3 kB)
        Requirement already satisfied: mpmath==1.3.0 in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (1.3.0)
        Requirement already satisfied: packaging in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (24.2)
        Collecting parameterized (from executorch==0.6.0a0+319c8d7)
        Obtaining dependency information for parameterized from https://files.pythonhosted.org/packages/00/2f/804f58f0b856ab3bf21617cccf5b39206e6c4c94c2cd227bde125ea6105f/parameterized-0.9.0-py2.py3-none-any.whl.metadata
        Downloading parameterized-0.9.0-py2.py3-none-any.whl.metadata (18 kB)
        Collecting pytest (from executorch==0.6.0a0+319c8d7)
        Obtaining dependency information for pytest from https://files.pythonhosted.org/packages/11/92/76a1c94d3afee238333bc0a42b82935dd8f9cf8ce9e336ff87ee14d9e1cf/pytest-8.3.4-py3-none-any.whl.metadata
        Downloading pytest-8.3.4-py3-none-any.whl.metadata (7.5 kB)
        Collecting pytest-xdist (from executorch==0.6.0a0+319c8d7)
        Obtaining dependency information for pytest-xdist from https://files.pythonhosted.org/packages/6d/82/1d96bf03ee4c0fdc3c0cbe61470070e659ca78dc0086fb88b66c185e2449/pytest_xdist-3.6.1-py3-none-any.whl.metadata
        Downloading pytest_xdist-3.6.1-py3-none-any.whl.metadata (4.3 kB)
        Collecting pytest-rerunfailures (from executorch==0.6.0a0+319c8d7)
        Obtaining dependency information for pytest-rerunfailures from https://files.pythonhosted.org/packages/89/37/54e5ffc7c0cebee7cf30a3ac5915faa7e7abf8bdfdf3228c277f7c192489/pytest_rerunfailures-15.0-py3-none-any.whl.metadata
        Downloading pytest_rerunfailures-15.0-py3-none-any.whl.metadata (19 kB)
        Requirement already satisfied: pyyaml in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (6.0.2)
        Collecting ruamel.yaml (from executorch==0.6.0a0+319c8d7)
        Obtaining dependency information for ruamel.yaml from https://files.pythonhosted.org/packages/c2/36/dfc1ebc0081e6d39924a2cc53654497f967a084a436bb64402dfce4254d9/ruamel.yaml-0.18.10-py3-none-any.whl.metadata
        Downloading ruamel.yaml-0.18.10-py3-none-any.whl.metadata (23 kB)
        Requirement already satisfied: sympy in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (1.13.1)
        Collecting tabulate (from executorch==0.6.0a0+319c8d7)
        Obtaining dependency information for tabulate from https://files.pythonhosted.org/packages/40/44/4a5f08c96eb108af5cb50b41f76142f0afa346dfa99d5296fe7202a11854/tabulate-0.9.0-py3-none-any.whl.metadata
        Downloading tabulate-0.9.0-py3-none-any.whl.metadata (34 kB)
        Requirement already satisfied: typing-extensions in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (4.12.2)
        Requirement already satisfied: numpy>=2.0.0 in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (2.2.3)
        Collecting pandas>=2.2.2 (from executorch==0.6.0a0+319c8d7)
        Downloading https://download.pytorch.org/whl/nightly/pandas-2.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.1 MB)
        ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.1/13.1 MB 43.9 MB/s eta 0:00:00
        Collecting python-dateutil>=2.8.2 (from pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
        Obtaining dependency information for python-dateutil>=2.8.2 from https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata
        Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
        Collecting pytz>=2020.1 (from pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
        Obtaining dependency information for pytz>=2020.1 from https://files.pythonhosted.org/packages/eb/38/ac33370d784287baa1c3d538978b5e2ea064d4c1b93ffbd12826c190dd10/pytz-2025.1-py2.py3-none-any.whl.metadata
        Downloading pytz-2025.1-py2.py3-none-any.whl.metadata (22 kB)
        Collecting tzdata>=2022.7 (from pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
        Obtaining dependency information for tzdata>=2022.7 from https://files.pythonhosted.org/packages/0f/dd/84f10e23edd882c6f968c21c2434fe67bd4a528967067515feca9e611e5e/tzdata-2025.1-py2.py3-none-any.whl.metadata
        Downloading tzdata-2025.1-py2.py3-none-any.whl.metadata (1.4 kB)
        Collecting attrs>=22.2.0 (from hypothesis->executorch==0.6.0a0+319c8d7)
        Obtaining dependency information for attrs>=22.2.0 from https://files.pythonhosted.org/packages/fc/30/d4986a882011f9df997a55e6becd864812ccfcd821d64aac8570ee39f719/attrs-25.1.0-py3-none-any.whl.metadata
        Downloading attrs-25.1.0-py3-none-any.whl.metadata (10 kB)
        Collecting sortedcontainers<3.0.0,>=2.1.0 (from hypothesis->executorch==0.6.0a0+319c8d7)
        Obtaining dependency information for sortedcontainers<3.0.0,>=2.1.0 from https://files.pythonhosted.org/packages/32/46/9cb0e58b2deb7f82b84065f37f3bffeb12413f947f9388e4cac22c4621ce/sortedcontainers-2.4.0-py2.py3-none-any.whl.metadata
        Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl.metadata (10 kB)
        Collecting iniconfig (from pytest->executorch==0.6.0a0+319c8d7)
        Obtaining dependency information for iniconfig from https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl.metadata
        Downloading iniconfig-2.0.0-py3-none-any.whl.metadata (2.6 kB)
        Collecting pluggy<2,>=1.5 (from pytest->executorch==0.6.0a0+319c8d7)
        Obtaining dependency information for pluggy<2,>=1.5 from https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl.metadata
        Downloading pluggy-1.5.0-py3-none-any.whl.metadata (4.8 kB)
        Collecting execnet>=2.1 (from pytest-xdist->executorch==0.6.0a0+319c8d7)
        Obtaining dependency information for execnet>=2.1 from https://files.pythonhosted.org/packages/43/09/2aea36ff60d16dd8879bdb2f5b3ee0ba8d08cbbdcdfe870e695ce3784385/execnet-2.1.1-py3-none-any.whl.metadata
        Downloading execnet-2.1.1-py3-none-any.whl.metadata (2.9 kB)
        Collecting ruamel.yaml.clib>=0.2.7 (from ruamel.yaml->executorch==0.6.0a0+319c8d7)
        Obtaining dependency information for ruamel.yaml.clib>=0.2.7 from https://files.pythonhosted.org/packages/68/6e/264c50ce2a31473a9fdbf4fa66ca9b2b17c7455b31ef585462343818bd6c/ruamel.yaml.clib-0.2.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
        Downloading ruamel.yaml.clib-0.2.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.7 kB)
        Collecting six>=1.5 (from python-dateutil>=2.8.2->pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
        Obtaining dependency information for six>=1.5 from https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl.metadata
        Using cached six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
        Downloading expecttest-0.3.0-py3-none-any.whl (8.2 kB)
        Downloading flatbuffers-25.2.10-py2.py3-none-any.whl (30 kB)
        Downloading hypothesis-6.125.3-py3-none-any.whl (480 kB)
        ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 480.8/480.8 kB 16.5 MB/s eta 0:00:00
        Downloading parameterized-0.9.0-py2.py3-none-any.whl (20 kB)
        Downloading pytest-8.3.4-py3-none-any.whl (343 kB)
        ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 343.1/343.1 kB 15.3 MB/s eta 0:00:00
        Downloading pytest_rerunfailures-15.0-py3-none-any.whl (13 kB)
        Downloading pytest_xdist-3.6.1-py3-none-any.whl (46 kB)
        ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.1/46.1 kB 6.9 MB/s eta 0:00:00
        Downloading ruamel.yaml-0.18.10-py3-none-any.whl (117 kB)
        ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.7/117.7 kB 7.1 MB/s eta 0:00:00
        Downloading tabulate-0.9.0-py3-none-any.whl (35 kB)
        Downloading attrs-25.1.0-py3-none-any.whl (63 kB)
        ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.2/63.2 kB 8.4 MB/s eta 0:00:00
        Downloading execnet-2.1.1-py3-none-any.whl (40 kB)
        ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.6/40.6 kB 5.5 MB/s eta 0:00:00
        Downloading pluggy-1.5.0-py3-none-any.whl (20 kB)
        Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
        Downloading pytz-2025.1-py2.py3-none-any.whl (507 kB)
        ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 507.9/507.9 kB 4.6 MB/s eta 0:00:00
        Downloading ruamel.yaml.clib-0.2.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (739 kB)
        ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 739.1/739.1 kB 5.8 MB/s eta 0:00:00
        Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
        Downloading tzdata-2025.1-py2.py3-none-any.whl (346 kB)
        ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 346.8/346.8 kB 9.8 MB/s eta 0:00:00
        Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
        Using cached six-1.17.0-py2.py3-none-any.whl (11 kB)
        Building wheels for collected packages: executorch
        Running command Building wheel for executorch (pyproject.toml)
        /home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
        warnings.warn(msg, _BetaConfiguration)
        running bdist_wheel
        running build
        command options for 'CustomBuild':
        build_base = pip-out
        build_purelib = pip-out/lib
        build_platlib = pip-out/lib.linux-x86_64-cpython-311
        build_lib = pip-out/lib.linux-x86_64-cpython-311
        build_scripts = pip-out/scripts-3.11
        build_temp = pip-out/temp.linux-x86_64-cpython-311
        plat_name = linux-x86_64
        compiler = None
        parallel = 31
        debug = None
        force = None
        executable = /home/warden/source/executorch/.venv/bin/python3
        creating /home/warden/source/executorch/pip-out
        creating /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311
        creating /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out
        deleting /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/CMakeCache.txt
        Traceback (most recent call last):
        File "<string>", line 640, in run
        File "/usr/lib/python3.11/subprocess.py", line 571, in run
        raise CalledProcessError(retcode, process.args,
        subprocess.CalledProcessError: Command '['cmake', '-S', '/home/warden/source/executorch', '-B', '/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out', '-DBUCK2=', '-DPYTHON_EXECUTABLE=/home/warden/source/executorch/.venv/bin/python3', '-DCMAKE_PREFIX_PATH=/home/warden/source/executorch/.venv/lib/python3.11/site-packages', '-DCMAKE_BUILD_TYPE=Release', '-DEXECUTORCH_ENABLE_LOGGING=ON', '-DEXECUTORCH_LOG_LEVEL=Info', '-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15', '-DEXECUTORCH_SEPARATE_FLATCC_HOST_PROJECT=OFF', '-DEXECUTORCH_BUILD_PYBIND=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED_AOT=ON', '-DEXECUTORCH_BUILD_KERNELS_CUSTOM=ON', '-DEXECUTORCH_BUILD_KERNELS_CUSTOM_AOT=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED_AOT=ON', '-DEXECUTORCH_BUILD_XNNPACK=ON']' returned non-zero exit status 1.
        The above exception was the direct cause of the following exception:
        Traceback (most recent call last):
        File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
        main()
        File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
        json_out['return_val'] = hook(**hook_input['kwargs'])
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
        return _build_backend().build_wheel(wheel_directory, config_settings,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/build_meta.py", line 412, in build_wheel
        return self._build_with_temp_dir(['bdist_wheel'], '.whl',
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/build_meta.py", line 397, in _build_with_temp_dir
        self.run_setup()
        File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/build_meta.py", line 335, in run_setup
        exec(code, locals())
        File "<string>", line 742, in <module>
        File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/__init__.py", line 87, in setup
        return distutils.core.setup(**attrs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
        return run_commands(dist)
        ^^^^^^^^^^^^^^^^^^
        File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
        dist.run_commands()
        File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
        self.run_command(cmd)
        File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
        super().run_command(command)
        File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
        cmd_obj.run()
        File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/wheel/_bdist_wheel.py", line 387, in run
        self.run_command("build")
        File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
        self.distribution.run_command(command)
        File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
        super().run_command(command)
        File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
        cmd_obj.run()
        File "<string>", line 660, in run
        Exception: CMake Deprecation Warning at backends/xnnpack/third-party/FXdiv/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
        Compatibility with CMake < 3.10 will be removed from a future version of
        CMake.
        Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
        to tell CMake that the project requires at least <min> but has been updated
        to work with policies introduced by <max> or earlier.
        CMake Deprecation Warning at backends/xnnpack/third-party/cpuinfo/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
        Compatibility with CMake < 3.10 will be removed from a future version of
        CMake.
        Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
        to tell CMake that the project requires at least <min> but has been updated
        to work with policies introduced by <max> or earlier.
        CMake Deprecation Warning at backends/xnnpack/third-party/pthreadpool/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
        Compatibility with CMake < 3.10 will be removed from a future version of
        CMake.
        Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
        to tell CMake that the project requires at least <min> but has been updated
        to work with policies introduced by <max> or earlier.
        Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/portable/functions.yaml"
        Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/NativeFunctions.h
        CMake Warning at .venv/lib/python3.11/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:22 (message):
        static library kineto_LIBRARY-NOTFOUND not found.
        Call Stack (most recent call first):
        .venv/lib/python3.11/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:125 (append_torchlib_if_found)
        build/Utils.cmake:340 (find_package)
        CMakeLists.txt:619 (find_package_torch_headers)
        Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/optimized/optimized-oss.yaml"
        Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/NativeFunctions.h
        Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/merged.yaml"
        Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/NativeFunctions.h
        CMake Deprecation Warning at third-party/gflags/CMakeLists.txt:73 (cmake_minimum_required):
        Compatibility with CMake < 3.10 will be removed from a future version of
        CMake.
        Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
        to tell CMake that the project requires at least <min> but has been updated
        to work with policies introduced by <max> or earlier.
        CMake Deprecation Warning at third-party/pybind11/CMakeLists.txt:13 (cmake_minimum_required):
        Compatibility with CMake < 3.10 will be removed from a future version of
        CMake.
        Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
        to tell CMake that the project requires at least <min> but has been updated
        to work with policies introduced by <max> or earlier.
        CMake Deprecation Warning at third-party/flatcc/CMakeLists.txt:2 (cmake_minimum_required):
        Compatibility with CMake < 3.10 will be removed from a future version of
        CMake.
        Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
        to tell CMake that the project requires at least <min> but has been updated
        to work with policies introduced by <max> or earlier.
        Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/quantized/quantized.yaml"
        Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/NativeFunctions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/RegisterCPUCustomOps.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/RegisterSchema.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/CustomOpsNativeFunctions.h
        Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_aot_lib/selected_operators.yaml;--root_ops="quantized_decomposed::add.out;quantized_decomposed::choose_qparams.Tensor_out;quantized_decomposed::choose_qparams_per_token_asymmetric.out;quantized_decomposed::dequantize_per_channel.out;quantized_decomposed::dequantize_per_tensor.out;quantized_decomposed::dequantize_per_tensor.Tensor_out;quantized_decomposed::dequantize_per_token.out;quantized_decomposed::mixed_linear.out;quantized_decomposed::mixed_mm.out;quantized_decomposed::quantize_per_channel.out;quantized_decomposed::quantize_per_tensor.out;quantized_decomposed::quantize_per_tensor.Tensor_out;quantized_decomposed::quantize_per_token.out"
        Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_pybind_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/quantized/quantized.yaml"
        CMake Error in CMakeLists.txt:
        Imported target "pybind11::module" includes non-existent path
        "/usr/include/python3.11"
        in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
        * The path was deleted, renamed, or moved to another location.
        * An install or uninstall procedure did not complete successfully.
        * The installation package was faulty and references files it does not
        provide.
        CMake Generate step failed. Build files cannot be regenerated correctly.
        error: subprocess-exited-with-error
        × Building wheel for executorch (pyproject.toml) did not run successfully.
        │ exit code: 1
        ╰─> See above for output.
        note: This error originates from a subprocess, and is likely not a problem with pip.
        full command: /home/warden/source/executorch/.venv/bin/python3 /home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpff_djhi6
        cwd: /home/warden/source/executorch
        Building wheel for executorch (pyproject.toml) ... error
        ERROR: Failed building wheel for executorch
        Failed to build executorch
        ERROR: Could not build wheels for executorch, which is required to install pyproject.toml-based projects
        [notice] A new release of pip is available: 24.0 -> 25.0.1
        [notice] To update, run: pip install --upgrade pip
        Traceback (most recent call last):
        File "/home/warden/source/executorch/./install_executorch.py", line 245, in <module>
        main(sys.argv[1:])
        File "/home/warden/source/executorch/./install_executorch.py", line 223, in main
        subprocess.run(
        File "/usr/lib/python3.11/subprocess.py", line 571, in run
        raise CalledProcessError(retcode, process.args,
        subprocess.CalledProcessError: Command '['/home/warden/source/executorch/.venv/bin/python3', '-m', 'pip', 'install', '.', '--no-build-isolation', '-v', '--extra-index-url', 'https://download.pytorch.org/whl/nightly/cpu']' returned non-zero exit status 1.
        

        Versions

        Operating System Information
        Linux Vikander 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

        PRETTY_NAME="Ubuntu 24.04.1 LTS"
        NAME="Ubuntu"
        VERSION_ID="24.04"
        VERSION="24.04.1 LTS (Noble Numbat)"
        VERSION_CODENAME=noble
        ID=ubuntu
        ID_LIKE=debian
        HOME_URL="https://www.ubuntu.com/"
        SUPPORT_URL="https://help.ubuntu.com/"
        BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
        PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
        UBUNTU_CODENAME=noble
        LOGO=ubuntu-logo

        Python Version
        Python 3.11.11

        PIP Version
        pip 24.0 from /home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip (python 3.11)

        Installed Packages
        certifi==2025.1.31
        charset-normalizer==3.4.1
        cmake==3.31.4
        filelock==3.17.0
        fsspec==2025.2.0
        huggingface-hub==0.28.1
        idna==3.10
        Jinja2==3.1.5
        MarkupSafe==3.0.2
        mpmath==1.3.0
        networkx==3.4.2
        numpy==2.2.3
        packaging==24.2
        pillow==11.1.0
        PyYAML==6.0.2
        regex==2024.11.6
        requests==2.32.3
        safetensors==0.5.2
        sympy==1.13.1
        timm==1.0.7
        tokenizers==0.21.0
        tomli==2.2.1
        torch==2.7.0.dev20250131+cpu
        torchao @ file:///home/warden/source/executorch/third-party/ao
        torchaudio==2.6.0.dev20250131+cpu
        torchsr==1.0.4
        torchvision==0.22.0.dev20250131+cpu
        tqdm==4.67.1
        transformers==4.47.1
        typing_extensions==4.12.2
        urllib3==2.3.0
        zstd==1.5.6.1

        PyTorch Version
        2.7.0.dev20250131+cpu

        Collection Complete

        cc @larryliu0820@lucylq@mergennachin

        Activity

        Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

        Metadata

        Metadata

        Assignees

        No one assigned

          Labels

          module: build/installIssues related to the cmake and buck2 builds, and to installing ExecuTorchmodule: user experienceIssues related to reducing friction for userstriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

          Type

          Projects

          Milestone

          No milestone

          Relationships

          None yet

          Development

          No branches or pull requests

          Issue actions

          , 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Strip utm_, fbclid, gclid, etc. from all links on page\n(function() {\n var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',\n 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',\n 'ref', 'ref_src', 'source', 'medium', 'campaign'];\n \n function cleanUrl(url) {\n try {\n var u = new URL(url, window.location.origin);\n var changed = false;\n trackingParams.forEach(function(p) {\n if (u.searchParams.has(p)) {\n u.searchParams.delete(p);\n changed = true;\n }\n });\n return changed ? u.toString() : url;\n } catch (e) {\n return url;\n }\n }\n \n function cleanLinks() {\n document.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n \n cleanLinks();\n \n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1) {\n if (node.tagName === 'A') cleanLinks();\n node.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Remove Tracking Parameters from Links"); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
          Skip to content

          Can't run install on Ubuntu #8489

          Description

          @byjlw

          🐛 Describe the bug

          git clone https://github.com/pytorch/executorch.git
          cd executorch
          python3.11 -m venv .venv
          source .venv/bin/activate
          git submodule sync
          git submodule update --init
          ./install_executorch.sh
          

          Output

          Using pip 24.0 from /home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip (python 3.11)
          Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/nightly/cpu
          Processing /home/warden/source/executorch
          Running command Preparing metadata (pyproject.toml)
          /home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
          warnings.warn(msg, _BetaConfiguration)
          running dist_info
          creating /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info
          writing /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/PKG-INFO
          writing dependency_links to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/dependency_links.txt
          writing entry points to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/entry_points.txt
          writing requirements to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/requires.txt
          writing top-level names to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/top_level.txt
          writing manifest file '/tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/SOURCES.txt'
          reading manifest file '/tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/SOURCES.txt'
          adding license file 'LICENSE'
          writing manifest file '/tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/SOURCES.txt'
          creating '/tmp/pip-modern-metadata-twj7o8yl/executorch-0.6.0a0+319c8d7.dist-info'
          Preparing metadata (pyproject.toml) ... done
          Collecting expecttest (from executorch==0.6.0a0+319c8d7)
          Obtaining dependency information for expecttest from https://files.pythonhosted.org/packages/27/fb/deeefea1ea549273817ca7bed3db2f39cc238a75a745a20e3651619f7335/expecttest-0.3.0-py3-none-any.whl.metadata
          Downloading expecttest-0.3.0-py3-none-any.whl.metadata (3.8 kB)
          Collecting flatbuffers (from executorch==0.6.0a0+319c8d7)
          Obtaining dependency information for flatbuffers from https://files.pythonhosted.org/packages/b8/25/155f9f080d5e4bc0082edfda032ea2bc2b8fab3f4d25d46c1e9dd22a1a89/flatbuffers-25.2.10-py2.py3-none-any.whl.metadata
          Downloading flatbuffers-25.2.10-py2.py3-none-any.whl.metadata (875 bytes)
          Collecting hypothesis (from executorch==0.6.0a0+319c8d7)
          Obtaining dependency information for hypothesis from https://files.pythonhosted.org/packages/55/97/36e2e1dec3d60c99443a9d25e8a21e9bfdf4ba91c1396587b8b74f37db13/hypothesis-6.125.3-py3-none-any.whl.metadata
          Downloading hypothesis-6.125.3-py3-none-any.whl.metadata (6.3 kB)
          Requirement already satisfied: mpmath==1.3.0 in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (1.3.0)
          Requirement already satisfied: packaging in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (24.2)
          Collecting parameterized (from executorch==0.6.0a0+319c8d7)
          Obtaining dependency information for parameterized from https://files.pythonhosted.org/packages/00/2f/804f58f0b856ab3bf21617cccf5b39206e6c4c94c2cd227bde125ea6105f/parameterized-0.9.0-py2.py3-none-any.whl.metadata
          Downloading parameterized-0.9.0-py2.py3-none-any.whl.metadata (18 kB)
          Collecting pytest (from executorch==0.6.0a0+319c8d7)
          Obtaining dependency information for pytest from https://files.pythonhosted.org/packages/11/92/76a1c94d3afee238333bc0a42b82935dd8f9cf8ce9e336ff87ee14d9e1cf/pytest-8.3.4-py3-none-any.whl.metadata
          Downloading pytest-8.3.4-py3-none-any.whl.metadata (7.5 kB)
          Collecting pytest-xdist (from executorch==0.6.0a0+319c8d7)
          Obtaining dependency information for pytest-xdist from https://files.pythonhosted.org/packages/6d/82/1d96bf03ee4c0fdc3c0cbe61470070e659ca78dc0086fb88b66c185e2449/pytest_xdist-3.6.1-py3-none-any.whl.metadata
          Downloading pytest_xdist-3.6.1-py3-none-any.whl.metadata (4.3 kB)
          Collecting pytest-rerunfailures (from executorch==0.6.0a0+319c8d7)
          Obtaining dependency information for pytest-rerunfailures from https://files.pythonhosted.org/packages/89/37/54e5ffc7c0cebee7cf30a3ac5915faa7e7abf8bdfdf3228c277f7c192489/pytest_rerunfailures-15.0-py3-none-any.whl.metadata
          Downloading pytest_rerunfailures-15.0-py3-none-any.whl.metadata (19 kB)
          Requirement already satisfied: pyyaml in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (6.0.2)
          Collecting ruamel.yaml (from executorch==0.6.0a0+319c8d7)
          Obtaining dependency information for ruamel.yaml from https://files.pythonhosted.org/packages/c2/36/dfc1ebc0081e6d39924a2cc53654497f967a084a436bb64402dfce4254d9/ruamel.yaml-0.18.10-py3-none-any.whl.metadata
          Downloading ruamel.yaml-0.18.10-py3-none-any.whl.metadata (23 kB)
          Requirement already satisfied: sympy in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (1.13.1)
          Collecting tabulate (from executorch==0.6.0a0+319c8d7)
          Obtaining dependency information for tabulate from https://files.pythonhosted.org/packages/40/44/4a5f08c96eb108af5cb50b41f76142f0afa346dfa99d5296fe7202a11854/tabulate-0.9.0-py3-none-any.whl.metadata
          Downloading tabulate-0.9.0-py3-none-any.whl.metadata (34 kB)
          Requirement already satisfied: typing-extensions in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (4.12.2)
          Requirement already satisfied: numpy>=2.0.0 in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (2.2.3)
          Collecting pandas>=2.2.2 (from executorch==0.6.0a0+319c8d7)
          Downloading https://download.pytorch.org/whl/nightly/pandas-2.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.1 MB)
          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.1/13.1 MB 43.9 MB/s eta 0:00:00
          Collecting python-dateutil>=2.8.2 (from pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
          Obtaining dependency information for python-dateutil>=2.8.2 from https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata
          Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
          Collecting pytz>=2020.1 (from pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
          Obtaining dependency information for pytz>=2020.1 from https://files.pythonhosted.org/packages/eb/38/ac33370d784287baa1c3d538978b5e2ea064d4c1b93ffbd12826c190dd10/pytz-2025.1-py2.py3-none-any.whl.metadata
          Downloading pytz-2025.1-py2.py3-none-any.whl.metadata (22 kB)
          Collecting tzdata>=2022.7 (from pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
          Obtaining dependency information for tzdata>=2022.7 from https://files.pythonhosted.org/packages/0f/dd/84f10e23edd882c6f968c21c2434fe67bd4a528967067515feca9e611e5e/tzdata-2025.1-py2.py3-none-any.whl.metadata
          Downloading tzdata-2025.1-py2.py3-none-any.whl.metadata (1.4 kB)
          Collecting attrs>=22.2.0 (from hypothesis->executorch==0.6.0a0+319c8d7)
          Obtaining dependency information for attrs>=22.2.0 from https://files.pythonhosted.org/packages/fc/30/d4986a882011f9df997a55e6becd864812ccfcd821d64aac8570ee39f719/attrs-25.1.0-py3-none-any.whl.metadata
          Downloading attrs-25.1.0-py3-none-any.whl.metadata (10 kB)
          Collecting sortedcontainers<3.0.0,>=2.1.0 (from hypothesis->executorch==0.6.0a0+319c8d7)
          Obtaining dependency information for sortedcontainers<3.0.0,>=2.1.0 from https://files.pythonhosted.org/packages/32/46/9cb0e58b2deb7f82b84065f37f3bffeb12413f947f9388e4cac22c4621ce/sortedcontainers-2.4.0-py2.py3-none-any.whl.metadata
          Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl.metadata (10 kB)
          Collecting iniconfig (from pytest->executorch==0.6.0a0+319c8d7)
          Obtaining dependency information for iniconfig from https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl.metadata
          Downloading iniconfig-2.0.0-py3-none-any.whl.metadata (2.6 kB)
          Collecting pluggy<2,>=1.5 (from pytest->executorch==0.6.0a0+319c8d7)
          Obtaining dependency information for pluggy<2,>=1.5 from https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl.metadata
          Downloading pluggy-1.5.0-py3-none-any.whl.metadata (4.8 kB)
          Collecting execnet>=2.1 (from pytest-xdist->executorch==0.6.0a0+319c8d7)
          Obtaining dependency information for execnet>=2.1 from https://files.pythonhosted.org/packages/43/09/2aea36ff60d16dd8879bdb2f5b3ee0ba8d08cbbdcdfe870e695ce3784385/execnet-2.1.1-py3-none-any.whl.metadata
          Downloading execnet-2.1.1-py3-none-any.whl.metadata (2.9 kB)
          Collecting ruamel.yaml.clib>=0.2.7 (from ruamel.yaml->executorch==0.6.0a0+319c8d7)
          Obtaining dependency information for ruamel.yaml.clib>=0.2.7 from https://files.pythonhosted.org/packages/68/6e/264c50ce2a31473a9fdbf4fa66ca9b2b17c7455b31ef585462343818bd6c/ruamel.yaml.clib-0.2.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
          Downloading ruamel.yaml.clib-0.2.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.7 kB)
          Collecting six>=1.5 (from python-dateutil>=2.8.2->pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
          Obtaining dependency information for six>=1.5 from https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl.metadata
          Using cached six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
          Downloading expecttest-0.3.0-py3-none-any.whl (8.2 kB)
          Downloading flatbuffers-25.2.10-py2.py3-none-any.whl (30 kB)
          Downloading hypothesis-6.125.3-py3-none-any.whl (480 kB)
          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 480.8/480.8 kB 16.5 MB/s eta 0:00:00
          Downloading parameterized-0.9.0-py2.py3-none-any.whl (20 kB)
          Downloading pytest-8.3.4-py3-none-any.whl (343 kB)
          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 343.1/343.1 kB 15.3 MB/s eta 0:00:00
          Downloading pytest_rerunfailures-15.0-py3-none-any.whl (13 kB)
          Downloading pytest_xdist-3.6.1-py3-none-any.whl (46 kB)
          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.1/46.1 kB 6.9 MB/s eta 0:00:00
          Downloading ruamel.yaml-0.18.10-py3-none-any.whl (117 kB)
          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.7/117.7 kB 7.1 MB/s eta 0:00:00
          Downloading tabulate-0.9.0-py3-none-any.whl (35 kB)
          Downloading attrs-25.1.0-py3-none-any.whl (63 kB)
          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.2/63.2 kB 8.4 MB/s eta 0:00:00
          Downloading execnet-2.1.1-py3-none-any.whl (40 kB)
          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.6/40.6 kB 5.5 MB/s eta 0:00:00
          Downloading pluggy-1.5.0-py3-none-any.whl (20 kB)
          Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
          Downloading pytz-2025.1-py2.py3-none-any.whl (507 kB)
          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 507.9/507.9 kB 4.6 MB/s eta 0:00:00
          Downloading ruamel.yaml.clib-0.2.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (739 kB)
          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 739.1/739.1 kB 5.8 MB/s eta 0:00:00
          Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
          Downloading tzdata-2025.1-py2.py3-none-any.whl (346 kB)
          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 346.8/346.8 kB 9.8 MB/s eta 0:00:00
          Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
          Using cached six-1.17.0-py2.py3-none-any.whl (11 kB)
          Building wheels for collected packages: executorch
          Running command Building wheel for executorch (pyproject.toml)
          /home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
          warnings.warn(msg, _BetaConfiguration)
          running bdist_wheel
          running build
          command options for 'CustomBuild':
          build_base = pip-out
          build_purelib = pip-out/lib
          build_platlib = pip-out/lib.linux-x86_64-cpython-311
          build_lib = pip-out/lib.linux-x86_64-cpython-311
          build_scripts = pip-out/scripts-3.11
          build_temp = pip-out/temp.linux-x86_64-cpython-311
          plat_name = linux-x86_64
          compiler = None
          parallel = 31
          debug = None
          force = None
          executable = /home/warden/source/executorch/.venv/bin/python3
          creating /home/warden/source/executorch/pip-out
          creating /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311
          creating /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out
          deleting /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/CMakeCache.txt
          Traceback (most recent call last):
          File "<string>", line 640, in run
          File "/usr/lib/python3.11/subprocess.py", line 571, in run
          raise CalledProcessError(retcode, process.args,
          subprocess.CalledProcessError: Command '['cmake', '-S', '/home/warden/source/executorch', '-B', '/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out', '-DBUCK2=', '-DPYTHON_EXECUTABLE=/home/warden/source/executorch/.venv/bin/python3', '-DCMAKE_PREFIX_PATH=/home/warden/source/executorch/.venv/lib/python3.11/site-packages', '-DCMAKE_BUILD_TYPE=Release', '-DEXECUTORCH_ENABLE_LOGGING=ON', '-DEXECUTORCH_LOG_LEVEL=Info', '-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15', '-DEXECUTORCH_SEPARATE_FLATCC_HOST_PROJECT=OFF', '-DEXECUTORCH_BUILD_PYBIND=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED_AOT=ON', '-DEXECUTORCH_BUILD_KERNELS_CUSTOM=ON', '-DEXECUTORCH_BUILD_KERNELS_CUSTOM_AOT=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED_AOT=ON', '-DEXECUTORCH_BUILD_XNNPACK=ON']' returned non-zero exit status 1.
          The above exception was the direct cause of the following exception:
          Traceback (most recent call last):
          File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
          File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
          return _build_backend().build_wheel(wheel_directory, config_settings,
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/build_meta.py", line 412, in build_wheel
          return self._build_with_temp_dir(['bdist_wheel'], '.whl',
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/build_meta.py", line 397, in _build_with_temp_dir
          self.run_setup()
          File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/build_meta.py", line 335, in run_setup
          exec(code, locals())
          File "<string>", line 742, in <module>
          File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/__init__.py", line 87, in setup
          return distutils.core.setup(**attrs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
          return run_commands(dist)
          ^^^^^^^^^^^^^^^^^^
          File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
          dist.run_commands()
          File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
          self.run_command(cmd)
          File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
          super().run_command(command)
          File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
          cmd_obj.run()
          File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/wheel/_bdist_wheel.py", line 387, in run
          self.run_command("build")
          File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
          self.distribution.run_command(command)
          File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
          super().run_command(command)
          File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
          cmd_obj.run()
          File "<string>", line 660, in run
          Exception: CMake Deprecation Warning at backends/xnnpack/third-party/FXdiv/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
          Compatibility with CMake < 3.10 will be removed from a future version of
          CMake.
          Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
          to tell CMake that the project requires at least <min> but has been updated
          to work with policies introduced by <max> or earlier.
          CMake Deprecation Warning at backends/xnnpack/third-party/cpuinfo/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
          Compatibility with CMake < 3.10 will be removed from a future version of
          CMake.
          Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
          to tell CMake that the project requires at least <min> but has been updated
          to work with policies introduced by <max> or earlier.
          CMake Deprecation Warning at backends/xnnpack/third-party/pthreadpool/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
          Compatibility with CMake < 3.10 will be removed from a future version of
          CMake.
          Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
          to tell CMake that the project requires at least <min> but has been updated
          to work with policies introduced by <max> or earlier.
          Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/portable/functions.yaml"
          Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/NativeFunctions.h
          CMake Warning at .venv/lib/python3.11/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:22 (message):
          static library kineto_LIBRARY-NOTFOUND not found.
          Call Stack (most recent call first):
          .venv/lib/python3.11/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:125 (append_torchlib_if_found)
          build/Utils.cmake:340 (find_package)
          CMakeLists.txt:619 (find_package_torch_headers)
          Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/optimized/optimized-oss.yaml"
          Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/NativeFunctions.h
          Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/merged.yaml"
          Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/NativeFunctions.h
          CMake Deprecation Warning at third-party/gflags/CMakeLists.txt:73 (cmake_minimum_required):
          Compatibility with CMake < 3.10 will be removed from a future version of
          CMake.
          Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
          to tell CMake that the project requires at least <min> but has been updated
          to work with policies introduced by <max> or earlier.
          CMake Deprecation Warning at third-party/pybind11/CMakeLists.txt:13 (cmake_minimum_required):
          Compatibility with CMake < 3.10 will be removed from a future version of
          CMake.
          Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
          to tell CMake that the project requires at least <min> but has been updated
          to work with policies introduced by <max> or earlier.
          CMake Deprecation Warning at third-party/flatcc/CMakeLists.txt:2 (cmake_minimum_required):
          Compatibility with CMake < 3.10 will be removed from a future version of
          CMake.
          Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
          to tell CMake that the project requires at least <min> but has been updated
          to work with policies introduced by <max> or earlier.
          Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/quantized/quantized.yaml"
          Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/NativeFunctions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/RegisterCPUCustomOps.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/RegisterSchema.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/CustomOpsNativeFunctions.h
          Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_aot_lib/selected_operators.yaml;--root_ops="quantized_decomposed::add.out;quantized_decomposed::choose_qparams.Tensor_out;quantized_decomposed::choose_qparams_per_token_asymmetric.out;quantized_decomposed::dequantize_per_channel.out;quantized_decomposed::dequantize_per_tensor.out;quantized_decomposed::dequantize_per_tensor.Tensor_out;quantized_decomposed::dequantize_per_token.out;quantized_decomposed::mixed_linear.out;quantized_decomposed::mixed_mm.out;quantized_decomposed::quantize_per_channel.out;quantized_decomposed::quantize_per_tensor.out;quantized_decomposed::quantize_per_tensor.Tensor_out;quantized_decomposed::quantize_per_token.out"
          Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_pybind_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/quantized/quantized.yaml"
          CMake Error in CMakeLists.txt:
          Imported target "pybind11::module" includes non-existent path
          "/usr/include/python3.11"
          in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
          * The path was deleted, renamed, or moved to another location.
          * An install or uninstall procedure did not complete successfully.
          * The installation package was faulty and references files it does not
          provide.
          CMake Generate step failed. Build files cannot be regenerated correctly.
          error: subprocess-exited-with-error
          × Building wheel for executorch (pyproject.toml) did not run successfully.
          │ exit code: 1
          ╰─> See above for output.
          note: This error originates from a subprocess, and is likely not a problem with pip.
          full command: /home/warden/source/executorch/.venv/bin/python3 /home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpff_djhi6
          cwd: /home/warden/source/executorch
          Building wheel for executorch (pyproject.toml) ... error
          ERROR: Failed building wheel for executorch
          Failed to build executorch
          ERROR: Could not build wheels for executorch, which is required to install pyproject.toml-based projects
          [notice] A new release of pip is available: 24.0 -> 25.0.1
          [notice] To update, run: pip install --upgrade pip
          Traceback (most recent call last):
          File "/home/warden/source/executorch/./install_executorch.py", line 245, in <module>
          main(sys.argv[1:])
          File "/home/warden/source/executorch/./install_executorch.py", line 223, in main
          subprocess.run(
          File "/usr/lib/python3.11/subprocess.py", line 571, in run
          raise CalledProcessError(retcode, process.args,
          subprocess.CalledProcessError: Command '['/home/warden/source/executorch/.venv/bin/python3', '-m', 'pip', 'install', '.', '--no-build-isolation', '-v', '--extra-index-url', 'https://download.pytorch.org/whl/nightly/cpu']' returned non-zero exit status 1.
          

          Versions

          Operating System Information
          Linux Vikander 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

          PRETTY_NAME="Ubuntu 24.04.1 LTS"
          NAME="Ubuntu"
          VERSION_ID="24.04"
          VERSION="24.04.1 LTS (Noble Numbat)"
          VERSION_CODENAME=noble
          ID=ubuntu
          ID_LIKE=debian
          HOME_URL="https://www.ubuntu.com/"
          SUPPORT_URL="https://help.ubuntu.com/"
          BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
          PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
          UBUNTU_CODENAME=noble
          LOGO=ubuntu-logo

          Python Version
          Python 3.11.11

          PIP Version
          pip 24.0 from /home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip (python 3.11)

          Installed Packages
          certifi==2025.1.31
          charset-normalizer==3.4.1
          cmake==3.31.4
          filelock==3.17.0
          fsspec==2025.2.0
          huggingface-hub==0.28.1
          idna==3.10
          Jinja2==3.1.5
          MarkupSafe==3.0.2
          mpmath==1.3.0
          networkx==3.4.2
          numpy==2.2.3
          packaging==24.2
          pillow==11.1.0
          PyYAML==6.0.2
          regex==2024.11.6
          requests==2.32.3
          safetensors==0.5.2
          sympy==1.13.1
          timm==1.0.7
          tokenizers==0.21.0
          tomli==2.2.1
          torch==2.7.0.dev20250131+cpu
          torchao @ file:///home/warden/source/executorch/third-party/ao
          torchaudio==2.6.0.dev20250131+cpu
          torchsr==1.0.4
          torchvision==0.22.0.dev20250131+cpu
          tqdm==4.67.1
          transformers==4.47.1
          typing_extensions==4.12.2
          urllib3==2.3.0
          zstd==1.5.6.1

          PyTorch Version
          2.7.0.dev20250131+cpu

          Collection Complete

          cc @larryliu0820@lucylq@mergennachin

          Activity

          Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

          Metadata

          Metadata

          Assignees

          No one assigned

            Labels

            module: build/installIssues related to the cmake and buck2 builds, and to installing ExecuTorchmodule: user experienceIssues related to reducing friction for userstriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

            Type

            Projects

            Milestone

            No milestone

            Relationships

            None yet

            Development

            No branches or pull requests

            Issue actions

            , 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Auto-enable theater mode on YouTube\n(function() {\n function tryTheater() {\n var btn = document.querySelector('button[aria-label=\"Theater mode\"], ytd-player #player button[title=\"Theater mode\"]');\n if (btn && !btn.classList.contains('activated')) {\n btn.click();\n }\n }\n \n // Try immediately\n tryTheater();\n \n // Try after navigation (SPA)\n var lastUrl = location.href;\n setInterval(function() {\n if (location.href !== lastUrl) {\n lastUrl = location.href;\n setTimeout(tryTheater, 500);\n }\n }, 1000);\n \n // Also try on player load\n var observer = new MutationObserver(tryTheater);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "YouTube Theater Mode Default"); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
            Skip to content

            Can't run install on Ubuntu #8489

            Description

            @byjlw

            🐛 Describe the bug

            git clone https://github.com/pytorch/executorch.git
            cd executorch
            python3.11 -m venv .venv
            source .venv/bin/activate
            git submodule sync
            git submodule update --init
            ./install_executorch.sh
            

            Output

            Using pip 24.0 from /home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip (python 3.11)
            Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/nightly/cpu
            Processing /home/warden/source/executorch
            Running command Preparing metadata (pyproject.toml)
            /home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
            warnings.warn(msg, _BetaConfiguration)
            running dist_info
            creating /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info
            writing /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/PKG-INFO
            writing dependency_links to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/dependency_links.txt
            writing entry points to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/entry_points.txt
            writing requirements to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/requires.txt
            writing top-level names to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/top_level.txt
            writing manifest file '/tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/SOURCES.txt'
            reading manifest file '/tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/SOURCES.txt'
            adding license file 'LICENSE'
            writing manifest file '/tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/SOURCES.txt'
            creating '/tmp/pip-modern-metadata-twj7o8yl/executorch-0.6.0a0+319c8d7.dist-info'
            Preparing metadata (pyproject.toml) ... done
            Collecting expecttest (from executorch==0.6.0a0+319c8d7)
            Obtaining dependency information for expecttest from https://files.pythonhosted.org/packages/27/fb/deeefea1ea549273817ca7bed3db2f39cc238a75a745a20e3651619f7335/expecttest-0.3.0-py3-none-any.whl.metadata
            Downloading expecttest-0.3.0-py3-none-any.whl.metadata (3.8 kB)
            Collecting flatbuffers (from executorch==0.6.0a0+319c8d7)
            Obtaining dependency information for flatbuffers from https://files.pythonhosted.org/packages/b8/25/155f9f080d5e4bc0082edfda032ea2bc2b8fab3f4d25d46c1e9dd22a1a89/flatbuffers-25.2.10-py2.py3-none-any.whl.metadata
            Downloading flatbuffers-25.2.10-py2.py3-none-any.whl.metadata (875 bytes)
            Collecting hypothesis (from executorch==0.6.0a0+319c8d7)
            Obtaining dependency information for hypothesis from https://files.pythonhosted.org/packages/55/97/36e2e1dec3d60c99443a9d25e8a21e9bfdf4ba91c1396587b8b74f37db13/hypothesis-6.125.3-py3-none-any.whl.metadata
            Downloading hypothesis-6.125.3-py3-none-any.whl.metadata (6.3 kB)
            Requirement already satisfied: mpmath==1.3.0 in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (1.3.0)
            Requirement already satisfied: packaging in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (24.2)
            Collecting parameterized (from executorch==0.6.0a0+319c8d7)
            Obtaining dependency information for parameterized from https://files.pythonhosted.org/packages/00/2f/804f58f0b856ab3bf21617cccf5b39206e6c4c94c2cd227bde125ea6105f/parameterized-0.9.0-py2.py3-none-any.whl.metadata
            Downloading parameterized-0.9.0-py2.py3-none-any.whl.metadata (18 kB)
            Collecting pytest (from executorch==0.6.0a0+319c8d7)
            Obtaining dependency information for pytest from https://files.pythonhosted.org/packages/11/92/76a1c94d3afee238333bc0a42b82935dd8f9cf8ce9e336ff87ee14d9e1cf/pytest-8.3.4-py3-none-any.whl.metadata
            Downloading pytest-8.3.4-py3-none-any.whl.metadata (7.5 kB)
            Collecting pytest-xdist (from executorch==0.6.0a0+319c8d7)
            Obtaining dependency information for pytest-xdist from https://files.pythonhosted.org/packages/6d/82/1d96bf03ee4c0fdc3c0cbe61470070e659ca78dc0086fb88b66c185e2449/pytest_xdist-3.6.1-py3-none-any.whl.metadata
            Downloading pytest_xdist-3.6.1-py3-none-any.whl.metadata (4.3 kB)
            Collecting pytest-rerunfailures (from executorch==0.6.0a0+319c8d7)
            Obtaining dependency information for pytest-rerunfailures from https://files.pythonhosted.org/packages/89/37/54e5ffc7c0cebee7cf30a3ac5915faa7e7abf8bdfdf3228c277f7c192489/pytest_rerunfailures-15.0-py3-none-any.whl.metadata
            Downloading pytest_rerunfailures-15.0-py3-none-any.whl.metadata (19 kB)
            Requirement already satisfied: pyyaml in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (6.0.2)
            Collecting ruamel.yaml (from executorch==0.6.0a0+319c8d7)
            Obtaining dependency information for ruamel.yaml from https://files.pythonhosted.org/packages/c2/36/dfc1ebc0081e6d39924a2cc53654497f967a084a436bb64402dfce4254d9/ruamel.yaml-0.18.10-py3-none-any.whl.metadata
            Downloading ruamel.yaml-0.18.10-py3-none-any.whl.metadata (23 kB)
            Requirement already satisfied: sympy in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (1.13.1)
            Collecting tabulate (from executorch==0.6.0a0+319c8d7)
            Obtaining dependency information for tabulate from https://files.pythonhosted.org/packages/40/44/4a5f08c96eb108af5cb50b41f76142f0afa346dfa99d5296fe7202a11854/tabulate-0.9.0-py3-none-any.whl.metadata
            Downloading tabulate-0.9.0-py3-none-any.whl.metadata (34 kB)
            Requirement already satisfied: typing-extensions in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (4.12.2)
            Requirement already satisfied: numpy>=2.0.0 in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (2.2.3)
            Collecting pandas>=2.2.2 (from executorch==0.6.0a0+319c8d7)
            Downloading https://download.pytorch.org/whl/nightly/pandas-2.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.1 MB)
            ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.1/13.1 MB 43.9 MB/s eta 0:00:00
            Collecting python-dateutil>=2.8.2 (from pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
            Obtaining dependency information for python-dateutil>=2.8.2 from https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata
            Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
            Collecting pytz>=2020.1 (from pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
            Obtaining dependency information for pytz>=2020.1 from https://files.pythonhosted.org/packages/eb/38/ac33370d784287baa1c3d538978b5e2ea064d4c1b93ffbd12826c190dd10/pytz-2025.1-py2.py3-none-any.whl.metadata
            Downloading pytz-2025.1-py2.py3-none-any.whl.metadata (22 kB)
            Collecting tzdata>=2022.7 (from pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
            Obtaining dependency information for tzdata>=2022.7 from https://files.pythonhosted.org/packages/0f/dd/84f10e23edd882c6f968c21c2434fe67bd4a528967067515feca9e611e5e/tzdata-2025.1-py2.py3-none-any.whl.metadata
            Downloading tzdata-2025.1-py2.py3-none-any.whl.metadata (1.4 kB)
            Collecting attrs>=22.2.0 (from hypothesis->executorch==0.6.0a0+319c8d7)
            Obtaining dependency information for attrs>=22.2.0 from https://files.pythonhosted.org/packages/fc/30/d4986a882011f9df997a55e6becd864812ccfcd821d64aac8570ee39f719/attrs-25.1.0-py3-none-any.whl.metadata
            Downloading attrs-25.1.0-py3-none-any.whl.metadata (10 kB)
            Collecting sortedcontainers<3.0.0,>=2.1.0 (from hypothesis->executorch==0.6.0a0+319c8d7)
            Obtaining dependency information for sortedcontainers<3.0.0,>=2.1.0 from https://files.pythonhosted.org/packages/32/46/9cb0e58b2deb7f82b84065f37f3bffeb12413f947f9388e4cac22c4621ce/sortedcontainers-2.4.0-py2.py3-none-any.whl.metadata
            Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl.metadata (10 kB)
            Collecting iniconfig (from pytest->executorch==0.6.0a0+319c8d7)
            Obtaining dependency information for iniconfig from https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl.metadata
            Downloading iniconfig-2.0.0-py3-none-any.whl.metadata (2.6 kB)
            Collecting pluggy<2,>=1.5 (from pytest->executorch==0.6.0a0+319c8d7)
            Obtaining dependency information for pluggy<2,>=1.5 from https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl.metadata
            Downloading pluggy-1.5.0-py3-none-any.whl.metadata (4.8 kB)
            Collecting execnet>=2.1 (from pytest-xdist->executorch==0.6.0a0+319c8d7)
            Obtaining dependency information for execnet>=2.1 from https://files.pythonhosted.org/packages/43/09/2aea36ff60d16dd8879bdb2f5b3ee0ba8d08cbbdcdfe870e695ce3784385/execnet-2.1.1-py3-none-any.whl.metadata
            Downloading execnet-2.1.1-py3-none-any.whl.metadata (2.9 kB)
            Collecting ruamel.yaml.clib>=0.2.7 (from ruamel.yaml->executorch==0.6.0a0+319c8d7)
            Obtaining dependency information for ruamel.yaml.clib>=0.2.7 from https://files.pythonhosted.org/packages/68/6e/264c50ce2a31473a9fdbf4fa66ca9b2b17c7455b31ef585462343818bd6c/ruamel.yaml.clib-0.2.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
            Downloading ruamel.yaml.clib-0.2.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.7 kB)
            Collecting six>=1.5 (from python-dateutil>=2.8.2->pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
            Obtaining dependency information for six>=1.5 from https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl.metadata
            Using cached six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
            Downloading expecttest-0.3.0-py3-none-any.whl (8.2 kB)
            Downloading flatbuffers-25.2.10-py2.py3-none-any.whl (30 kB)
            Downloading hypothesis-6.125.3-py3-none-any.whl (480 kB)
            ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 480.8/480.8 kB 16.5 MB/s eta 0:00:00
            Downloading parameterized-0.9.0-py2.py3-none-any.whl (20 kB)
            Downloading pytest-8.3.4-py3-none-any.whl (343 kB)
            ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 343.1/343.1 kB 15.3 MB/s eta 0:00:00
            Downloading pytest_rerunfailures-15.0-py3-none-any.whl (13 kB)
            Downloading pytest_xdist-3.6.1-py3-none-any.whl (46 kB)
            ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.1/46.1 kB 6.9 MB/s eta 0:00:00
            Downloading ruamel.yaml-0.18.10-py3-none-any.whl (117 kB)
            ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.7/117.7 kB 7.1 MB/s eta 0:00:00
            Downloading tabulate-0.9.0-py3-none-any.whl (35 kB)
            Downloading attrs-25.1.0-py3-none-any.whl (63 kB)
            ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.2/63.2 kB 8.4 MB/s eta 0:00:00
            Downloading execnet-2.1.1-py3-none-any.whl (40 kB)
            ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.6/40.6 kB 5.5 MB/s eta 0:00:00
            Downloading pluggy-1.5.0-py3-none-any.whl (20 kB)
            Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
            Downloading pytz-2025.1-py2.py3-none-any.whl (507 kB)
            ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 507.9/507.9 kB 4.6 MB/s eta 0:00:00
            Downloading ruamel.yaml.clib-0.2.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (739 kB)
            ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 739.1/739.1 kB 5.8 MB/s eta 0:00:00
            Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
            Downloading tzdata-2025.1-py2.py3-none-any.whl (346 kB)
            ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 346.8/346.8 kB 9.8 MB/s eta 0:00:00
            Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
            Using cached six-1.17.0-py2.py3-none-any.whl (11 kB)
            Building wheels for collected packages: executorch
            Running command Building wheel for executorch (pyproject.toml)
            /home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
            warnings.warn(msg, _BetaConfiguration)
            running bdist_wheel
            running build
            command options for 'CustomBuild':
            build_base = pip-out
            build_purelib = pip-out/lib
            build_platlib = pip-out/lib.linux-x86_64-cpython-311
            build_lib = pip-out/lib.linux-x86_64-cpython-311
            build_scripts = pip-out/scripts-3.11
            build_temp = pip-out/temp.linux-x86_64-cpython-311
            plat_name = linux-x86_64
            compiler = None
            parallel = 31
            debug = None
            force = None
            executable = /home/warden/source/executorch/.venv/bin/python3
            creating /home/warden/source/executorch/pip-out
            creating /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311
            creating /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out
            deleting /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/CMakeCache.txt
            Traceback (most recent call last):
            File "<string>", line 640, in run
            File "/usr/lib/python3.11/subprocess.py", line 571, in run
            raise CalledProcessError(retcode, process.args,
            subprocess.CalledProcessError: Command '['cmake', '-S', '/home/warden/source/executorch', '-B', '/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out', '-DBUCK2=', '-DPYTHON_EXECUTABLE=/home/warden/source/executorch/.venv/bin/python3', '-DCMAKE_PREFIX_PATH=/home/warden/source/executorch/.venv/lib/python3.11/site-packages', '-DCMAKE_BUILD_TYPE=Release', '-DEXECUTORCH_ENABLE_LOGGING=ON', '-DEXECUTORCH_LOG_LEVEL=Info', '-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15', '-DEXECUTORCH_SEPARATE_FLATCC_HOST_PROJECT=OFF', '-DEXECUTORCH_BUILD_PYBIND=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED_AOT=ON', '-DEXECUTORCH_BUILD_KERNELS_CUSTOM=ON', '-DEXECUTORCH_BUILD_KERNELS_CUSTOM_AOT=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED_AOT=ON', '-DEXECUTORCH_BUILD_XNNPACK=ON']' returned non-zero exit status 1.
            The above exception was the direct cause of the following exception:
            Traceback (most recent call last):
            File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
            main()
            File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
            json_out['return_val'] = hook(**hook_input['kwargs'])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
            return _build_backend().build_wheel(wheel_directory, config_settings,
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/build_meta.py", line 412, in build_wheel
            return self._build_with_temp_dir(['bdist_wheel'], '.whl',
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/build_meta.py", line 397, in _build_with_temp_dir
            self.run_setup()
            File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/build_meta.py", line 335, in run_setup
            exec(code, locals())
            File "<string>", line 742, in <module>
            File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/__init__.py", line 87, in setup
            return distutils.core.setup(**attrs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
            return run_commands(dist)
            ^^^^^^^^^^^^^^^^^^
            File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
            dist.run_commands()
            File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
            self.run_command(cmd)
            File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
            super().run_command(command)
            File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
            cmd_obj.run()
            File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/wheel/_bdist_wheel.py", line 387, in run
            self.run_command("build")
            File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
            self.distribution.run_command(command)
            File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
            super().run_command(command)
            File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
            cmd_obj.run()
            File "<string>", line 660, in run
            Exception: CMake Deprecation Warning at backends/xnnpack/third-party/FXdiv/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
            Compatibility with CMake < 3.10 will be removed from a future version of
            CMake.
            Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
            to tell CMake that the project requires at least <min> but has been updated
            to work with policies introduced by <max> or earlier.
            CMake Deprecation Warning at backends/xnnpack/third-party/cpuinfo/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
            Compatibility with CMake < 3.10 will be removed from a future version of
            CMake.
            Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
            to tell CMake that the project requires at least <min> but has been updated
            to work with policies introduced by <max> or earlier.
            CMake Deprecation Warning at backends/xnnpack/third-party/pthreadpool/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
            Compatibility with CMake < 3.10 will be removed from a future version of
            CMake.
            Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
            to tell CMake that the project requires at least <min> but has been updated
            to work with policies introduced by <max> or earlier.
            Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/portable/functions.yaml"
            Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/NativeFunctions.h
            CMake Warning at .venv/lib/python3.11/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:22 (message):
            static library kineto_LIBRARY-NOTFOUND not found.
            Call Stack (most recent call first):
            .venv/lib/python3.11/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:125 (append_torchlib_if_found)
            build/Utils.cmake:340 (find_package)
            CMakeLists.txt:619 (find_package_torch_headers)
            Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/optimized/optimized-oss.yaml"
            Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/NativeFunctions.h
            Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/merged.yaml"
            Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/NativeFunctions.h
            CMake Deprecation Warning at third-party/gflags/CMakeLists.txt:73 (cmake_minimum_required):
            Compatibility with CMake < 3.10 will be removed from a future version of
            CMake.
            Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
            to tell CMake that the project requires at least <min> but has been updated
            to work with policies introduced by <max> or earlier.
            CMake Deprecation Warning at third-party/pybind11/CMakeLists.txt:13 (cmake_minimum_required):
            Compatibility with CMake < 3.10 will be removed from a future version of
            CMake.
            Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
            to tell CMake that the project requires at least <min> but has been updated
            to work with policies introduced by <max> or earlier.
            CMake Deprecation Warning at third-party/flatcc/CMakeLists.txt:2 (cmake_minimum_required):
            Compatibility with CMake < 3.10 will be removed from a future version of
            CMake.
            Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
            to tell CMake that the project requires at least <min> but has been updated
            to work with policies introduced by <max> or earlier.
            Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/quantized/quantized.yaml"
            Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/NativeFunctions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/RegisterCPUCustomOps.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/RegisterSchema.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/CustomOpsNativeFunctions.h
            Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_aot_lib/selected_operators.yaml;--root_ops="quantized_decomposed::add.out;quantized_decomposed::choose_qparams.Tensor_out;quantized_decomposed::choose_qparams_per_token_asymmetric.out;quantized_decomposed::dequantize_per_channel.out;quantized_decomposed::dequantize_per_tensor.out;quantized_decomposed::dequantize_per_tensor.Tensor_out;quantized_decomposed::dequantize_per_token.out;quantized_decomposed::mixed_linear.out;quantized_decomposed::mixed_mm.out;quantized_decomposed::quantize_per_channel.out;quantized_decomposed::quantize_per_tensor.out;quantized_decomposed::quantize_per_tensor.Tensor_out;quantized_decomposed::quantize_per_token.out"
            Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_pybind_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/quantized/quantized.yaml"
            CMake Error in CMakeLists.txt:
            Imported target "pybind11::module" includes non-existent path
            "/usr/include/python3.11"
            in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
            * The path was deleted, renamed, or moved to another location.
            * An install or uninstall procedure did not complete successfully.
            * The installation package was faulty and references files it does not
            provide.
            CMake Generate step failed. Build files cannot be regenerated correctly.
            error: subprocess-exited-with-error
            × Building wheel for executorch (pyproject.toml) did not run successfully.
            │ exit code: 1
            ╰─> See above for output.
            note: This error originates from a subprocess, and is likely not a problem with pip.
            full command: /home/warden/source/executorch/.venv/bin/python3 /home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpff_djhi6
            cwd: /home/warden/source/executorch
            Building wheel for executorch (pyproject.toml) ... error
            ERROR: Failed building wheel for executorch
            Failed to build executorch
            ERROR: Could not build wheels for executorch, which is required to install pyproject.toml-based projects
            [notice] A new release of pip is available: 24.0 -> 25.0.1
            [notice] To update, run: pip install --upgrade pip
            Traceback (most recent call last):
            File "/home/warden/source/executorch/./install_executorch.py", line 245, in <module>
            main(sys.argv[1:])
            File "/home/warden/source/executorch/./install_executorch.py", line 223, in main
            subprocess.run(
            File "/usr/lib/python3.11/subprocess.py", line 571, in run
            raise CalledProcessError(retcode, process.args,
            subprocess.CalledProcessError: Command '['/home/warden/source/executorch/.venv/bin/python3', '-m', 'pip', 'install', '.', '--no-build-isolation', '-v', '--extra-index-url', 'https://download.pytorch.org/whl/nightly/cpu']' returned non-zero exit status 1.
            

            Versions

            Operating System Information
            Linux Vikander 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

            PRETTY_NAME="Ubuntu 24.04.1 LTS"
            NAME="Ubuntu"
            VERSION_ID="24.04"
            VERSION="24.04.1 LTS (Noble Numbat)"
            VERSION_CODENAME=noble
            ID=ubuntu
            ID_LIKE=debian
            HOME_URL="https://www.ubuntu.com/"
            SUPPORT_URL="https://help.ubuntu.com/"
            BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
            PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
            UBUNTU_CODENAME=noble
            LOGO=ubuntu-logo

            Python Version
            Python 3.11.11

            PIP Version
            pip 24.0 from /home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip (python 3.11)

            Installed Packages
            certifi==2025.1.31
            charset-normalizer==3.4.1
            cmake==3.31.4
            filelock==3.17.0
            fsspec==2025.2.0
            huggingface-hub==0.28.1
            idna==3.10
            Jinja2==3.1.5
            MarkupSafe==3.0.2
            mpmath==1.3.0
            networkx==3.4.2
            numpy==2.2.3
            packaging==24.2
            pillow==11.1.0
            PyYAML==6.0.2
            regex==2024.11.6
            requests==2.32.3
            safetensors==0.5.2
            sympy==1.13.1
            timm==1.0.7
            tokenizers==0.21.0
            tomli==2.2.1
            torch==2.7.0.dev20250131+cpu
            torchao @ file:///home/warden/source/executorch/third-party/ao
            torchaudio==2.6.0.dev20250131+cpu
            torchsr==1.0.4
            torchvision==0.22.0.dev20250131+cpu
            tqdm==4.67.1
            transformers==4.47.1
            typing_extensions==4.12.2
            urllib3==2.3.0
            zstd==1.5.6.1

            PyTorch Version
            2.7.0.dev20250131+cpu

            Collection Complete

            cc @larryliu0820@lucylq@mergennachin

            Activity

            Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

            Metadata

            Metadata

            Assignees

            No one assigned

              Labels

              module: build/installIssues related to the cmake and buck2 builds, and to installing ExecuTorchmodule: user experienceIssues related to reducing friction for userstriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

              Type

              Projects

              Milestone

              No milestone

              Relationships

              None yet

              Development

              No branches or pull requests

              Issue actions

              , 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Remove or un-stick sticky/fixed headers that block content\n(function() {\n function unstick() {\n document.querySelectorAll('header, nav, [role=\"banner\"], .header, .navbar, .sticky, .fixed-top, [style*=\"position: fixed\"], [style*=\"position:sticky\"]').forEach(function(el) {\n if (el.style.position === 'fixed' || el.style.position === 'sticky' || \n getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {\n el.style.position = 'static';\n el.style.top = 'auto';\n el.style.zIndex = 'auto';\n }\n });\n }\n \n unstick();\n \n var observer = new MutationObserver(unstick);\n observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });\n})();", "Kill Sticky Headers"); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
              Skip to content

              Can't run install on Ubuntu #8489

              Description

              @byjlw

              🐛 Describe the bug

              git clone https://github.com/pytorch/executorch.git
              cd executorch
              python3.11 -m venv .venv
              source .venv/bin/activate
              git submodule sync
              git submodule update --init
              ./install_executorch.sh
              

              Output

              Using pip 24.0 from /home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip (python 3.11)
              Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/nightly/cpu
              Processing /home/warden/source/executorch
              Running command Preparing metadata (pyproject.toml)
              /home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
              warnings.warn(msg, _BetaConfiguration)
              running dist_info
              creating /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info
              writing /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/PKG-INFO
              writing dependency_links to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/dependency_links.txt
              writing entry points to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/entry_points.txt
              writing requirements to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/requires.txt
              writing top-level names to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/top_level.txt
              writing manifest file '/tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/SOURCES.txt'
              reading manifest file '/tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/SOURCES.txt'
              adding license file 'LICENSE'
              writing manifest file '/tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/SOURCES.txt'
              creating '/tmp/pip-modern-metadata-twj7o8yl/executorch-0.6.0a0+319c8d7.dist-info'
              Preparing metadata (pyproject.toml) ... done
              Collecting expecttest (from executorch==0.6.0a0+319c8d7)
              Obtaining dependency information for expecttest from https://files.pythonhosted.org/packages/27/fb/deeefea1ea549273817ca7bed3db2f39cc238a75a745a20e3651619f7335/expecttest-0.3.0-py3-none-any.whl.metadata
              Downloading expecttest-0.3.0-py3-none-any.whl.metadata (3.8 kB)
              Collecting flatbuffers (from executorch==0.6.0a0+319c8d7)
              Obtaining dependency information for flatbuffers from https://files.pythonhosted.org/packages/b8/25/155f9f080d5e4bc0082edfda032ea2bc2b8fab3f4d25d46c1e9dd22a1a89/flatbuffers-25.2.10-py2.py3-none-any.whl.metadata
              Downloading flatbuffers-25.2.10-py2.py3-none-any.whl.metadata (875 bytes)
              Collecting hypothesis (from executorch==0.6.0a0+319c8d7)
              Obtaining dependency information for hypothesis from https://files.pythonhosted.org/packages/55/97/36e2e1dec3d60c99443a9d25e8a21e9bfdf4ba91c1396587b8b74f37db13/hypothesis-6.125.3-py3-none-any.whl.metadata
              Downloading hypothesis-6.125.3-py3-none-any.whl.metadata (6.3 kB)
              Requirement already satisfied: mpmath==1.3.0 in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (1.3.0)
              Requirement already satisfied: packaging in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (24.2)
              Collecting parameterized (from executorch==0.6.0a0+319c8d7)
              Obtaining dependency information for parameterized from https://files.pythonhosted.org/packages/00/2f/804f58f0b856ab3bf21617cccf5b39206e6c4c94c2cd227bde125ea6105f/parameterized-0.9.0-py2.py3-none-any.whl.metadata
              Downloading parameterized-0.9.0-py2.py3-none-any.whl.metadata (18 kB)
              Collecting pytest (from executorch==0.6.0a0+319c8d7)
              Obtaining dependency information for pytest from https://files.pythonhosted.org/packages/11/92/76a1c94d3afee238333bc0a42b82935dd8f9cf8ce9e336ff87ee14d9e1cf/pytest-8.3.4-py3-none-any.whl.metadata
              Downloading pytest-8.3.4-py3-none-any.whl.metadata (7.5 kB)
              Collecting pytest-xdist (from executorch==0.6.0a0+319c8d7)
              Obtaining dependency information for pytest-xdist from https://files.pythonhosted.org/packages/6d/82/1d96bf03ee4c0fdc3c0cbe61470070e659ca78dc0086fb88b66c185e2449/pytest_xdist-3.6.1-py3-none-any.whl.metadata
              Downloading pytest_xdist-3.6.1-py3-none-any.whl.metadata (4.3 kB)
              Collecting pytest-rerunfailures (from executorch==0.6.0a0+319c8d7)
              Obtaining dependency information for pytest-rerunfailures from https://files.pythonhosted.org/packages/89/37/54e5ffc7c0cebee7cf30a3ac5915faa7e7abf8bdfdf3228c277f7c192489/pytest_rerunfailures-15.0-py3-none-any.whl.metadata
              Downloading pytest_rerunfailures-15.0-py3-none-any.whl.metadata (19 kB)
              Requirement already satisfied: pyyaml in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (6.0.2)
              Collecting ruamel.yaml (from executorch==0.6.0a0+319c8d7)
              Obtaining dependency information for ruamel.yaml from https://files.pythonhosted.org/packages/c2/36/dfc1ebc0081e6d39924a2cc53654497f967a084a436bb64402dfce4254d9/ruamel.yaml-0.18.10-py3-none-any.whl.metadata
              Downloading ruamel.yaml-0.18.10-py3-none-any.whl.metadata (23 kB)
              Requirement already satisfied: sympy in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (1.13.1)
              Collecting tabulate (from executorch==0.6.0a0+319c8d7)
              Obtaining dependency information for tabulate from https://files.pythonhosted.org/packages/40/44/4a5f08c96eb108af5cb50b41f76142f0afa346dfa99d5296fe7202a11854/tabulate-0.9.0-py3-none-any.whl.metadata
              Downloading tabulate-0.9.0-py3-none-any.whl.metadata (34 kB)
              Requirement already satisfied: typing-extensions in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (4.12.2)
              Requirement already satisfied: numpy>=2.0.0 in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (2.2.3)
              Collecting pandas>=2.2.2 (from executorch==0.6.0a0+319c8d7)
              Downloading https://download.pytorch.org/whl/nightly/pandas-2.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.1 MB)
              ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.1/13.1 MB 43.9 MB/s eta 0:00:00
              Collecting python-dateutil>=2.8.2 (from pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
              Obtaining dependency information for python-dateutil>=2.8.2 from https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata
              Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
              Collecting pytz>=2020.1 (from pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
              Obtaining dependency information for pytz>=2020.1 from https://files.pythonhosted.org/packages/eb/38/ac33370d784287baa1c3d538978b5e2ea064d4c1b93ffbd12826c190dd10/pytz-2025.1-py2.py3-none-any.whl.metadata
              Downloading pytz-2025.1-py2.py3-none-any.whl.metadata (22 kB)
              Collecting tzdata>=2022.7 (from pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
              Obtaining dependency information for tzdata>=2022.7 from https://files.pythonhosted.org/packages/0f/dd/84f10e23edd882c6f968c21c2434fe67bd4a528967067515feca9e611e5e/tzdata-2025.1-py2.py3-none-any.whl.metadata
              Downloading tzdata-2025.1-py2.py3-none-any.whl.metadata (1.4 kB)
              Collecting attrs>=22.2.0 (from hypothesis->executorch==0.6.0a0+319c8d7)
              Obtaining dependency information for attrs>=22.2.0 from https://files.pythonhosted.org/packages/fc/30/d4986a882011f9df997a55e6becd864812ccfcd821d64aac8570ee39f719/attrs-25.1.0-py3-none-any.whl.metadata
              Downloading attrs-25.1.0-py3-none-any.whl.metadata (10 kB)
              Collecting sortedcontainers<3.0.0,>=2.1.0 (from hypothesis->executorch==0.6.0a0+319c8d7)
              Obtaining dependency information for sortedcontainers<3.0.0,>=2.1.0 from https://files.pythonhosted.org/packages/32/46/9cb0e58b2deb7f82b84065f37f3bffeb12413f947f9388e4cac22c4621ce/sortedcontainers-2.4.0-py2.py3-none-any.whl.metadata
              Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl.metadata (10 kB)
              Collecting iniconfig (from pytest->executorch==0.6.0a0+319c8d7)
              Obtaining dependency information for iniconfig from https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl.metadata
              Downloading iniconfig-2.0.0-py3-none-any.whl.metadata (2.6 kB)
              Collecting pluggy<2,>=1.5 (from pytest->executorch==0.6.0a0+319c8d7)
              Obtaining dependency information for pluggy<2,>=1.5 from https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl.metadata
              Downloading pluggy-1.5.0-py3-none-any.whl.metadata (4.8 kB)
              Collecting execnet>=2.1 (from pytest-xdist->executorch==0.6.0a0+319c8d7)
              Obtaining dependency information for execnet>=2.1 from https://files.pythonhosted.org/packages/43/09/2aea36ff60d16dd8879bdb2f5b3ee0ba8d08cbbdcdfe870e695ce3784385/execnet-2.1.1-py3-none-any.whl.metadata
              Downloading execnet-2.1.1-py3-none-any.whl.metadata (2.9 kB)
              Collecting ruamel.yaml.clib>=0.2.7 (from ruamel.yaml->executorch==0.6.0a0+319c8d7)
              Obtaining dependency information for ruamel.yaml.clib>=0.2.7 from https://files.pythonhosted.org/packages/68/6e/264c50ce2a31473a9fdbf4fa66ca9b2b17c7455b31ef585462343818bd6c/ruamel.yaml.clib-0.2.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
              Downloading ruamel.yaml.clib-0.2.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.7 kB)
              Collecting six>=1.5 (from python-dateutil>=2.8.2->pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
              Obtaining dependency information for six>=1.5 from https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl.metadata
              Using cached six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
              Downloading expecttest-0.3.0-py3-none-any.whl (8.2 kB)
              Downloading flatbuffers-25.2.10-py2.py3-none-any.whl (30 kB)
              Downloading hypothesis-6.125.3-py3-none-any.whl (480 kB)
              ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 480.8/480.8 kB 16.5 MB/s eta 0:00:00
              Downloading parameterized-0.9.0-py2.py3-none-any.whl (20 kB)
              Downloading pytest-8.3.4-py3-none-any.whl (343 kB)
              ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 343.1/343.1 kB 15.3 MB/s eta 0:00:00
              Downloading pytest_rerunfailures-15.0-py3-none-any.whl (13 kB)
              Downloading pytest_xdist-3.6.1-py3-none-any.whl (46 kB)
              ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.1/46.1 kB 6.9 MB/s eta 0:00:00
              Downloading ruamel.yaml-0.18.10-py3-none-any.whl (117 kB)
              ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.7/117.7 kB 7.1 MB/s eta 0:00:00
              Downloading tabulate-0.9.0-py3-none-any.whl (35 kB)
              Downloading attrs-25.1.0-py3-none-any.whl (63 kB)
              ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.2/63.2 kB 8.4 MB/s eta 0:00:00
              Downloading execnet-2.1.1-py3-none-any.whl (40 kB)
              ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.6/40.6 kB 5.5 MB/s eta 0:00:00
              Downloading pluggy-1.5.0-py3-none-any.whl (20 kB)
              Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
              Downloading pytz-2025.1-py2.py3-none-any.whl (507 kB)
              ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 507.9/507.9 kB 4.6 MB/s eta 0:00:00
              Downloading ruamel.yaml.clib-0.2.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (739 kB)
              ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 739.1/739.1 kB 5.8 MB/s eta 0:00:00
              Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
              Downloading tzdata-2025.1-py2.py3-none-any.whl (346 kB)
              ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 346.8/346.8 kB 9.8 MB/s eta 0:00:00
              Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
              Using cached six-1.17.0-py2.py3-none-any.whl (11 kB)
              Building wheels for collected packages: executorch
              Running command Building wheel for executorch (pyproject.toml)
              /home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
              warnings.warn(msg, _BetaConfiguration)
              running bdist_wheel
              running build
              command options for 'CustomBuild':
              build_base = pip-out
              build_purelib = pip-out/lib
              build_platlib = pip-out/lib.linux-x86_64-cpython-311
              build_lib = pip-out/lib.linux-x86_64-cpython-311
              build_scripts = pip-out/scripts-3.11
              build_temp = pip-out/temp.linux-x86_64-cpython-311
              plat_name = linux-x86_64
              compiler = None
              parallel = 31
              debug = None
              force = None
              executable = /home/warden/source/executorch/.venv/bin/python3
              creating /home/warden/source/executorch/pip-out
              creating /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311
              creating /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out
              deleting /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/CMakeCache.txt
              Traceback (most recent call last):
              File "<string>", line 640, in run
              File "/usr/lib/python3.11/subprocess.py", line 571, in run
              raise CalledProcessError(retcode, process.args,
              subprocess.CalledProcessError: Command '['cmake', '-S', '/home/warden/source/executorch', '-B', '/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out', '-DBUCK2=', '-DPYTHON_EXECUTABLE=/home/warden/source/executorch/.venv/bin/python3', '-DCMAKE_PREFIX_PATH=/home/warden/source/executorch/.venv/lib/python3.11/site-packages', '-DCMAKE_BUILD_TYPE=Release', '-DEXECUTORCH_ENABLE_LOGGING=ON', '-DEXECUTORCH_LOG_LEVEL=Info', '-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15', '-DEXECUTORCH_SEPARATE_FLATCC_HOST_PROJECT=OFF', '-DEXECUTORCH_BUILD_PYBIND=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED_AOT=ON', '-DEXECUTORCH_BUILD_KERNELS_CUSTOM=ON', '-DEXECUTORCH_BUILD_KERNELS_CUSTOM_AOT=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED_AOT=ON', '-DEXECUTORCH_BUILD_XNNPACK=ON']' returned non-zero exit status 1.
              The above exception was the direct cause of the following exception:
              Traceback (most recent call last):
              File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
              main()
              File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
              json_out['return_val'] = hook(**hook_input['kwargs'])
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
              return _build_backend().build_wheel(wheel_directory, config_settings,
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/build_meta.py", line 412, in build_wheel
              return self._build_with_temp_dir(['bdist_wheel'], '.whl',
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/build_meta.py", line 397, in _build_with_temp_dir
              self.run_setup()
              File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/build_meta.py", line 335, in run_setup
              exec(code, locals())
              File "<string>", line 742, in <module>
              File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/__init__.py", line 87, in setup
              return distutils.core.setup(**attrs)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
              return run_commands(dist)
              ^^^^^^^^^^^^^^^^^^
              File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
              dist.run_commands()
              File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
              self.run_command(cmd)
              File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
              super().run_command(command)
              File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
              cmd_obj.run()
              File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/wheel/_bdist_wheel.py", line 387, in run
              self.run_command("build")
              File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
              self.distribution.run_command(command)
              File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
              super().run_command(command)
              File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
              cmd_obj.run()
              File "<string>", line 660, in run
              Exception: CMake Deprecation Warning at backends/xnnpack/third-party/FXdiv/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
              Compatibility with CMake < 3.10 will be removed from a future version of
              CMake.
              Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
              to tell CMake that the project requires at least <min> but has been updated
              to work with policies introduced by <max> or earlier.
              CMake Deprecation Warning at backends/xnnpack/third-party/cpuinfo/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
              Compatibility with CMake < 3.10 will be removed from a future version of
              CMake.
              Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
              to tell CMake that the project requires at least <min> but has been updated
              to work with policies introduced by <max> or earlier.
              CMake Deprecation Warning at backends/xnnpack/third-party/pthreadpool/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
              Compatibility with CMake < 3.10 will be removed from a future version of
              CMake.
              Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
              to tell CMake that the project requires at least <min> but has been updated
              to work with policies introduced by <max> or earlier.
              Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/portable/functions.yaml"
              Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/NativeFunctions.h
              CMake Warning at .venv/lib/python3.11/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:22 (message):
              static library kineto_LIBRARY-NOTFOUND not found.
              Call Stack (most recent call first):
              .venv/lib/python3.11/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:125 (append_torchlib_if_found)
              build/Utils.cmake:340 (find_package)
              CMakeLists.txt:619 (find_package_torch_headers)
              Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/optimized/optimized-oss.yaml"
              Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/NativeFunctions.h
              Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/merged.yaml"
              Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/NativeFunctions.h
              CMake Deprecation Warning at third-party/gflags/CMakeLists.txt:73 (cmake_minimum_required):
              Compatibility with CMake < 3.10 will be removed from a future version of
              CMake.
              Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
              to tell CMake that the project requires at least <min> but has been updated
              to work with policies introduced by <max> or earlier.
              CMake Deprecation Warning at third-party/pybind11/CMakeLists.txt:13 (cmake_minimum_required):
              Compatibility with CMake < 3.10 will be removed from a future version of
              CMake.
              Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
              to tell CMake that the project requires at least <min> but has been updated
              to work with policies introduced by <max> or earlier.
              CMake Deprecation Warning at third-party/flatcc/CMakeLists.txt:2 (cmake_minimum_required):
              Compatibility with CMake < 3.10 will be removed from a future version of
              CMake.
              Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
              to tell CMake that the project requires at least <min> but has been updated
              to work with policies introduced by <max> or earlier.
              Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/quantized/quantized.yaml"
              Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/NativeFunctions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/RegisterCPUCustomOps.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/RegisterSchema.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/CustomOpsNativeFunctions.h
              Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_aot_lib/selected_operators.yaml;--root_ops="quantized_decomposed::add.out;quantized_decomposed::choose_qparams.Tensor_out;quantized_decomposed::choose_qparams_per_token_asymmetric.out;quantized_decomposed::dequantize_per_channel.out;quantized_decomposed::dequantize_per_tensor.out;quantized_decomposed::dequantize_per_tensor.Tensor_out;quantized_decomposed::dequantize_per_token.out;quantized_decomposed::mixed_linear.out;quantized_decomposed::mixed_mm.out;quantized_decomposed::quantize_per_channel.out;quantized_decomposed::quantize_per_tensor.out;quantized_decomposed::quantize_per_tensor.Tensor_out;quantized_decomposed::quantize_per_token.out"
              Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_pybind_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/quantized/quantized.yaml"
              CMake Error in CMakeLists.txt:
              Imported target "pybind11::module" includes non-existent path
              "/usr/include/python3.11"
              in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
              * The path was deleted, renamed, or moved to another location.
              * An install or uninstall procedure did not complete successfully.
              * The installation package was faulty and references files it does not
              provide.
              CMake Generate step failed. Build files cannot be regenerated correctly.
              error: subprocess-exited-with-error
              × Building wheel for executorch (pyproject.toml) did not run successfully.
              │ exit code: 1
              ╰─> See above for output.
              note: This error originates from a subprocess, and is likely not a problem with pip.
              full command: /home/warden/source/executorch/.venv/bin/python3 /home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpff_djhi6
              cwd: /home/warden/source/executorch
              Building wheel for executorch (pyproject.toml) ... error
              ERROR: Failed building wheel for executorch
              Failed to build executorch
              ERROR: Could not build wheels for executorch, which is required to install pyproject.toml-based projects
              [notice] A new release of pip is available: 24.0 -> 25.0.1
              [notice] To update, run: pip install --upgrade pip
              Traceback (most recent call last):
              File "/home/warden/source/executorch/./install_executorch.py", line 245, in <module>
              main(sys.argv[1:])
              File "/home/warden/source/executorch/./install_executorch.py", line 223, in main
              subprocess.run(
              File "/usr/lib/python3.11/subprocess.py", line 571, in run
              raise CalledProcessError(retcode, process.args,
              subprocess.CalledProcessError: Command '['/home/warden/source/executorch/.venv/bin/python3', '-m', 'pip', 'install', '.', '--no-build-isolation', '-v', '--extra-index-url', 'https://download.pytorch.org/whl/nightly/cpu']' returned non-zero exit status 1.
              

              Versions

              Operating System Information
              Linux Vikander 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

              PRETTY_NAME="Ubuntu 24.04.1 LTS"
              NAME="Ubuntu"
              VERSION_ID="24.04"
              VERSION="24.04.1 LTS (Noble Numbat)"
              VERSION_CODENAME=noble
              ID=ubuntu
              ID_LIKE=debian
              HOME_URL="https://www.ubuntu.com/"
              SUPPORT_URL="https://help.ubuntu.com/"
              BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
              PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
              UBUNTU_CODENAME=noble
              LOGO=ubuntu-logo

              Python Version
              Python 3.11.11

              PIP Version
              pip 24.0 from /home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip (python 3.11)

              Installed Packages
              certifi==2025.1.31
              charset-normalizer==3.4.1
              cmake==3.31.4
              filelock==3.17.0
              fsspec==2025.2.0
              huggingface-hub==0.28.1
              idna==3.10
              Jinja2==3.1.5
              MarkupSafe==3.0.2
              mpmath==1.3.0
              networkx==3.4.2
              numpy==2.2.3
              packaging==24.2
              pillow==11.1.0
              PyYAML==6.0.2
              regex==2024.11.6
              requests==2.32.3
              safetensors==0.5.2
              sympy==1.13.1
              timm==1.0.7
              tokenizers==0.21.0
              tomli==2.2.1
              torch==2.7.0.dev20250131+cpu
              torchao @ file:///home/warden/source/executorch/third-party/ao
              torchaudio==2.6.0.dev20250131+cpu
              torchsr==1.0.4
              torchvision==0.22.0.dev20250131+cpu
              tqdm==4.67.1
              transformers==4.47.1
              typing_extensions==4.12.2
              urllib3==2.3.0
              zstd==1.5.6.1

              PyTorch Version
              2.7.0.dev20250131+cpu

              Collection Complete

              cc @larryliu0820@lucylq@mergennachin

              Activity

              Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

              Metadata

              Metadata

              Assignees

              No one assigned

                Labels

                module: build/installIssues related to the cmake and buck2 builds, and to installing ExecuTorchmodule: user experienceIssues related to reducing friction for userstriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

                Type

                Projects

                Milestone

                No milestone

                Relationships

                None yet

                Development

                No branches or pull requests

                Issue actions

                , 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Universal Dark Mode - works on any site\n(function() {\n var enabled = true;\n \n function applyDarkMode() {\n if (!enabled) return;\n \n // Create style element if it doesn't exist\n var style = document.getElementById('universal-dark-mode-style');\n if (!style) {\n style = document.createElement('style');\n style.id = 'universal-dark-mode-style';\n document.head.appendChild(style);\n }\n \n // Dark mode CSS - inverts colors but preserves images/video\n style.textContent = '\n /* Invert everything except media */\n html {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #1a1a2e !important;\n }\n \n /* Restore images, videos, iframes, canvas */\n img, video, iframe, canvas, svg, picture, [style*=\"background-image\"] {\n filter: invert(1) hue-rotate(180deg) !important;\n }\n \n /* Preserve specific elements that should not be inverted */\n .no-dark-mode, .no-dark-mode *,\n [data-theme=\"light\"], [data-theme=\"light\"],\n .ace_editor, .ace_editor *,\n .CodeMirror, .CodeMirror *,\n .monaco-editor, .monaco-editor *,\n .markdown-body pre, .markdown-body pre *,\n .highlight, .highlight *,\n pre code, pre code * {\n filter: none !important;\n }\n \n /* Fix common UI elements */\n .modal, .popup, .dropdown-menu, .tooltip, .popover {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #2d2d44 !important;\n border-color: #444 !important;\n }\n \n /* Scrollbars */\n ::-webkit-scrollbar { background: #1a1a2e !important; }\n ::-webkit-scrollbar-thumb { background: #444 !important; }\n ::-webkit-scrollbar-thumb:hover { background: #555 !important; }\n \n /* Selection */\n ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ';\n }\n \n function removeDarkMode() {\n var style = document.getElementById('universal-dark-mode-style');\n if (style) style.remove();\n }\n \n // Toggle with Alt+Shift+D\n document.addEventListener('keydown', function(e) {\n if (e.altKey && e.shiftKey && e.key === 'D') {\n e.preventDefault();\n enabled = !enabled;\n if (enabled) {\n applyDarkMode();\n console.log('[Universal Dark Mode] Enabled');\n } else {\n removeDarkMode();\n console.log('[Universal Dark Mode] Disabled');\n }\n }\n });\n \n // Apply on load\n applyDarkMode();\n \n // Re-apply on dynamic content\n var observer = new MutationObserver(function(mutations) {\n if (enabled && !document.getElementById('universal-dark-mode-style')) {\n applyDarkMode();\n }\n });\n observer.observe(document.head, { childList: true });\n \n console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle');\n})();", "Universal Dark Mode"); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
                Skip to content

                Can't run install on Ubuntu #8489

                Description

                @byjlw

                🐛 Describe the bug

                git clone https://github.com/pytorch/executorch.git
                cd executorch
                python3.11 -m venv .venv
                source .venv/bin/activate
                git submodule sync
                git submodule update --init
                ./install_executorch.sh
                

                Output

                Using pip 24.0 from /home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip (python 3.11)
                Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/nightly/cpu
                Processing /home/warden/source/executorch
                Running command Preparing metadata (pyproject.toml)
                /home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
                warnings.warn(msg, _BetaConfiguration)
                running dist_info
                creating /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info
                writing /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/PKG-INFO
                writing dependency_links to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/dependency_links.txt
                writing entry points to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/entry_points.txt
                writing requirements to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/requires.txt
                writing top-level names to /tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/top_level.txt
                writing manifest file '/tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/SOURCES.txt'
                reading manifest file '/tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/SOURCES.txt'
                adding license file 'LICENSE'
                writing manifest file '/tmp/pip-modern-metadata-twj7o8yl/executorch.egg-info/SOURCES.txt'
                creating '/tmp/pip-modern-metadata-twj7o8yl/executorch-0.6.0a0+319c8d7.dist-info'
                Preparing metadata (pyproject.toml) ... done
                Collecting expecttest (from executorch==0.6.0a0+319c8d7)
                Obtaining dependency information for expecttest from https://files.pythonhosted.org/packages/27/fb/deeefea1ea549273817ca7bed3db2f39cc238a75a745a20e3651619f7335/expecttest-0.3.0-py3-none-any.whl.metadata
                Downloading expecttest-0.3.0-py3-none-any.whl.metadata (3.8 kB)
                Collecting flatbuffers (from executorch==0.6.0a0+319c8d7)
                Obtaining dependency information for flatbuffers from https://files.pythonhosted.org/packages/b8/25/155f9f080d5e4bc0082edfda032ea2bc2b8fab3f4d25d46c1e9dd22a1a89/flatbuffers-25.2.10-py2.py3-none-any.whl.metadata
                Downloading flatbuffers-25.2.10-py2.py3-none-any.whl.metadata (875 bytes)
                Collecting hypothesis (from executorch==0.6.0a0+319c8d7)
                Obtaining dependency information for hypothesis from https://files.pythonhosted.org/packages/55/97/36e2e1dec3d60c99443a9d25e8a21e9bfdf4ba91c1396587b8b74f37db13/hypothesis-6.125.3-py3-none-any.whl.metadata
                Downloading hypothesis-6.125.3-py3-none-any.whl.metadata (6.3 kB)
                Requirement already satisfied: mpmath==1.3.0 in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (1.3.0)
                Requirement already satisfied: packaging in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (24.2)
                Collecting parameterized (from executorch==0.6.0a0+319c8d7)
                Obtaining dependency information for parameterized from https://files.pythonhosted.org/packages/00/2f/804f58f0b856ab3bf21617cccf5b39206e6c4c94c2cd227bde125ea6105f/parameterized-0.9.0-py2.py3-none-any.whl.metadata
                Downloading parameterized-0.9.0-py2.py3-none-any.whl.metadata (18 kB)
                Collecting pytest (from executorch==0.6.0a0+319c8d7)
                Obtaining dependency information for pytest from https://files.pythonhosted.org/packages/11/92/76a1c94d3afee238333bc0a42b82935dd8f9cf8ce9e336ff87ee14d9e1cf/pytest-8.3.4-py3-none-any.whl.metadata
                Downloading pytest-8.3.4-py3-none-any.whl.metadata (7.5 kB)
                Collecting pytest-xdist (from executorch==0.6.0a0+319c8d7)
                Obtaining dependency information for pytest-xdist from https://files.pythonhosted.org/packages/6d/82/1d96bf03ee4c0fdc3c0cbe61470070e659ca78dc0086fb88b66c185e2449/pytest_xdist-3.6.1-py3-none-any.whl.metadata
                Downloading pytest_xdist-3.6.1-py3-none-any.whl.metadata (4.3 kB)
                Collecting pytest-rerunfailures (from executorch==0.6.0a0+319c8d7)
                Obtaining dependency information for pytest-rerunfailures from https://files.pythonhosted.org/packages/89/37/54e5ffc7c0cebee7cf30a3ac5915faa7e7abf8bdfdf3228c277f7c192489/pytest_rerunfailures-15.0-py3-none-any.whl.metadata
                Downloading pytest_rerunfailures-15.0-py3-none-any.whl.metadata (19 kB)
                Requirement already satisfied: pyyaml in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (6.0.2)
                Collecting ruamel.yaml (from executorch==0.6.0a0+319c8d7)
                Obtaining dependency information for ruamel.yaml from https://files.pythonhosted.org/packages/c2/36/dfc1ebc0081e6d39924a2cc53654497f967a084a436bb64402dfce4254d9/ruamel.yaml-0.18.10-py3-none-any.whl.metadata
                Downloading ruamel.yaml-0.18.10-py3-none-any.whl.metadata (23 kB)
                Requirement already satisfied: sympy in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (1.13.1)
                Collecting tabulate (from executorch==0.6.0a0+319c8d7)
                Obtaining dependency information for tabulate from https://files.pythonhosted.org/packages/40/44/4a5f08c96eb108af5cb50b41f76142f0afa346dfa99d5296fe7202a11854/tabulate-0.9.0-py3-none-any.whl.metadata
                Downloading tabulate-0.9.0-py3-none-any.whl.metadata (34 kB)
                Requirement already satisfied: typing-extensions in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (4.12.2)
                Requirement already satisfied: numpy>=2.0.0 in ./.venv/lib/python3.11/site-packages (from executorch==0.6.0a0+319c8d7) (2.2.3)
                Collecting pandas>=2.2.2 (from executorch==0.6.0a0+319c8d7)
                Downloading https://download.pytorch.org/whl/nightly/pandas-2.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.1 MB)
                ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.1/13.1 MB 43.9 MB/s eta 0:00:00
                Collecting python-dateutil>=2.8.2 (from pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
                Obtaining dependency information for python-dateutil>=2.8.2 from https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata
                Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
                Collecting pytz>=2020.1 (from pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
                Obtaining dependency information for pytz>=2020.1 from https://files.pythonhosted.org/packages/eb/38/ac33370d784287baa1c3d538978b5e2ea064d4c1b93ffbd12826c190dd10/pytz-2025.1-py2.py3-none-any.whl.metadata
                Downloading pytz-2025.1-py2.py3-none-any.whl.metadata (22 kB)
                Collecting tzdata>=2022.7 (from pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
                Obtaining dependency information for tzdata>=2022.7 from https://files.pythonhosted.org/packages/0f/dd/84f10e23edd882c6f968c21c2434fe67bd4a528967067515feca9e611e5e/tzdata-2025.1-py2.py3-none-any.whl.metadata
                Downloading tzdata-2025.1-py2.py3-none-any.whl.metadata (1.4 kB)
                Collecting attrs>=22.2.0 (from hypothesis->executorch==0.6.0a0+319c8d7)
                Obtaining dependency information for attrs>=22.2.0 from https://files.pythonhosted.org/packages/fc/30/d4986a882011f9df997a55e6becd864812ccfcd821d64aac8570ee39f719/attrs-25.1.0-py3-none-any.whl.metadata
                Downloading attrs-25.1.0-py3-none-any.whl.metadata (10 kB)
                Collecting sortedcontainers<3.0.0,>=2.1.0 (from hypothesis->executorch==0.6.0a0+319c8d7)
                Obtaining dependency information for sortedcontainers<3.0.0,>=2.1.0 from https://files.pythonhosted.org/packages/32/46/9cb0e58b2deb7f82b84065f37f3bffeb12413f947f9388e4cac22c4621ce/sortedcontainers-2.4.0-py2.py3-none-any.whl.metadata
                Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl.metadata (10 kB)
                Collecting iniconfig (from pytest->executorch==0.6.0a0+319c8d7)
                Obtaining dependency information for iniconfig from https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl.metadata
                Downloading iniconfig-2.0.0-py3-none-any.whl.metadata (2.6 kB)
                Collecting pluggy<2,>=1.5 (from pytest->executorch==0.6.0a0+319c8d7)
                Obtaining dependency information for pluggy<2,>=1.5 from https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl.metadata
                Downloading pluggy-1.5.0-py3-none-any.whl.metadata (4.8 kB)
                Collecting execnet>=2.1 (from pytest-xdist->executorch==0.6.0a0+319c8d7)
                Obtaining dependency information for execnet>=2.1 from https://files.pythonhosted.org/packages/43/09/2aea36ff60d16dd8879bdb2f5b3ee0ba8d08cbbdcdfe870e695ce3784385/execnet-2.1.1-py3-none-any.whl.metadata
                Downloading execnet-2.1.1-py3-none-any.whl.metadata (2.9 kB)
                Collecting ruamel.yaml.clib>=0.2.7 (from ruamel.yaml->executorch==0.6.0a0+319c8d7)
                Obtaining dependency information for ruamel.yaml.clib>=0.2.7 from https://files.pythonhosted.org/packages/68/6e/264c50ce2a31473a9fdbf4fa66ca9b2b17c7455b31ef585462343818bd6c/ruamel.yaml.clib-0.2.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
                Downloading ruamel.yaml.clib-0.2.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.7 kB)
                Collecting six>=1.5 (from python-dateutil>=2.8.2->pandas>=2.2.2->executorch==0.6.0a0+319c8d7)
                Obtaining dependency information for six>=1.5 from https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl.metadata
                Using cached six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
                Downloading expecttest-0.3.0-py3-none-any.whl (8.2 kB)
                Downloading flatbuffers-25.2.10-py2.py3-none-any.whl (30 kB)
                Downloading hypothesis-6.125.3-py3-none-any.whl (480 kB)
                ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 480.8/480.8 kB 16.5 MB/s eta 0:00:00
                Downloading parameterized-0.9.0-py2.py3-none-any.whl (20 kB)
                Downloading pytest-8.3.4-py3-none-any.whl (343 kB)
                ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 343.1/343.1 kB 15.3 MB/s eta 0:00:00
                Downloading pytest_rerunfailures-15.0-py3-none-any.whl (13 kB)
                Downloading pytest_xdist-3.6.1-py3-none-any.whl (46 kB)
                ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.1/46.1 kB 6.9 MB/s eta 0:00:00
                Downloading ruamel.yaml-0.18.10-py3-none-any.whl (117 kB)
                ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.7/117.7 kB 7.1 MB/s eta 0:00:00
                Downloading tabulate-0.9.0-py3-none-any.whl (35 kB)
                Downloading attrs-25.1.0-py3-none-any.whl (63 kB)
                ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.2/63.2 kB 8.4 MB/s eta 0:00:00
                Downloading execnet-2.1.1-py3-none-any.whl (40 kB)
                ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.6/40.6 kB 5.5 MB/s eta 0:00:00
                Downloading pluggy-1.5.0-py3-none-any.whl (20 kB)
                Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
                Downloading pytz-2025.1-py2.py3-none-any.whl (507 kB)
                ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 507.9/507.9 kB 4.6 MB/s eta 0:00:00
                Downloading ruamel.yaml.clib-0.2.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (739 kB)
                ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 739.1/739.1 kB 5.8 MB/s eta 0:00:00
                Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
                Downloading tzdata-2025.1-py2.py3-none-any.whl (346 kB)
                ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 346.8/346.8 kB 9.8 MB/s eta 0:00:00
                Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
                Using cached six-1.17.0-py2.py3-none-any.whl (11 kB)
                Building wheels for collected packages: executorch
                Running command Building wheel for executorch (pyproject.toml)
                /home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
                warnings.warn(msg, _BetaConfiguration)
                running bdist_wheel
                running build
                command options for 'CustomBuild':
                build_base = pip-out
                build_purelib = pip-out/lib
                build_platlib = pip-out/lib.linux-x86_64-cpython-311
                build_lib = pip-out/lib.linux-x86_64-cpython-311
                build_scripts = pip-out/scripts-3.11
                build_temp = pip-out/temp.linux-x86_64-cpython-311
                plat_name = linux-x86_64
                compiler = None
                parallel = 31
                debug = None
                force = None
                executable = /home/warden/source/executorch/.venv/bin/python3
                creating /home/warden/source/executorch/pip-out
                creating /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311
                creating /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out
                deleting /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/CMakeCache.txt
                Traceback (most recent call last):
                File "<string>", line 640, in run
                File "/usr/lib/python3.11/subprocess.py", line 571, in run
                raise CalledProcessError(retcode, process.args,
                subprocess.CalledProcessError: Command '['cmake', '-S', '/home/warden/source/executorch', '-B', '/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out', '-DBUCK2=', '-DPYTHON_EXECUTABLE=/home/warden/source/executorch/.venv/bin/python3', '-DCMAKE_PREFIX_PATH=/home/warden/source/executorch/.venv/lib/python3.11/site-packages', '-DCMAKE_BUILD_TYPE=Release', '-DEXECUTORCH_ENABLE_LOGGING=ON', '-DEXECUTORCH_LOG_LEVEL=Info', '-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15', '-DEXECUTORCH_SEPARATE_FLATCC_HOST_PROJECT=OFF', '-DEXECUTORCH_BUILD_PYBIND=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED_AOT=ON', '-DEXECUTORCH_BUILD_KERNELS_CUSTOM=ON', '-DEXECUTORCH_BUILD_KERNELS_CUSTOM_AOT=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON', '-DEXECUTORCH_BUILD_KERNELS_QUANTIZED_AOT=ON', '-DEXECUTORCH_BUILD_XNNPACK=ON']' returned non-zero exit status 1.
                The above exception was the direct cause of the following exception:
                Traceback (most recent call last):
                File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
                main()
                File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
                json_out['return_val'] = hook(**hook_input['kwargs'])
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
                return _build_backend().build_wheel(wheel_directory, config_settings,
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/build_meta.py", line 412, in build_wheel
                return self._build_with_temp_dir(['bdist_wheel'], '.whl',
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/build_meta.py", line 397, in _build_with_temp_dir
                self.run_setup()
                File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/build_meta.py", line 335, in run_setup
                exec(code, locals())
                File "<string>", line 742, in <module>
                File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/__init__.py", line 87, in setup
                return distutils.core.setup(**attrs)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
                return run_commands(dist)
                ^^^^^^^^^^^^^^^^^^
                File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
                dist.run_commands()
                File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
                self.run_command(cmd)
                File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
                super().run_command(command)
                File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
                cmd_obj.run()
                File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/wheel/_bdist_wheel.py", line 387, in run
                self.run_command("build")
                File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
                self.distribution.run_command(command)
                File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
                super().run_command(command)
                File "/home/warden/source/executorch/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
                cmd_obj.run()
                File "<string>", line 660, in run
                Exception: CMake Deprecation Warning at backends/xnnpack/third-party/FXdiv/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
                Compatibility with CMake < 3.10 will be removed from a future version of
                CMake.
                Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
                to tell CMake that the project requires at least <min> but has been updated
                to work with policies introduced by <max> or earlier.
                CMake Deprecation Warning at backends/xnnpack/third-party/cpuinfo/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
                Compatibility with CMake < 3.10 will be removed from a future version of
                CMake.
                Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
                to tell CMake that the project requires at least <min> but has been updated
                to work with policies introduced by <max> or earlier.
                CMake Deprecation Warning at backends/xnnpack/third-party/pthreadpool/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
                Compatibility with CMake < 3.10 will be removed from a future version of
                CMake.
                Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
                to tell CMake that the project requires at least <min> but has been updated
                to work with policies introduced by <max> or earlier.
                Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/portable/functions.yaml"
                Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/portable/portable_ops_lib/NativeFunctions.h
                CMake Warning at .venv/lib/python3.11/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:22 (message):
                static library kineto_LIBRARY-NOTFOUND not found.
                Call Stack (most recent call first):
                .venv/lib/python3.11/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:125 (append_torchlib_if_found)
                build/Utils.cmake:340 (find_package)
                CMakeLists.txt:619 (find_package_torch_headers)
                Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/optimized/optimized-oss.yaml"
                Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/optimized/optimized_ops_lib/NativeFunctions.h
                Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/merged.yaml"
                Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/configurations/optimized_native_cpu_ops_lib/NativeFunctions.h
                CMake Deprecation Warning at third-party/gflags/CMakeLists.txt:73 (cmake_minimum_required):
                Compatibility with CMake < 3.10 will be removed from a future version of
                CMake.
                Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
                to tell CMake that the project requires at least <min> but has been updated
                to work with policies introduced by <max> or earlier.
                CMake Deprecation Warning at third-party/pybind11/CMakeLists.txt:13 (cmake_minimum_required):
                Compatibility with CMake < 3.10 will be removed from a future version of
                CMake.
                Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
                to tell CMake that the project requires at least <min> but has been updated
                to work with policies introduced by <max> or earlier.
                CMake Deprecation Warning at third-party/flatcc/CMakeLists.txt:2 (cmake_minimum_required):
                Compatibility with CMake < 3.10 will be removed from a future version of
                CMake.
                Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
                to tell CMake that the project requires at least <min> but has been updated
                to work with policies introduced by <max> or earlier.
                Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/quantized/quantized.yaml"
                Generated files /home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/RegisterCodegenUnboxedKernelsEverything.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/Functions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/NativeFunctions.h;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/RegisterCPUCustomOps.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/RegisterSchema.cpp;/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_lib/CustomOpsNativeFunctions.h
                Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_aot_lib/selected_operators.yaml;--root_ops="quantized_decomposed::add.out;quantized_decomposed::choose_qparams.Tensor_out;quantized_decomposed::choose_qparams_per_token_asymmetric.out;quantized_decomposed::dequantize_per_channel.out;quantized_decomposed::dequantize_per_tensor.out;quantized_decomposed::dequantize_per_tensor.Tensor_out;quantized_decomposed::dequantize_per_token.out;quantized_decomposed::mixed_linear.out;quantized_decomposed::mixed_mm.out;quantized_decomposed::quantize_per_channel.out;quantized_decomposed::quantize_per_tensor.out;quantized_decomposed::quantize_per_tensor.Tensor_out;quantized_decomposed::quantize_per_token.out"
                Command - /home/warden/source/executorch/.venv/bin/python3;-m;codegen.tools.gen_oplist;--output_path=/home/warden/source/executorch/pip-out/temp.linux-x86_64-cpython-311/cmake-out/kernels/quantized/quantized_ops_pybind_lib/selected_operators.yaml;--ops_schema_yaml_path="/home/warden/source/executorch/kernels/quantized/quantized.yaml"
                CMake Error in CMakeLists.txt:
                Imported target "pybind11::module" includes non-existent path
                "/usr/include/python3.11"
                in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
                * The path was deleted, renamed, or moved to another location.
                * An install or uninstall procedure did not complete successfully.
                * The installation package was faulty and references files it does not
                provide.
                CMake Generate step failed. Build files cannot be regenerated correctly.
                error: subprocess-exited-with-error
                × Building wheel for executorch (pyproject.toml) did not run successfully.
                │ exit code: 1
                ╰─> See above for output.
                note: This error originates from a subprocess, and is likely not a problem with pip.
                full command: /home/warden/source/executorch/.venv/bin/python3 /home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpff_djhi6
                cwd: /home/warden/source/executorch
                Building wheel for executorch (pyproject.toml) ... error
                ERROR: Failed building wheel for executorch
                Failed to build executorch
                ERROR: Could not build wheels for executorch, which is required to install pyproject.toml-based projects
                [notice] A new release of pip is available: 24.0 -> 25.0.1
                [notice] To update, run: pip install --upgrade pip
                Traceback (most recent call last):
                File "/home/warden/source/executorch/./install_executorch.py", line 245, in <module>
                main(sys.argv[1:])
                File "/home/warden/source/executorch/./install_executorch.py", line 223, in main
                subprocess.run(
                File "/usr/lib/python3.11/subprocess.py", line 571, in run
                raise CalledProcessError(retcode, process.args,
                subprocess.CalledProcessError: Command '['/home/warden/source/executorch/.venv/bin/python3', '-m', 'pip', 'install', '.', '--no-build-isolation', '-v', '--extra-index-url', 'https://download.pytorch.org/whl/nightly/cpu']' returned non-zero exit status 1.
                

                Versions

                Operating System Information
                Linux Vikander 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

                PRETTY_NAME="Ubuntu 24.04.1 LTS"
                NAME="Ubuntu"
                VERSION_ID="24.04"
                VERSION="24.04.1 LTS (Noble Numbat)"
                VERSION_CODENAME=noble
                ID=ubuntu
                ID_LIKE=debian
                HOME_URL="https://www.ubuntu.com/"
                SUPPORT_URL="https://help.ubuntu.com/"
                BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
                PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
                UBUNTU_CODENAME=noble
                LOGO=ubuntu-logo

                Python Version
                Python 3.11.11

                PIP Version
                pip 24.0 from /home/warden/source/executorch/.venv/lib/python3.11/site-packages/pip (python 3.11)

                Installed Packages
                certifi==2025.1.31
                charset-normalizer==3.4.1
                cmake==3.31.4
                filelock==3.17.0
                fsspec==2025.2.0
                huggingface-hub==0.28.1
                idna==3.10
                Jinja2==3.1.5
                MarkupSafe==3.0.2
                mpmath==1.3.0
                networkx==3.4.2
                numpy==2.2.3
                packaging==24.2
                pillow==11.1.0
                PyYAML==6.0.2
                regex==2024.11.6
                requests==2.32.3
                safetensors==0.5.2
                sympy==1.13.1
                timm==1.0.7
                tokenizers==0.21.0
                tomli==2.2.1
                torch==2.7.0.dev20250131+cpu
                torchao @ file:///home/warden/source/executorch/third-party/ao
                torchaudio==2.6.0.dev20250131+cpu
                torchsr==1.0.4
                torchvision==0.22.0.dev20250131+cpu
                tqdm==4.67.1
                transformers==4.47.1
                typing_extensions==4.12.2
                urllib3==2.3.0
                zstd==1.5.6.1

                PyTorch Version
                2.7.0.dev20250131+cpu

                Collection Complete

                cc @larryliu0820@lucylq@mergennachin

                Activity

                Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

                Metadata

                Metadata

                Assignees

                No one assigned

                  Labels

                  module: build/installIssues related to the cmake and buck2 builds, and to installing ExecuTorchmodule: user experienceIssues related to reducing friction for userstriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

                  Type

                  Projects

                  Milestone

                  No milestone

                  Relationships

                  None yet

                  Development

                  No branches or pull requests

                  Issue actions