English 中文(简体)
Cx_Freeze DL 装载失败
原标题:Cx_Freeze DLL load failed

一段时间以来,我一直在努力使用电解机,但总是发生同样的错误。

    import cx_Freeze.util
ImportError: DLL load failed: %1 is not a valid win32 application

我尝试了32和64条轨道,并尝试了这两条。 py and cxfreeze. 批次

我问的是,我如何工作?

最佳回答

我有同样的问题,这是我的解决办法。

我正在使用A/63/13.2的窗户64比特,我的图书馆设施覆盖了64比特,包括Cx_freeze。 当我试图“冻结”进口PyQt4包裹的方案时,我发现错误:

ImportError: DLL load failed: %1 is not a valid win32 application

在我的案件中,问题在于,Cxfreeze书写器正在复制我的MATLAB安装的2个DL文档(QtCore4.dll和QtGui4.dll),而不是从我的Sharma安装。 MATLAB DLs是32比方,而Adhur DLs是64个比方文件。

阅读你在操作解冻剂时所展示的信息,以建立你的文件。 最后几条电文应为“范围......dll->......dll”。 检查档案名称,并确保所有档案实际上都从Zary的安装中复制,而不是从其他方案复制。

如果他们正在从其他地方(如我的情况)复制,那么你就可以在建筑后自行复印。 否则,你将不得不改变道路,不要把包含32个手法的夹子从属于任何方案。

问题回答

暂无回答




相关问题
Can Django models use MySQL functions?

Is there a way to force Django models to pass a field to a MySQL function every time the model data is read or loaded? To clarify what I mean in SQL, I want the Django model to produce something like ...

An enterprise scheduler for python (like quartz)

I am looking for an enterprise tasks scheduler for python, like quartz is for Java. Requirements: Persistent: if the process restarts or the machine restarts, then all the jobs must stay there and ...

How to remove unique, then duplicate dictionaries in a list?

Given the following list that contains some duplicate and some unique dictionaries, what is the best method to remove unique dictionaries first, then reduce the duplicate dictionaries to single ...

What is suggested seed value to use with random.seed()?

Simple enough question: I m using python random module to generate random integers. I want to know what is the suggested value to use with the random.seed() function? Currently I am letting this ...

How can I make the PyDev editor selectively ignore errors?

I m using PyDev under Eclipse to write some Jython code. I ve got numerous instances where I need to do something like this: import com.work.project.component.client.Interface.ISubInterface as ...

How do I profile `paster serve` s startup time?

Python s paster serve app.ini is taking longer than I would like to be ready for the first request. I know how to profile requests with middleware, but how do I profile the initialization time? I ...

Pragmatically adding give-aways/freebies to an online store

Our business currently has an online store and recently we ve been offering free specials to our customers. Right now, we simply display the special and give the buyer a notice stating we will add the ...

Converting Dictionary to List? [duplicate]

I m trying to convert a Python dictionary into a Python list, in order to perform some calculations. #My dictionary dict = {} dict[ Capital ]="London" dict[ Food ]="Fish&Chips" dict[ 2012 ]="...

热门标签