I am adding some Python packages (from pip) to a 3rd-party application's Python interpreter on both Linux and Windows. In the Linux release of their application they compiled Python against GCC 4.xx, while in their Windows release they compiled it against MSC 1900.
On Windows I had to build each Python package that has .pyd
files with the same MSVC version or else I would get runtime errors when attempting to import them in Python. While on Linux I was able to import Python libraries built with any GCC version in a 4.xx-built interpreter.
Can somebody explain how it works or why the binaries built with different MSVC versions don't work together?