diff --git a/attachments/reinstall-deps-for-3d.bat b/attachments/reinstall-deps-for-3d.bat index 1341118..d2faf4e 100644 --- a/attachments/reinstall-deps-for-3d.bat +++ b/attachments/reinstall-deps-for-3d.bat @@ -31,6 +31,8 @@ set PATH=%PATH%;%~dp0\python_embeded\Scripts if not exist ".\tmp_build" mkdir tmp_build +.\python_embeded\python.exe -s -m pip install numpy==1.26.4 + git clone --depth=1 https://github.com/MrForExample/Comfy3D_Pre_Builds.git ^ .\tmp_build\Comfy3D_Pre_Builds @@ -43,20 +45,16 @@ git clone --depth=1 https://github.com/MrForExample/Comfy3D_Pre_Builds.git ^ .\python_embeded\python.exe -s -m pip wheel -w tmp_build ^ git+https://github.com/ashawkey/diff-gaussian-rasterization.git -.\python_embeded\python.exe -s -m pip wheel -w tmp_build ^ - git+https://github.com/NVlabs/nvdiffrast.git - -.\python_embeded\python.exe -s -m pip wheel -w tmp_build ^ - git+https://github.com/facebookresearch/pytorch3d.git - .\python_embeded\python.exe -s -m pip wheel -w tmp_build ^ git+https://github.com/ashawkey/kiuikit.git .\python_embeded\python.exe -s -m pip wheel -w tmp_build ^ - git+https://github.com/rusty1s/pytorch_scatter.git + git+https://github.com/NVlabs/nvdiffrast.git echo Build complete, installing... del .\tmp_build\numpy-2*.whl for %i in (.\tmp_build\*.whl) do .\python_embeded\python.exe -s -m pip install --force-reinstall "%i" + +.\python_embeded\python.exe -s -m pip install numpy==1.26.4 diff --git "a/attachments/\351\207\215\346\226\260\347\274\226\350\257\221\345\256\211\350\243\2053D-Pack\344\276\235\350\265\226\351\241\271.bat" "b/attachments/\351\207\215\346\226\260\347\274\226\350\257\221\345\256\211\350\243\2053D-Pack\344\276\235\350\265\226\351\241\271.bat" index d328421..ccd112f 100644 --- "a/attachments/\351\207\215\346\226\260\347\274\226\350\257\221\345\256\211\350\243\2053D-Pack\344\276\235\350\265\226\351\241\271.bat" +++ "b/attachments/\351\207\215\346\226\260\347\274\226\350\257\221\345\256\211\350\243\2053D-Pack\344\276\235\350\265\226\351\241\271.bat" @@ -40,6 +40,8 @@ set PATH=%PATH%;%~dp0\python_embeded\Scripts if not exist ".\tmp_build" mkdir tmp_build +.\python_embeded\python.exe -s -m pip install numpy==1.26.4 + git clone --depth=1 https://ghp.ci/https://github.com/MrForExample/Comfy3D_Pre_Builds.git ^ .\tmp_build\Comfy3D_Pre_Builds @@ -52,20 +54,16 @@ git clone --depth=1 https://ghp.ci/https://github.com/MrForExample/Comfy3D_Pre_B .\python_embeded\python.exe -s -m pip wheel -w tmp_build ^ git+https://ghp.ci/https://github.com/ashawkey/diff-gaussian-rasterization.git -.\python_embeded\python.exe -s -m pip wheel -w tmp_build ^ - git+https://ghp.ci/https://github.com/NVlabs/nvdiffrast.git - -.\python_embeded\python.exe -s -m pip wheel -w tmp_build ^ - git+https://ghp.ci/https://github.com/facebookresearch/pytorch3d.git - .\python_embeded\python.exe -s -m pip wheel -w tmp_build ^ git+https://ghp.ci/https://github.com/ashawkey/kiuikit.git .\python_embeded\python.exe -s -m pip wheel -w tmp_build ^ - git+https://ghp.ci/https://github.com/rusty1s/pytorch_scatter.git + git+https://ghp.ci/https://github.com/NVlabs/nvdiffrast.git echo "编译完成,开始安装……" del .\tmp_build\numpy-2*.whl for %i in (.\tmp_build\*.whl) do .\python_embeded\python.exe -s -m pip install --force-reinstall "%i" + +.\python_embeded\python.exe -s -m pip install numpy==1.26.4