Python pip on Windows - command cl exe failed

0 votes

I wanted to install spaCy using pip install spacy. But met with an error.

enter image description here
I have VS 2015 installed, and I have the following Python install.

3.5.2 |Anaconda 2.5.0 (64-bit)| (default, Jul 5 2016, 11:41:13) [MSC v.1900 64 bit (AMD64)]


Can someone help me solve this issue?

Apr 26 in Python by Kichu
• 15,450 points
16 views

1 answer to this question.

0 votes

You should have  cl.exe (the Microsoft C Compiler) installed on your computer and in your PATH. 

  • Ensure the C++ build tools for Visual Studio are installed.
  • Install Desktop development with C++ from the Visual Studio Installer.
  • Use one of the special commands prompts in the Visual Studio folder in Start Menu.
  • This sets up PATH automatically so that cl.exe can be found.
  • For 32-bit Python, use x86 Native Tools Command Prompt.
  • For 64-bit Python, use x64 Native Tools Command Prompt.

I hope this helps.

answered Apr 28 by narikkadan
• 7,860 points

Related Questions In Python

0 votes
1 answer

When I create and remove files rapidly on windows using python I get WindowsError (Error 5)

Here's the short answer: disable any antivirus or ...READ MORE

answered Aug 31, 2018 in Python by charlie_brown
• 7,710 points
1,140 views
+3 votes
2 answers

How do I install pip on Windows?

pip is already installed if you are ...READ MORE

answered Nov 2, 2018 in Python by Priyaj
• 58,060 points
594 views
0 votes
11 answers
0 votes
1 answer

How do I convert a Python program to a runnable .exe Windows program?

Understand that every 'freezing' application for Python ...READ MORE

answered Oct 13, 2018 in Python by SDeb
• 13,300 points
763 views
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 2,745 views
0 votes
1 answer
0 votes
1 answer

How do I upgrade the Python installation in Windows 10?

If you have 2.x or 3.x version ...READ MORE

answered Apr 28 in Python by narikkadan
• 7,860 points
12 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP