Change python execution version on OS X

24 views
Skip to first unread message

Lucas Vickers

unread,
Aug 24, 2011, 9:54:06 AM8/24/11
to Winpdb
Hello,

I'm OS X, python2.6 is my default ( /usr/bin/python , not a symbolic
link ). I used macports to install a variety of different pythons.
I would like to have winpdb launch with python2.7, but I can't easily
replace my /usr/bin/python so I was hoping there is a way to configure
which python winpdb launches with.

I tried putting 'alias python="/opt/local/bin/python2.7"' in my bash
profile but it doesn't do anything for winpdb.

is there any way I can tell winpdb which python to use?

thanks

Dominique

unread,
Sep 1, 2011, 6:19:48 PM9/1/11
to Winpdb
One way I've found to do this (there may be better) is to use virtual
environments. Create a virtualenv with the Python binary of your
choice and install winpdb in the virtualenv.

Dominique

Lucas Vickers

unread,
Sep 2, 2011, 8:08:08 PM9/2/11
to win...@googlegroups.com
haven't heard of this.  I'll take a look, thanks!




--
You received this message because you are subscribed to the Google Groups "Winpdb" group.
To post to this group, send email to win...@googlegroups.com.
To unsubscribe from this group, send email to winpdb+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/winpdb?hl=en.


Reply all
Reply to author
Forward
0 new messages