[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [modeller_usage] Import error



On 09/07/2015 11:22 PM, GaoKyle wrote:
I'm running win7 64bit, and have both 32bit python3.4 and modeller9.15
installed.
I'm getting this error when I tried to run a simple script:
-------------------------------------
Traceback (most recent call last):
   File "D:\学习\论文\Methylation\modeller\fasta2pir.py", line 1, in
<module>
     from modeller import *
   File "C:\Program Files
(x86)\Modeller9.15\modlib\modeller\__init__.py", line 93, in <module>
     import _modeller
ImportError: DLL load failed: 操作系统无法运行 %1。
-------------------------------------------
Please ignore the Chinese.

Well, the Chinese part is where it tells you what the error is! But fortunately Google can translate it. How are you running the script? Generally this happens due to a 32-bit/64-bit mismatch. Maybe you have a 64-bit version of Python (or Modeller) also installed.

	Ben Webb, Modeller Caretaker
--
             http://www.salilab.org/modeller/
Modeller mail list: https://salilab.org/mailman/listinfo/modeller_usage