![]() Set BAZEL_VS=C:/Program Files(x86)/Microsoft Visual Studio/2019/BuildTools Set PYTHON_DIRECTORY=path/to/python_virtualenv/Scriptsīazel/MSVC path set up issue tensorflow:issue#54578 Set PYTHON_LIB_PATH=path/to/python virtualenv/lib/site-packages Set PYTHON_BIN_PATH=path/to/python_virtualenv/Scripts/python.exe Python path set up issue tensorflow:issue#59943, tensorflow:issue#9436, tensorflow:issue#60083 echo ?ZEL_VC% to check path set up for a specific Environmental Variable Run set check if all the paths were set correctly, run echo %Environmental Variable% e.g. ![]() (If the below commands were set up while installing the packages, please ignore them). Run following commands before running build command to avoid issue with package creation: Key Point: If you're having build problems on the latest development branch, tryĪ release branch that is known to work. Git checkout branch_name # r1.9, r1.10, etc. The repo defaults to the master development branch. ( git is installed with MSYS2): git clone cd tensorflow For using TensorFlow GPU on Windows, you will need to build/install TensorFlow in WSL2 or use tensorflow-cpu with TensorFlow-DirectML-Plugin Download the TensorFlow source code Note: GPU support on native-Windows is only available for 2.10 or earlier versions, starting in TF 2.11, CUDA build is not supported for Windows. See the Windows GPU support guide to install the drivers andĪdditional software required to run TensorFlow on a GPU. Note: TensorFlow is tested against the Visual Studio 2019.
0 Comments
Leave a Reply. |