-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spyder on Windows 10, remote kernel on RPi Zero, Python script not found #17289
Comments
Hey @piotr-machowski, thanks for reporting. How did you run this command?
By pressing the Debug button or by introducing the command directly in the console? |
I have entered both commands directly in console (!ls and debug). |
Hey @piotr-machowski, why did close this one? Did you find a solution for it? |
It was not my intention to close it. I did refresh the page with the
report, but not closed it. No, I don't have solution to the problem of
remote kernel.
…--Piotr
On Thu, Feb 10, 2022 at 5:44 PM Carlos Cordoba ***@***.***> wrote:
Hey @piotr-machowski <https://github.com/piotr-machowski>, why did close
this one? Did you find a solution for it?
—
Reply to this email directly, view it on GitHub
<#17289 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHY7VQGU6F52WRLOLFDDZYTU2PTQHANCNFSM5NNFHOPA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Ok, no worries. I think we can solve this problem but I'm still not sure where. |
Hey @piotr-machowski, could you run the I think I know how to solve this problem now, but I'd like to be sure. |
Sorry for delay, I somewhat missed the notification. Will answer in few hours. |
Great! Thanks for your help @piotr-machowski! |
Update. Unfortunately I have lost the OS in which the problem has been initially identified (SD card in Raspberry died and I had to reinstall Raspbian; I use several Raspberrys for many years now and it happened for the first time...). So I have new OS installed but ... the symptoms are the same:
Here is %tb output:
But guided by our previous conversation I started the script by pressing Run button in Spyder and ... the script was executed on remote kernel! However Spyder still complained about missing script (despite the fact that the script was actually properly executed!):
The "usage" text is the correct output from the script. Hope that helps. |
Update 2: the trick to run the script with the Windows path works also when entered manually into console (same behavior: complains but executes the script). However if I try to debug the script I get a new error:
Look at the error message: |
Description
What steps will reproduce the problem?
First I did follow steps described on http://docs.spyder-ide.org/current/panes/ipythonconsole.html?highlight=ssh#connect-to-a-remote-kernel
Got remote kernel in Spyder running on W10:
Then attempted to debug code in remote kernel:
I can run the script after logging to RPi, from command prompt, so the code works fine.
Is there any chance to use W10 as Spyder execution system and run the code in remote kernel on RPi? The rationale behind this setup is the lack of computing power on RPi (it is Zero W) -- it would run local Spyder with display on remote X Server, but the performance is unacceptable.
--Piotr
Versions
Dependencies
The text was updated successfully, but these errors were encountered: