While trying to install Pandas and sasl modules in Windows via pip, I am getting below error.
error: Microsoft Visual C++ 10.0 is required. Get it with "Microsoft Windows SDK 7.1": www.microsoft.com/download/details.aspx?id=8279
I have tried to install Microsoft Visual C++ 10.0 but getting the same error. My Python version is 3.4.0 and pip version is 18.1
C:\Users\ishan\PycharmProjects\python-Simple\venv\Scripts>python --version
Python 3.4.0
C:\Users\ishan\PycharmProjects\python-Simple\venv\Scripts>pip --version
pip 18.1 from c:\users\ishan\pycharmprojects\python-simple\venv\lib\site-
packages\pip (python 3.4)
Related
I want to install gpaw (a DFT calculation python package for physicists), so I used the command -
pip install gpaw
pip installed gpaw's all dependencies except gpaw itself & gave error -
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
So, I downloaded the latest version & successfully installed visual studio build tools from the link above
But, after I tried to install gpaw using pip again, I got a new error -
cl : Command line warning D9025 : overriding '/DNDEBUG' with '/UNDEBUG'
cl : Command line error D8021 : invalid numeric argument '/Wno-unknown-pragmas'
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.33.31629\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
Can someone tell me how to fix this failing execution of visual studio build tools?
What I tried to fix - I repaired the installed Visual Studio build tools using installer, but nothing changed.
I can't install psycopg2 on Win10 x64 / Python 3.8.
When I run MyProject\venv>pip install psycopg2-binary
I've got error Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools
But I've already installed BuildTools (from https://visualstudio.microsoft.com/downloads/) and MS Visual C++ redistributable 2015-2019
Also I've tried to install prebuild binaries - https://www.lfd.uci.edu/~gohlke/pythonlibs/#psycopg but for any package (win_amd64 or win32) I've got error like "psycopg2-2.8.6-cp39-cp39-win32.whl is not a supported wheel on this platform."
Could you please help - how can I finally install them?
I was getting this Error while importing Tensorflow 2.0 in python 3.8.3
ImportError: Could not find the DLL(s) 'msvcp140.dll or msvcp140_1.dll'. TensorFlow requires that these DLLs be installed in a directory that is named in your %PATH% environment variable. You may install these DLLs by downloading "Microsoft C++ Redistributable for Visual Studio 2015, 2017 and 2019" for your platform from this URL: https://support.microsoft.com/help/2977003/the-latest-supported-visual-c-downloads
Error: Microsoft Visual C++ 10.0 is required.
I have installed Microsoft Visual C++ 10.0 with Microsoft window SDK 7.1 but still, it's showing the same error
I successfully installed Python 3.4.3 and Oracle 11g in my windows7 OS computer. I am trying to connect oracle db by Python. So that i'm trying to install cx_oracle 5.2 module,but while installing, I am getting below Error.
error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).
Please anyone help me on this to fix this issue.
Thanks
You can download binaries from PyPI
https://pypi.python.org/pypi/cx_Oracle/