I downloaded visual studio 2019 and added path to vcvarsall.bat and still I'm getting error:
C:\Users\Documents\tf-pose\tf-pose-estimation\tf_pose\pafprocess>python setup.py build_ext --inplace running build_ext building '_pafprocess' extension swigging pafprocess.i to pafprocess_wrap.cpp C:\Users\Documents\tf-pose\tf-pose-estimation\tf_pose\pafprocess\swigwin-3.0.12\swig.exe -python -c++ -o pafprocess_wrap.cpp pafprocess.i error: Unable to find vcvarsall.bat
Same issue
hi,
please follow below steps to resolve this issue.
step1: Go to link https://visualstudio.microsoft.com/downloads/
step2: Expand-> "Tools for Visual Studio 2019 or latest version" and then click download "Build Tools for Visual Studio 2019 or latest version"
step3: Execute the downloaded .exe file -> select only "C++ build tools" and proceed
step 4: C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build go to this path and check if the vcvarsall.bat file is present or not.
step5: if all required file is present in the path at step4 you are good to go. But before that, you have to add the path in step for in as your environmental variable.
to add the path as an environmental variable follows below instructions:
click on window+R and type "sysdm.cpl" press ok. then click on advance tab-,> environmental variable-> double click on a path ->> click on new and paste the path address in step 4.
for better understanding please find the below-attached image
thanks,
Mayank madhukar
step 4: C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build go to this path and check if the vcvarsall.bat file is present or not.
there is no vcvarsall.bat. what can i do? there is not even the folder VC
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build
Most helpful comment
hi,
please follow below steps to resolve this issue.
step1: Go to link https://visualstudio.microsoft.com/downloads/
step2: Expand-> "Tools for Visual Studio 2019 or latest version" and then click download "Build Tools for Visual Studio 2019 or latest version"
step3: Execute the downloaded .exe file -> select only "C++ build tools" and proceed
step 4: C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build go to this path and check if the vcvarsall.bat file is present or not.
step5: if all required file is present in the path at step4 you are good to go. But before that, you have to add the path in step for in as your environmental variable.
to add the path as an environmental variable follows below instructions:

click on window+R and type "sysdm.cpl" press ok. then click on advance tab-,> environmental variable-> double click on a path ->> click on new and paste the path address in step 4.
for better understanding please find the below-attached image
thanks,
Mayank madhukar