0

I tried installing the Rpi.GPIO library on Visual Studio 2017 to have access to auto-completion in VS. I got the following error :

cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files\Python36\include" "-IC:\Program Files\Python36\include" /Tcsource/py_gpio.c /Fobuild\temp.win-amd64-3.6\Release\source/py_gpio.obj error: command 'cl.exe' failed: No such file or directory

I already done some research : Visual studio 2017 and the cl.exe error I have Visual C++ installed

Community
  • 1
  • 1
Aurelien
  • 688
  • 1
  • 9
  • 22
  • Solving the `cl` problem likely won't let you install the module. The file being compiled here `py_gpio.c` likely depends on Linux-specific (and maybe Raspberry-Pi specific) operating system support. If you want to try anyways you can try following the instructions here: https://wiki.python.org/moin/WindowsCompilers – Ross Ridge May 12 '17 at 20:32
  • Ok, so i checked it, and i installed VC++ when installing VS 2017. So i should have the right version. For the cl.exe, it is installed, so i modified my Windows Path and i tried to install it again, i got the following error in my output : `code` c:\program files\python36\include\pyconfig.h(59): fatal error C1083: Impossible d'ouvrir le fichier include : 'io.h' : No such file or directory" `code` – Aurelien May 15 '17 at 08:39

0 Answers0