Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
最后我设法让 pylucene 在我的 windows7 机器上工作,这引发了一个更普遍的问题: 为什么当我在路径中的目录上有一个 dll 时,python 找不到它, 而当我将 dll 放在 c 中时: \windows\system32 - 它确实有效?
使用 Windows 7 32 位
答案可能是,如果您遇到类似的情况,那么首先调用的路径中某处有一个错误的 DLL(并且将 DLL 放入 system32 确保它是第一个)。 因此,如果您将相关的 DLL 放入您的 PATH - 确保它是第一个(或查看每个元素以找出谁领先于您)
回答我自己以供人们将来参考