diff --git a/packaging/pre_build_script.sh b/packaging/pre_build_script.sh index eefe5415e43..1d1e1e0a2af 100644 --- a/packaging/pre_build_script.sh +++ b/packaging/pre_build_script.sh @@ -24,6 +24,11 @@ if [[ "$(uname)" == Darwin || "$OSTYPE" == "msys" ]]; then python_exec="$(which python)" bin_path=$(dirname $python_exec) cp "$bin_path/Library/bin/libjpeg.dll" torchvision + + # issue with Building torchvision on py3.13 + if[[ "$PYTHON_VERSION" == 3.13 ]]; then + mkdir -p build\\temp.win-amd64-cpython-313\\Release + fi fi else