Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error building "Microsoft Visual C++ 14.0 is required" also with VS Tools installed #1272

Closed
eldarioz opened this issue Apr 30, 2018 · 3 comments
Labels

Comments

@eldarioz
Copy link

Hi all,

i'm trying to install apache-airflow on my Windows 10 laptop, and i had an error building psutil.
This is the error message from pip:

error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

I had Visual Studio Community 2017 yet installed on my pc, so I added the VC++ support.
I tried to run pip from the Visual Studio 2017 Developer Command Prompt v15.6.1.
In this way, all the environment variables are setted by the shell itself, and i tried both x86 and x64 consoles, but i had the same results.

What is the executable called by the compile method? I'm sure that cl and msbuild executable are available from Developer Command prompt...

I attached the complete pip log.

pip.log

Thanks for your help!

Regards

@msfrucht
Copy link

msfrucht commented Jun 8, 2018

Setuptools version is too low for using Visual Studio 2017 instead of standalone VC++14 build tools.

Requirement already satisfied: setuptools in c:\program files (x86)\python36-32\lib\site-packages (from python-daemon<2.2,>=2.1.1->apache-airflow) (28.8.0)

https://wiki.python.org/moin/WindowsCompilers#Microsoft_Visual_C.2B-.2B-_14.0_with_Visual_Studio_2017_.28x86.2C_x64.2C_ARM.2C_ARM64.29

You need at least version 34.4.0. Can you try updating and try again?

@giampaolo
Copy link
Owner

Closing this out.

@andocromn
Copy link

I know this has already been closed, I'm sure this is somehow Microsoft's fault, and i certainly don't have a solution to offer...

Just the comment its unreasonable to install over 5GB of visual studio to install this python package. it was less work to copy the python program files from my desktop to my laptop than to install 5GB onto my laptop. just saying

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants