executorch
executorch copied to clipboard
Ensure python version is compatible before building wheels
Hi I got the following error message after running instruction from page
./install_requirements.sh --pybind
build_meta.py", line 311, in run_setup
exec(code, locals())
File "
@Ciao-Wen-Chen Looks like you're using python 3.8
ExecuTorch runs on python 3.10 and above.
@dbort - once actionable thing is to update our setup page (https://pytorch.org/executorch/main/getting-started-setup.html) to include supported python versions more upfront on the top as opposed to part of the conda creation step.
Updating the docs makes sense; I thought we already mentioned it, but we don't.
We should also update install_requirements.sh
and maybe setup.py
to explicitly check for a compatible python version.
yeah, I pointed to the wrong Python version. Get the build successfully, thank you for the reply!
#4131 will explicitly check for the right python version when running install_requirements.sh or building the wheel, so it should be more obvious when the version isn't supported.
Merged in https://github.com/pytorch/executorch/commit/f32d707fd89ce64ffbaff6d9c216ac7d15c829e6