Hi, I've managed to get my hands on the ms 2003 toolkit, and have
successfully (i think) created a .pyd file in win xp (setup.py is
provided intersystems cache):
--------------------------------------------------------------------
C:\CacheSys\Dev\python>setup.py install
enter directory where you installed Cache'c:\CacheSys
libdir=c:\CacheSys\dev\cpp\lib
include dir=c:\CacheSys\dev\cpp\include
running install
running build
running build_py
running build_ext
running install_lib
creating C:\Program Files\Python243\Lib\site-packages\intersys
copying build\lib.win32-2.4\intersys\pythonbind.py -C:\Program
Files\Python243
\Lib\site-packages\intersys
copying build\lib.win32-2.4\intersys\pythonbind1.pyd -C:\Program
Files\Python2
43\Lib\site-packages\intersys
copying build\lib.win32-2.4\intersys\__init__.py -C:\Program
Files\Python243\L
ib\site-packages\intersys
byte-compiling C:\Program
Files\Python243\Lib\site-packages\intersys\pythonbind.
py to pythonbind.pyc
byte-compiling C:\Program
Files\Python243\Lib\site-packages\intersys\__init__.py
to __init__.pyc
C:\CacheSys\Dev\python>cd \program
files\python243\Lib\site-packages\intersys\
C:\Program Files\Python243\Lib\site-packages\intersys>dir
Volume in drive C is SYSTEM
Volume Serial Number is 3835-49DE
Directory of C:\Program Files\Python243\Lib\site-packages\intersys
31/10/2006 10:47 AM <DIR .
31/10/2006 10:47 AM <DIR ..
19/10/2006 05:50 PM 1,598 pythonbind.py
31/10/2006 10:47 AM 1,961 pythonbind.pyc
31/10/2006 09:44 AM 69,632 pythonbind1.pyd
17/07/2006 05:34 PM 2 __init__.py
31/10/2006 10:47 AM 145 __init__.pyc
5 File(s) 73,338 bytes
2 Dir(s) 16,709,017,600 bytes free
--------------------------------------------------------------------
However, when I try to import pythonbind1.pyd I get the following
error:
Traceback (most recent call last):
File
"C:\PROGRA~1\ACTIVE~1.5\lib\support\dbgp\pythonlib \dbgp\client.py",
line 1843, in runMain
self.dbg.runfile(debug_args[0], debug_args)
File
"C:\PROGRA~1\ACTIVE~1.5\lib\support\dbgp\pythonlib \dbgp\client.py",
line 1538, in runfile
h_execfile(file, args, module=main, tracer=self)
File
"C:\PROGRA~1\ACTIVE~1.5\lib\support\dbgp\pythonlib \dbgp\client.py",
line 596, in __init__
execfile(file, globals, locals)
File "C:\Program
Files\Python243\Lib\site-packages\intersys\tobytest.py", line 1, in
__main__
import pythonbind1.pyd
ImportError: DLL load failed: The specified module could not be found.
Any suggestions? 1 3864
P.S. I have run 'depends', and all the dll's are there, the only error
its throwing up is:
"Warning: At least one module has an unresolved import due to a missing
export function in a delay-load dependent module."
The offending file is mpr.dll in c:\windows\system32\
Any ideas?
Toby
Toby wrote:
Hi, I've managed to get my hands on the ms 2003 toolkit, and have
successfully (i think) created a .pyd file in win xp (setup.py is
provided intersystems cache):
--------------------------------------------------------------------
C:\CacheSys\Dev\python>setup.py install
enter directory where you installed Cache'c:\CacheSys
libdir=c:\CacheSys\dev\cpp\lib
include dir=c:\CacheSys\dev\cpp\include
running install
running build
running build_py
running build_ext
running install_lib
creating C:\Program Files\Python243\Lib\site-packages\intersys
copying build\lib.win32-2.4\intersys\pythonbind.py -C:\Program
Files\Python243
\Lib\site-packages\intersys
copying build\lib.win32-2.4\intersys\pythonbind1.pyd -C:\Program
Files\Python2
43\Lib\site-packages\intersys
copying build\lib.win32-2.4\intersys\__init__.py -C:\Program
Files\Python243\L
ib\site-packages\intersys
byte-compiling C:\Program
Files\Python243\Lib\site-packages\intersys\pythonbind.
py to pythonbind.pyc
byte-compiling C:\Program
Files\Python243\Lib\site-packages\intersys\__init__.py
to __init__.pyc
C:\CacheSys\Dev\python>cd \program
files\python243\Lib\site-packages\intersys\
C:\Program Files\Python243\Lib\site-packages\intersys>dir
Volume in drive C is SYSTEM
Volume Serial Number is 3835-49DE
Directory of C:\Program Files\Python243\Lib\site-packages\intersys
31/10/2006 10:47 AM <DIR .
31/10/2006 10:47 AM <DIR ..
19/10/2006 05:50 PM 1,598 pythonbind.py
31/10/2006 10:47 AM 1,961 pythonbind.pyc
31/10/2006 09:44 AM 69,632 pythonbind1.pyd
17/07/2006 05:34 PM 2 __init__.py
31/10/2006 10:47 AM 145 __init__.pyc
5 File(s) 73,338 bytes
2 Dir(s) 16,709,017,600 bytes free
--------------------------------------------------------------------
However, when I try to import pythonbind1.pyd I get the following
error:
Traceback (most recent call last):
File
"C:\PROGRA~1\ACTIVE~1.5\lib\support\dbgp\pythonlib \dbgp\client.py",
line 1843, in runMain
self.dbg.runfile(debug_args[0], debug_args)
File
"C:\PROGRA~1\ACTIVE~1.5\lib\support\dbgp\pythonlib \dbgp\client.py",
line 1538, in runfile
h_execfile(file, args, module=main, tracer=self)
File
"C:\PROGRA~1\ACTIVE~1.5\lib\support\dbgp\pythonlib \dbgp\client.py",
line 596, in __init__
execfile(file, globals, locals)
File "C:\Program
Files\Python243\Lib\site-packages\intersys\tobytest.py", line 1, in
__main__
import pythonbind1.pyd
ImportError: DLL load failed: The specified module could not be found.
Any suggestions?
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: satish |
last post by:
Hello all,
I have a python module generated by SWIG. When I try to import the moduleI
get the following error :
>>> import overturec
Traceback (most recent call last):
File "<stdin>", line...
|
by: stefan |
last post by:
Hi Folks,
I currenty extended some of my C++ functionality to python and also
embedded python to use python functionality in my C++ system (and use
as well these extended functions).
While...
|
by: Walter Brunswick |
last post by:
I need to import modules with user-defined file extensions that differ from '.py', and also (if possible) redirect the bytecode
output of the file to a file of a user-defined extension.
I've...
|
by: M.N.A.Smadi |
last post by:
HI;
I am having the following error. I am using someone else's code and
all they are doing is pass an argv to a function then
def execute_action(manager, argv):
method_name =...
|
by: geoffschmidt |
last post by:
I'm trying to write an extension in C that delivers callbacks to
Python. The C code starts several threads, and I'd like one of the new
threads that is started to be able to deliver callbacks to...
|
by: advance scout |
last post by:
HELP! My database is suddenly corrupted. My computer was acting funny
(very sluggish) and was shut down. Access had been already been closed down
but computer was acting very slow , so perhaps it...
|
by: daniel |
last post by:
there's a dll extension used to be imported with no error under version
2.4.3, but the new python complains that the name of the module can't
be found. seems not mentioned in the official...
|
by: Mani Chandra |
last post by:
--- On Wed, 13/2/08, Mani Chandra <mc_i2020@yahoo.co.inwrote:
Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
|
by: Marc Oldenhof |
last post by:
Hello all,
I'm pretty new to Python, but use it a lot lately. I'm getting a crazy
error trying to do operations on a string list after importing numpy.
Minimal example:
Python 2.5.1...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
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...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
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...
|
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,...
|
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...
|
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...
| |