Algojammer icon indicating copy to clipboard operation
Algojammer copied to clipboard

installation instructions for c++ compiler?

Open Almenon opened this issue 6 years ago • 5 comments

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?

Almenon avatar Nov 07 '18 15:11 Almenon

i have the same problem with python 3.7.1

rboughani avatar Nov 09 '18 09:11 rboughani

I will look into this this weekend

ChrisKnott avatar Nov 09 '18 12:11 ChrisKnott

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

Almenon avatar Nov 09 '18 14:11 Almenon

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

rboughani avatar Nov 09 '18 15:11 rboughani

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)

JoostJM avatar Nov 12 '18 09:11 JoostJM