0

I am trying to install numpy in Pycharm with python2.7, I got this error :

error: [Error 2] The system cannot find the file specified operable program or batch file.

'gcc' is not recognized as an internal or external command, operable program or batch file.

Building msvcr library: "C:\Python27\libs\libmsvcr90.a" (from C:\Windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91\msvcr90.dll)

error: [Error 2] The system cannot find the file specified
madhead
  • 31,729
  • 16
  • 153
  • 201
Bouchaib Mounir
  • 1,293
  • 2
  • 14
  • 16
  • 2
    Possible duplicate of [Installing numpy - the system cannot find the file specified (msvcr90.dll)](http://stackoverflow.com/questions/25072357/installing-numpy-the-system-cannot-find-the-file-specified-msvcr90-dll) – try-catch-finally Oct 15 '15 at 20:44

1 Answers1

1

You need to install gcc (the compiler) on Windows and then add it to your PATH variable.

Here is a link on how to install it on Windows.

ETA: It might be easier to install the binaries which can be found here.

dstudeba
  • 8,878
  • 3
  • 32
  • 41
  • I installed C:\cygwin64 , put C:\cygwin64\bin in the path, now it says : error: command 'gcc' failed: No such file or directory – Bouchaib Mounir Oct 19 '15 at 16:25