* Python Lesson Learned
@ 2002-06-08 6:19 Dockeen
2002-06-08 10:15 ` Jason Tishler
0 siblings, 1 reply; 4+ messages in thread
From: Dockeen @ 2002-06-08 6:19 UTC (permalink / raw)
To: cygwin
I noticed something interesting this evening. I was playing
with the Cygwin version of dislin. I got everything going for
C and Perl, but Python was complaining of an interpreter
mismatch.
I did a python -v, and saw it was reporting using a flavor of release
2.1. Now, after flailing around a little bit with uninstalling
and reinstalling Python, I finally used my anemic brain and noticed
something important. Somehow (probably through incompetence or
fumble fingering by me), I had ended up with two installations
of Python, one in /usr/local/bin, and the newer one in /usr/bin,
and the older one was being found first. I deleted the older
stuff and now things are working well with dislin. (Oh yeah,
python -v reports version 2.2 being used too).
I don't know how many folks out there use Python in Cygwin, but
I thought my misfortune might be of use to someone some day, even
if only for humor value.
Wayne Keen
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Python Lesson Learned
2002-06-08 6:19 Python Lesson Learned Dockeen
@ 2002-06-08 10:15 ` Jason Tishler
0 siblings, 0 replies; 4+ messages in thread
From: Jason Tishler @ 2002-06-08 10:15 UTC (permalink / raw)
To: cygwin
Wayne,
On Sat, Jun 08, 2002 at 12:14:52AM +0600, Dockeen wrote:
> I noticed something interesting this evening. I was playing
> with the Cygwin version of dislin. I got everything going for
> C and Perl, but Python was complaining of an interpreter
> mismatch.
The above is an unfortunate fact with (at least) Cygwin Python --
shared extensions built for one version of Python will *not* work with
any other version.
> [snip]
> Somehow (probably through incompetence or
> fumble fingering by me), I had ended up with two installations
> of Python, one in /usr/local/bin, and the newer one in /usr/bin,
> and the older one was being found first.
Note that the version in /usr/local is not from a standard Cygwin
package. Did you ever build Python yourself?
Jason
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Python Lesson Learned
@ 2002-06-08 16:20 Dockeen
2002-06-09 16:20 ` Nicholas Wourms
0 siblings, 1 reply; 4+ messages in thread
From: Dockeen @ 2002-06-08 16:20 UTC (permalink / raw)
To: cygwin
With regards to having built Python, that was one of the
first questions I asked myself when I saw what the problem
was and where the other release was.
I sure don't remember doing so, but that means about, well
nothing. I have built gcc many times lately, maybe that
has damaged MY memory.
On the plus side, I did get dislin working with Cygwin.
I had used it a lot with Python, but in this case the
"regular" Python I had installed through Windows (VPython).
I have found the graphics from dislin very useful in my
work, particularly for displaying focal plane data. I'm
going to work on porting some of my tools over the C to
get a speed boost, so getting this working last night makes
me a happy camper. (Of coarse, my 8 year old hasn't started
making request/demands yet this morning)
In case I managed to interest someone through my babbling
about dislin, here is the web site:
http://www.linmpi.mpg.de/dislin/
Wayne Keen
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-06-09 16:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-08 6:19 Python Lesson Learned Dockeen
2002-06-08 10:15 ` Jason Tishler
2002-06-08 16:20 Dockeen
2002-06-09 16:20 ` Nicholas Wourms
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).