I’m trying to install a package on python (pip install basedosdados -U) and I get the following message: error:
Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft Visual
C++ Build Tools": https://visualstudio.mirosoft.com/visual-cpp-build-tools/
After installing it and ticking this enter image description here (as suggested by another thread I read), I now get the following error message:
error: command ‘C:Program Files (x86)Microsoft Visual Studio2022BuildToolsVCToolsMSVC14.34.31933binHostX86x64cl.exe’ failed with exit code 2
Any suggestions on how to proceed?
Thanks a lot!
I tried many things, just installing it without ticking the box previously mentioned also does not work.
2
Answers
Did you try to install the
whl
instead of thetar.gz
?A
whl
is the "compiled" finished version of the package, so it should be able not to try to build it at all.You can use
pip install basedosdados -U --prefer-binary
or just manually installing frompypi
I have encountered similar problems. The solution is to install 64-bit pandas instead of 32-bit.
You can read the installation page and select the appropriate version to install.