Error importing a .pyd file (as a python module) from a .pyo file

后端 未结 2 1530
感情败类
感情败类 2020-12-31 05:47

I am running pygame (for Python) on Windows. I have some .pyo files and some .pyd files. I have another script for somewhere else that is trying to import one of the .pyd fi

2条回答
  •  梦谈多话
    2020-12-31 06:09

    The script that does not work is somewhere else? I suspect Python simply does not find the .pyd file. See http://docs.python.org/tutorial/modules.html#the-module-search-path for how to sort it out.

提交回复
热议问题