วันเสาร์ที่ 7 มีนาคม พ.ศ. 2558

Python Remote Development on Raspberry Pi with PyDev and Eclipse

Python Remote Development on Raspberry Pi

with PyDev and Eclipse

เขียน Python PyDev บน Raspberry Pi ด้วย Eclipse



Download and Install



Install Eclipse Python plugin


Open eclipse goto menu Help --> Install New Software



Install New Software
use Pydev Plug in Link "http://pydev.org/updates" then Next


New Software Plug in to install
Show "PyDev for Eclipse"  and Version  then Next


Installing  wait for a minute


When Install already
Goto Menu  Window --> Preferences
It show PyDev Menu
Now Install Plug-in Already ! after that need to config in Eclipse.


Configuration of Eclipse

Goto Menu  Window --> Preferences -- > PyDev --> Interpreters --> Python Interpreter
Then Click  New...



Browse your Python Interpreter Executable
Then OK


System Python Path OK


When PyDev  and Python path Ok.
Now need to Setup Remote System for connect eclipse to raspberry pi board.


RSE - Remote Systems Explorer

Goto menu Help --> Install New Software 
1 .Work with  change to All Available Sites
2. Use type filter text  = remote


Then Select General Purpose Tools
and Select  Remote System Explorer End-User Runtime
and Remote System Explorer User Actions
then Next to Install

Finish the installation and restart Eclipse.



Connect to Raspberry Pi
Goto Menu Window --> Open Perspective  -- > Other
Double click Remote System Explorer



Then Right Click on Local
and New -- > Connection


New Connection
Select SSH only


Remote SSH only System Connection
Host Name your Raspberry Pi IP Address


Now Connect and Remote to Raspberry Pi



So,you can open python file and write code in Raspberry Pi using eclipse





<< บทความต่อไป >>


My Website
email : info@softpowergroup.net   Tel .081-6452400

ไม่มีความคิดเห็น:

แสดงความคิดเห็น