-
Notifications
You must be signed in to change notification settings - Fork 224
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
Failure on Windows 10 #257
Comments
Sorry, I don't think Urwid (the widget library used by pudb) works on Windows. |
Cygwin might be an option. At any rate--if and when Urwid does start supporting Windows, pudb should (famous last words) work there, too. At any rate, thanks for the report. |
I'm curious if you can make it work on the Linux subsystem. I don't have Windows, otherwise I would play around with this. |
Trying that now.
…-- Bruce Eckel
www.MindviewInc.com <http://www.mindviewinc.com/>
Blog: BruceEckel.github.io
www.WinterTechForum.com
www.AtomicScala.com
www.Reinventing-Business.com
http://www.TrustOrganizations.com <http://www.ScalaSummit.com>
On Tue, Jun 6, 2017 at 1:14 PM, Aaron Meurer ***@***.***> wrote:
I'm curious if you can make it work on the Linux subsystem. I don't have
Windows, otherwise I would play around with this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#257 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AA9JrBEYl_jyZBJNxdEHVL6GyCvxYO52ks5sBaUtgaJpZM4NxnUQ>
.
|
If you can get it to work on Cygwin or the Linux subsystem or some other way, please report back. Would love to have some docs for it if it can be made to work. |
Works on Windows 10 Linux subsystem, at least for Python 2.7. You have to
explicitly install pip if it's not there; it doesn't come as part of the
Python installation. Other than that the basic instructions seem to do the
trick.
…-- Bruce Eckel
www.MindviewInc.com <http://www.mindviewinc.com/>
Blog: BruceEckel.github.io
www.WinterTechForum.com
www.AtomicScala.com
www.Reinventing-Business.com
http://www.TrustOrganizations.com <http://www.ScalaSummit.com>
On Tue, Jun 6, 2017 at 1:22 PM, Aaron Meurer ***@***.***> wrote:
If you can get it to work on Cygwin or the Linux subsystem or some other
way, please report back. Would love to have some docs for it if it can be
made to work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#257 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AA9JrFuL7Vg8jKGw8PeRwJpH-VJqXyFMks5sBabegaJpZM4NxnUQ>
.
|
Does the Linux subsystem require using a separate Python from the Windows one? |
If I remember correctly it comes with its own Python. This idea is
reinforced because no amount of apt-get remove could get rid of all the
Pythons. Plus I know Ubuntu uses a lot of Python internally, so that makes
sense.
And yes, if Python 3 is installed on Windows it doesn't show up
automatically in the Ubuntu shell -- you have to apt-get it yourself.
…-- Bruce Eckel
www.MindviewInc.com <http://www.mindviewinc.com/>
Blog: BruceEckel.github.io
www.WinterTechForum.com
www.AtomicScala.com
www.Reinventing-Business.com
http://www.TrustOrganizations.com <http://www.ScalaSummit.com>
On Tue, Jun 6, 2017 at 1:45 PM, Aaron Meurer ***@***.***> wrote:
Does the Linux subsystem require using a separate Python from the Windows
one?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#257 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AA9JrMW4GjBB5Z-HnoSyg-w-7WxJvWwMks5sBaxbgaJpZM4NxnUQ>
.
|
So it's a completely different environment. I wasn't sure if you could mix and match Windows executables somehow. That's a bit limiting, as it means you'd have to get whatever you're debugging running in the Linux subsystem to use PuDB. But if it doesn't have many dependencies it's probably not that bad. |
Well, not precisely. If you install pure command-line apps in Ubuntu you
can call them from DOS/Powershell as if they were native Windows programs,
which is pretty amazing IMO. And for other apps you can just say "bash
appname" and it runs them.
But yes, as far as I can tell there's no way to call Windows programs from
within Ubuntu.
…-- Bruce Eckel
www.MindviewInc.com <http://www.mindviewinc.com/>
Blog: BruceEckel.github.io
www.WinterTechForum.com
www.AtomicScala.com
www.Reinventing-Business.com
http://www.TrustOrganizations.com <http://www.ScalaSummit.com>
On Tue, Jun 6, 2017 at 1:57 PM, Aaron Meurer ***@***.***> wrote:
So it's a completely different environment. I wasn't sure if you could mix
and match Windows executables somehow. That's a bit limiting, as it means
you'd have to get whatever you're debugging running in the Linux subsystem
to use PuDB. But if it doesn't have many dependencies it's probably not
that bad.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#257 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AA9JrCClAF3GxI0bTge9GOJcHhRle9n6ks5sBa8fgaJpZM4NxnUQ>
.
|
pip install
reports success:But when I try to run the first example:
python -m pudb.run binsearch.py
I see:
The text was updated successfully, but these errors were encountered: