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:
"ImportErro r: 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 6 2932
"Dave" <bl********@yah oo.com> wrote in message
news:73******** *************** **@posting.goog le.com... 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:
"ImportErro r: 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
> 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
"Dave" <bl********@yah oo.com> wrote in message
news:73******** *************** ***@posting.goo gle.com... 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
> 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
"Dave" <bl********@yah oo.com> wrote in message
news:73******** *************** ***@posting.goo gle.com... 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
Quoting John Roth (ne********@jhr othjr.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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 cool language. I've done Perl and like it, there are a few features
of PHP I like but overall am not too excited about it. I have found PHP's
strtotime() function to be quite flexible and handy and we make liberal use
of it.
I have not yet really...
|
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. Since I've only got 128 MB
per CPU and the system is already loaded with SQL and transaction processing
monitor software, it's small footprint was also very attractive. Anyway
that's how I got interested in Lua.
There has already been some...
|
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 to be flaky.
I want to run python scripts from this computer. At home I have a
multi-computer network (from better times) but no internet access
anymore, I could use this to try out solutions. I also have access to a
friends computer which has...
|
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
available for java and .NET, although from what i've read these seem to
be not comprehensive as protection schemes
|
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]}
| |
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 using the sockets module to communicate
between machines on the same LAN, so that I want to do the record keeping on one
machine.
|
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
|
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 their time to
create Linux RPMs.
The main thing I need are people willing to test the binaries to make
sure the extension is stable. This would require installing the binary
and probably downloading the source too to get the developer's test
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |