Unable to find vcvarsall.bat (Unsolved for 2022 version, Python)
Question:
I’ve been trying to instsall pgzero library for python, but however it keeps giving me an error:
"unable to find vcvarsall.bat "
I have been searching over StackOverflow, it shows up how to fix it for 2017 version by installing Microsoft building tools, i did download them, but it is still not installing. Is there any suggestion on how to solve the problem? I have a pip I simply have written
pip install pgzero
Answers:
For me this command worked, first install pygame like this:
pip install pygame --pre
then install pgzero
pip install pgzero --pre
I’ve been trying to instsall pgzero library for python, but however it keeps giving me an error:
"unable to find vcvarsall.bat "
I have been searching over StackOverflow, it shows up how to fix it for 2017 version by installing Microsoft building tools, i did download them, but it is still not installing. Is there any suggestion on how to solve the problem? I have a pip I simply have written
pip install pgzero
For me this command worked, first install pygame like this:
pip install pygame --pre
then install pgzero
pip install pgzero --pre