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

installation instructions for c++ compiler? #14

Open
Almenon opened this issue Nov 7, 2018 · 5 comments
Open

installation instructions for c++ compiler? #14

Almenon opened this issue Nov 7, 2018 · 5 comments

Comments

@Almenon
Copy link

Almenon commented Nov 7, 2018

C:\dev\misc\Algojammer\c_ext>python setup.py build install
running build
running build_ext
building 'algorecord' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

The link 404's.

I googled it and everyone says to download the build tools for visual studio (a hefty ~5 gig download 🙁 )

But after installing it and relaunching cmd I still get the same error.

A guy in the issue here says you also need to put %VS140COMNTOOLS% in your environment variables:

set VS150COMNTOOLS="C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools"

but that didn't work either. Neither did VS150COMNTOOLS

I'll restart my computer and report back. Maybe that will fix it?

@rboughani
Copy link

i have the same problem with python 3.7.1

@ChrisKnott
Copy link
Owner

I will look into this this weekend

@Almenon
Copy link
Author

Almenon commented Nov 9, 2018

oh and I forgot to mention my system setup. Windows 10 python 3.6

@rboughani
Copy link

i have the same, i think that visual c++ 14.0.0 not existe,
when i have changed python to 2.7.8, it want me to install visual c++ 9.0, the i have installed it using this link https://www.microsoft.com/en-us/download/details.aspx?id=44266

https://github.com/RasaHQ/rasa_core/issues/1302

@JoostJM
Copy link

JoostJM commented Nov 12, 2018

Hi All,

The fix with the environment variables is to redirect python to your current installed version of visual studio. Depending on which python you're running, it looks for a specific version.

See here for more info on python and compilers on windows (including the mapping between python and visual studio version and downloads for standalone versions)

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

No branches or pull requests

4 participants