Hey!
I have connected my windows desktop to a Samba folder on the rPi,
so that I can directly edit the Python files remote on the rPi,
and then I execute them manually via SSH.
I am open to suggestions about better setups.
My main concern right now is that Eclipse, my IDE on the windows desktop,
is not able to autocomplete the GPIO library.
I see a lot of red "X" on the left
("No module named GPIO", "undefined variable from import ...").
On the RPi all is working fine (that thing is just to weak for running Eclipse)
but on the Windows machine pip install RPi.GPIO
fails with errors
Failed building wheel for RPi.GPIO Running setup.py clean for RPi.GPIO Failed to build RPi.GPIO Installing collected packages: RPi.GPIO Running setup.py install for RPi.GPIO ... error
....
error: command 'C:\\Users\\USERNAME\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status 2 ---------------------------------------- Command "C:\Anaconda\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\USERNAME\\appdata\\local\\temp\\pip-build-itc80n\\RPi.GPIO\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\USERNAME\appdata\local\temp\pip-2936v8-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\USERNAME\appdata\local\temp\pip-build-itc80n\RPi.GPIO
Is there any way to inform my windows machine about RPi.GPIO. I don't want to run the programs there, but I want to edit them, comfortably, in Eclipse.
Thanks a lot!
I need to create a dummy RPi.GPIO library for cases like this.
Wow, you are fast. Thanks a lot!
And yes, please do so, a "dummy RPi.GPIO library".
Would help me a lot, if my eclipse could "speak GPIO" :-)
Perhaps it could also be included into the existing pip package, and triggered by some switch?
I tried a lot, e.g. "--no-binary", but not successful.
By the way - great library. I have worked through your whole wiki. Anything else to try out? Loving it!
:-)