Pyd is a library for the D programming language that wraps the raw Python/C API with a cleaner, simpler interface. It makes exposing raw D functions and classes to Python almost trivially simple. It bears certain similarities to Boost.Python, and indeed Boost.Python is a major influence on Pyd.
Questions tagged [pyd]
91 questions
0
votes
1 answer
What may be causing Python to not read .pyc or .pyd files on a new cloud server?
I've searched high and low but haven't found this question precisely asked before. I'm new to this process so the answer may turn out to be very simple.
I'm running Python in an Anaconda virtual environment model which references the Python 2.x…

Griffin Kantz
- 3
- 1
0
votes
1 answer
C++ Boost Python methods from *.pyd library does not work
Good day, I have a few problems with simple examples from boost::python - All methods that must return any types except char const* or create Classes doesn't return anything and all what do I see its RESTART: Shell.
I'm using:
CLion 2018.3.3,…

Ja_Dim
- 143
- 7
0
votes
1 answer
ImportError when running a script in a folder with pyd file/librarys
My script needs to run in a directory with other python files and librarys (.py,.pyd ect) but conflicts with the files, Im guessing its from the file _ctypes.pyd in the same dir as the…

goli
- 83
- 1
- 3
0
votes
1 answer
Unable to import Python module written in C
I have been trying to work out how to make a .pyd (Python Extension Module) file from a C script (without swig or anything else except MinGW) and have successfully built it into a .pyd.
The problem however occurs when I try and import the module.
If…

Xantium
- 11,201
- 10
- 62
- 89
0
votes
0 answers
Cython: ImportError: DLL load failed: %1 is not a valid Win32 application
I compiled my Python code with Cython and got a .pyd file. I want to import it so I was advised to put it in my PYTHONPATH.
Here it is :
In [1]: import sys
In [2]: sys.path
Out[2]:
['',
…

Loïc Poncin
- 511
- 1
- 11
- 30
0
votes
2 answers
Trying to install gRPC python module on Splunk
I am trying to run an external python script "PyClient.py" on Splunk, and it requires the external gRPC module. I installed the gRPC module locally following the quickstart python guide from http://www.grpc.io/docs/quickstart/python.html . The logs…

hridayns
- 697
- 8
- 16
0
votes
1 answer
How to identify which .pyd files are required for the execution of exe files generated using py2exe module
I have written a python script and generated an exe using py2exe on Windows 32 bit OS. While I'm trying to execute the generated exe file, I'm getting the below error:
Traceback (most recent call last):
File "program01.py", line 3, in
…

Ram Murthy
- 25
- 1
- 5
0
votes
1 answer
How can I import .pyd module in IronPython?
I have seen some Q&A about this problem. In most cases, it shows CPython Extensions for IronPython.
But it is too old to download module files. The download link doesn't work, so I can't resolve the problem.
What should I do for using .pyd in…

Morimi
- 29
- 2
0
votes
1 answer
Unable to use pymssql in Python 3.5
I have installed pymssql using pip however It is never found when I try to import into a project.
I get the error, No module found 'pymssql'
I have attempted to copy the .pyd file (pymssql-2.1.2-cp35-cp35m-win_amd64.pyd) to the project directory and…

Harvey
- 1,320
- 3
- 13
- 33
0
votes
1 answer
import matplotlib.pyplot failing: _tkagg.pyd not found but IS in the directory of calling module
Python 3.4
Windows 8.1
Installed modules:
matplotlib 1.3.1 for py 3.4
numpy-MLK 1.9.0b1 for py 3.4
dateutil 2.2 for py 3.4
six 1.7.3 for py 3.4
tcl
tkinter
Also msvcp71.dll is in C:\Windows\System32 (installation docs said it needed to be)
Upon…

Shariar Rahman
- 35
- 3
0
votes
0 answers
jpeg_read_header() crashed in pyd file
I'm programming with libjpeg and the problem came. Fortunately, I found some answers here and tried feeding from jpeg_mem_src() rather than jpeg_stdio_src(), compiling pyd file with VS2010 or gcc, analyzing pyd with dependencywalker and adding some…

Leo
- 43
- 1
- 8
0
votes
1 answer
Compiling pyd file on windows but "This program cannot be run in DOS mode."
I was compiling a C file with gcc on Windows and got pyd file successfully. To my surprise, it shows "This program cannot be run in DOS mode" in hex. Although I still can call the function from it, the program crashed soon, caused by…

Leo
- 43
- 1
- 8
0
votes
1 answer
Using cython extension once compiled [under Windows], how to use .pyd's?
I am used with compiling self-made python extensions under Linux using Cython. On Linux, I use distutils to produce a "myext.so", that I can then simply add to my PYTHONPATH and get the import myext python call available.
Now, I am trying to get it…

Gauthier Boaglio
- 10,054
- 5
- 48
- 85
0
votes
0 answers
Run pyd compiled with python2.6 on python2.7
I have a python pyd module that has been compiled with python26.dll (its 'msparser' by matrixscience, a library to interface with some mass spectrometry data formats). It is possible to use this pyd module on windows with activestate python 2.7. …

Chrismit
- 1,488
- 14
- 23
0
votes
1 answer
Errors when including DES.pyd in python 2.6 solution
I have installed Python 2.7 on my windows 7 x64 system with PyCrypto 2.5 compiled and built in. In my install path of D:\Python27\Lib\site-packages\Crypto\Cipher I see DES.pyd. I have opened it with dependency walker and ensured it had initDES as…

user1678906
- 3
- 2