473,465 Members | 1,538 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Python port to Swiss Ephemeris work with 2.3?

Hi, I was just wondering if anyone knows whether it's possible to use the
Python port to the Swiss Ephemeris with the latest version Python 2.3?
I downloaded it from the vault, and it worked fine with Python 2.2.2, but
then when I switched to Python 2.3 it gives me this error:

"ImportError: DLL load failed: The specified module could not be found"

Yet it has no problem importing the rest of the modules which are in the
same directory as the dll. Does anyone know what's going on? Am I stuck
using the older version of Python for the Swiss Ephemeris? Thanks -Dave
Jul 18 '05 #1
6 2912

"Dave" <bl********@yahoo.com> wrote in message
news:73*************************@posting.google.co m...
Hi, I was just wondering if anyone knows whether it's possible to use the
Python port to the Swiss Ephemeris with the latest version Python 2.3?
I downloaded it from the vault, and it worked fine with Python 2.2.2, but
then when I switched to Python 2.3 it gives me this error:

"ImportError: DLL load failed: The specified module could not be found"

Yet it has no problem importing the rest of the modules which are in the
same directory as the dll. Does anyone know what's going on? Am I stuck
using the older version of Python for the Swiss Ephemeris? Thanks -Dave


There's a Python port in the Vaults? Great!!! I'll see what I can figure
out about it. At a rough guess, it has to be recompiled for the new version.

BTW - have you checked on the Swiss Ephemeris mailing list? Who's
the author?

John Roth
Jul 18 '05 #2
> There's a Python port in the Vaults? Great!!! I'll see what I can figure
out about it. At a rough guess, it has to be recompiled for the new version.
BTW - have you checked on the Swiss Ephemeris mailing list? Who's the author?
John Roth


Joshua Solomon is quoted as the author in the readme file.
I didn't know there was a Swiss list, and I just did a websearch and
got their address (sw******@astro.ch). I will post there, too. For
now, I reinstalled
2.2.2 and also downloaded the updated IdleFork which gives me the 2.3
IDE
while running 2.2. But, since 2.3 is supposed to be 20-30% faster, it
would
be nice if the port worked with that. Let me know if you have any
more
advice or info. Thanks -Dave
Jul 18 '05 #3

"Dave" <bl********@yahoo.com> wrote in message
news:73**************************@posting.google.c om...
There's a Python port in the Vaults? Great!!! I'll see what I can figure
out about it. At a rough guess, it has to be recompiled for the new version. BTW - have you checked on the Swiss Ephemeris mailing list? Who's the author? John Roth


Joshua Solomon is quoted as the author in the readme file.
I didn't know there was a Swiss list, and I just did a websearch and
got their address (sw******@astro.ch). I will post there, too. For
now, I reinstalled
2.2.2 and also downloaded the updated IdleFork which gives me the 2.3
IDE
while running 2.2. But, since 2.3 is supposed to be 20-30% faster, it
would
be nice if the port worked with that. Let me know if you have any
more
advice or info. Thanks -Dave


I found it on the Vaults under the Misc heading. Looks good.
Looks a lot better than my interface.

You need to recompile using the same compiler that Python
was compiled with (I believe that's VC 6 for the Windows version.)
Extension modules ***always*** need to be recompiled for major
Python releases.

John Roth
Jul 18 '05 #4
> I found it on the Vaults under the Misc heading. Looks good.
Looks a lot better than my interface.
You need to recompile using the same compiler that Python
was compiled with (I believe that's VC 6 for the Windows version.)
Extension modules ***always*** need to be recompiled for major
Python releases. John Roth


Thanks John, I wouldn't know how to do that since I haven't worked
with C much. -Dave
Jul 18 '05 #5

"Dave" <bl********@yahoo.com> wrote in message
news:73**************************@posting.google.c om...
I found it on the Vaults under the Misc heading. Looks good.
Looks a lot better than my interface.
You need to recompile using the same compiler that Python
was compiled with (I believe that's VC 6 for the Windows version.)
Extension modules ***always*** need to be recompiled for major
Python releases. John Roth


Thanks John, I wouldn't know how to do that since I haven't worked
with C much. -Dave


Sigh. I don't either. My copy of VC6 is the cheap one that only
includes the C++ compiler. Unfortunately, the C module was
generated by SWIG, which makes converting it to C++ so
I can compile it right out of the question.

John Roth
Jul 18 '05 #6
Quoting John Roth (ne********@jhrothjr.com):
You need to recompile using the same compiler that Python was
compiled with (I believe that's VC 6 for the Windows version.)
Extension modules ***always*** need to be recompiled for major
Python releases.


Is that really true under Windows? It's not true on Unix releases:
Guido takes exquisite care to make sure that Python releases are
binary-compatible. Is it possible that moving the file around somehow
might make Python sufficiently aware?

--G.

--
Geoff Gerrietts <geoff at gerrietts dot net>
-rw-rw-rw-: permissions of the beast

Jul 18 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

28
by: Erik Johnson | last post by:
This is somewhat a NEWBIE question... My company maintains a small RDBS driven website. We currently generate HTML using PHP. I've hacked a bit in Python, and generally think it is a rather...
4
by: John Benson | last post by:
Hi, I've been experimenting with Lua on my Tandem Himalaya K100 system (a decade-old 4-CPU fault-tolerant server from Tandem/Compaq/HP) because it looked like it was simpler to port than Python....
23
by: anton.vredegoor | last post by:
Here's my situation: I'm typing this in a public library on a computer with OS windows 2000 server. I can run Internet explorer, word, excel and powerpoint, that's it. Maybe java, but it seems...
159
by: petantik | last post by:
Are there any commercial, or otherwise obfuscators for python source code or byte code and what are their relative advantages or disadvantages. I wonder because there are some byte code protection...
99
by: Shi Mu | last post by:
Got confused by the following code: >>> a >>> b >>> c {1: , ], 2: ]} >>> c.append(b.sort()) >>> c {1: , ], 2: , None]}
28
by: H J van Rooyen | last post by:
Hi, I want to write a small system that is transaction based. I want to split the GUI front end data entry away from the file handling and record keeping. Now it seems almost trivially easy...
28
by: windandwaves | last post by:
Can someone tell me why I should learn python? I am a webdeveloper, but I often see Python mentioned and I am curious to find out what I am missing out on. Thank you Nicolaas
15
by: kyosohma | last post by:
Hi, I am trying to get a small group of volunteers together to create Windows binaries for any Python extension developer that needs them, much like the package/extension builders who volunteer...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.