Question: What is an PYD File?
![Edit Edit](https://user-images.githubusercontent.com/881019/33199760-7dc641dc-d13d-11e7-86c6-d920942df118.png)
A “PYD” file is a compiled extension file for an application built in the Python programming language. Because this file contains information compiled directly from a programming language into machine language, you cannot directly edit a PYD file in any useful way.
![Edit Edit](https://user-images.githubusercontent.com/881019/33199760-7dc641dc-d13d-11e7-86c6-d920942df118.png)
Have you found, downloaded or received an PYD file, but don't know which software program is required to open it?
Before attempting to open an PYD file, you'll need to determine what kind of file you are dealing with and whether it is even possible to open or view the file format.
Answer: Files which are given the .PYD extension are known as Python Dynamic Module files, however other file types may also use this extension. If you are aware of any additional file formats that use the PYD extension, please let us know.
How to open a PYD file:The best way to open an PYD developer file is to simply double-click it and let the default assoisated application open the file. If you are unable to open the file this way, it may be because you do not have the correct application associated with the extension to view or edit the PYD file.
This developer file format was added to our database by a visitor to this site, but no additional information was provided. We have yet to investigate this file type further, or there was not enough information available at the time to report accurately on the format.
Please check back soon for more information as we are constantly updating our file descriptions based on search frequency.
Tip: Try to open the PYD file using a text-editor such as Notepad, as many file types contain simply contain unformatted plain-text and can viewed correctly using this method.
After building with CMake 3.4.2, I can't find cv2.pyd file to use it in a python project.I added source code of the extra text module ( https://github.com/Itseez/opencv_cont... ).It seems that I don't have the usual flag display, the only ones concerning Python are the following :
- INSTALL_PYTHON_EXAMPLES (checked)
- PYTHON2_EXECUTABLE ( to C:/Python27/python.exe )
- PYTHON2_NUMPY_INCLUDE_DIRS ( to C:/Python27/lib/site-packagesnumpy/core/include )
- PYTHON2_NUMPY_INCLUDE_DIRS ( to C:/Python27/lib/site-packages/numpy/core/include )
- PYTHON2_PACKAGES_PATH ( to C:/Python/27/Lib/site-packages )
I also have a version of Python3 installed, with installed directories detailed (Python3_NUMPY_INCLUDE_DIRS, PYTHON3_PACKAGES_PATH )
(more)editretagflag offensiveclosemergedelete
Comments
i know, that it's longish, but please append cmake output to your question
also, PYTHON2_LIBRARY=path/to/pythonxxx.lib <-- the file, not the folder !
Done, but still with the same result
mingw can't link
.lib
files, only .a
ones