Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Hanging on reote development for python scrips on RPI(python remote development for raspberry )
Hanging on reote development for python scrips on RPI [message #1806981] Mon, 20 May 2019 14:49 Go to next message
Kurt Struevy is currently offline Kurt StruevyFriend
Messages: 17
Registered: May 2016
Junior Member
Hello,
I'm almost frustrated because I try to setup eclipse to develope python scripts on for my raspberry.
I found a good description for setting up eclipse for remote development of python scripts on RPI with Eclipse.
Please see:
https://sites.google.com/site/programmersnotebook/remote-development-of-python-scripts-on-raspberry-pi-with-eclipse
But I hang on the topic "Configure Raspberry PI". It does not work.
Pleas could I get a tip how to debug the python script?
!!! >>>>Thanks for any ideas<<<<!!!
Kurt
Re: Hanging on reote development for python scrips on RPI [message #1806989 is a reply to message #1806981] Mon, 20 May 2019 17:21 Go to previous messageGo to next message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 484
Registered: August 2014
Senior Member
How far did you get in the configuration?
What was the error message, if any?
Can you connect to Pi using a SSH client on the host computer?
Please show a screen copy of the situation where it does not work.

---

I did a quick test using my 2019-03 version Eclipse on my MacBook,
and everything went so far that I saw the client files.


--

Tauno Voipio
Re: Hanging on reote development for python scrips on RPI [message #1807038 is a reply to message #1806989] Tue, 21 May 2019 14:56 Go to previous messageGo to next message
Kurt Struevy is currently offline Kurt StruevyFriend
Messages: 17
Registered: May 2016
Junior Member
Hello Tauno Voipio,
thanks for your answer.
Yes I was able to connect to the RPI using SSH and Rmote System Explorer.
I also installed PyDev.
What IDE did you install? Was it the Eclipse Standard or any other?
I installed the pure eclipse and also java 1.8.
But when I try to open the remote shell view I get an error (see picture)index.php/fa/35614/0/
What is the next step? Do I need to install Python?
With kind regards
Kurt

[Updated on: Tue, 21 May 2019 14:58]

Report message to a moderator

Re: Hanging on reote development for python scrips on RPI [message #1807051 is a reply to message #1807038] Tue, 21 May 2019 19:40 Go to previous messageGo to next message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 484
Registered: August 2014
Senior Member
Yes, you do need Python on the host to complete the setup.
You should also check that there is Python on the RPi.


--

Tauno Voipio
Re: Hanging on reote development for python scrips on RPI [message #1807060 is a reply to message #1807051] Wed, 22 May 2019 04:14 Go to previous messageGo to next message
Kurt Struevy is currently offline Kurt StruevyFriend
Messages: 17
Registered: May 2016
Junior Member
Thanks Tauno Voipio,
is this correct that I need the same Version of python on the host (PC) and the raspberry?
Re: Hanging on reote development for python scrips on RPI [message #1807070 is a reply to message #1807060] Wed, 22 May 2019 07:40 Go to previous messageGo to next message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 484
Registered: August 2014
Senior Member
I guess so, never had the need to try it.

--

Tauno Voipio
Re: Hanging on reote development for python scrips on RPI [message #1807237 is a reply to message #1807070] Sat, 25 May 2019 13:09 Go to previous messageGo to next message
Kurt Struevy is currently offline Kurt StruevyFriend
Messages: 17
Registered: May 2016
Junior Member
index.php/fa/35637/0/Hello,
thanks for your answers.
I ste up everything as described in the instructions of
https://sites.google.com/site/programmersnotebook/remote-development-of-python-scripts-on-raspberry-pi-with-eclipse
Topic Connect to Raspberry PI step 4

index.php/fa/35635/0/

until the topic
Configure Raspberry PI
Here I get a little confused:
When I create a new project (see 1.) I have no idea what exactliy I have to do.
I tried a project named 1stProj

index.php/fa/35636/0/

with a File My1stProj.py.
When I open the file and type pydevd I get crazy things:

index.php/fa/35637/0/

there is an unresolved import of pydevd.
What is wrong here?

[Updated on: Sat, 25 May 2019 13:50]

Report message to a moderator

Re: Hanging on reote development for python scrips on RPI [message #1807788 is a reply to message #1807237] Sun, 09 June 2019 12:03 Go to previous message
Kurt Struevy is currently offline Kurt StruevyFriend
Messages: 17
Registered: May 2016
Junior Member
Hello to all,
thanks for yout tips.
I got a solution for this.
There just a little problem. I installed python and during the installation I enabled to set a path variable.
Then I could use python.
Kurt
Previous Topic:After generating the .jar from my IDE, I can not run it
Next Topic:building worlspace has encountered a prb
Goto Forum:
  


Current Time: Tue Jun 25 03:23:25 GMT 2019

Powered by FUDForum. Page generated in 0.02918 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top