---------- Forwarded message --------- From: Airy Sanjeev airy.sanjeev01@gmail.com Date: Thu, May 12, 2022 at 12:27 PM Subject: ImportError To: modeller_usage@salilab.org
Hello
I have installed python 2.7.11 and modeller 10.2, after running the command *python mutate_selection.py > mutate_selection.log*
Following error is showed up:
*Traceback (most recent call last): File "mutate_selection.py", line 12, in <module> from modeller import * File "C:\Users\Asus\Desktop\Modeller10.2\modlib\modeller__init__.py", line 96, in <module> import _modellerImportError: No module named _modeller*
Please do the needful
On 5/12/22 12:00 AM, Airy Sanjeev wrote: > I have installed python 2.7.11 and modeller 10.2, after running the > command /*python mutate_selection.py > mutate_selection.log*/ > Following error is showed up: > > *Traceback (most recent call last): > File "mutate_selection.py", line 12, in <module> > from modeller import * > File > "C:\Users\Asus\Desktop\Modeller10.2\modlib\modeller__init__.py", line > 96, in <module> > import _modeller > ImportError: No module named _modeller*
The most likely explanation is that you installed Python for 32-bit Windows but are using Modeller for 64-bit Windows, or vice versa. Alternatively, your installation is corrupt or incomplete and is missing the _modeller.pyd file.
P.S. While Modeller should work fine with Python 2 for now, Python 2 was discontinued two years ago, and many popular Python libraries (e.g. numpy) have already dropped Python 2 support. I recommend that you switch your workflows to Python 3 as soon as you can.
Ben Webb, Modeller Caretaker
Thank you so much for the suggestions.
On Thu, May 12, 2022 at 9:29 PM Modeller Caretaker < modeller-care@salilab.org> wrote:
> On 5/12/22 12:00 AM, Airy Sanjeev wrote: > > I have installed python 2.7.11 and modeller 10.2, after running the > > command /*python mutate_selection.py > mutate_selection.log*/ > > Following error is showed up: > > > > *Traceback (most recent call last): > > File "mutate_selection.py", line 12, in <module> > > from modeller import * > > File > > "C:\Users\Asus\Desktop\Modeller10.2\modlib\modeller__init__.py", line > > 96, in <module> > > import _modeller > > ImportError: No module named _modeller* > > The most likely explanation is that you installed Python for 32-bit > Windows but are using Modeller for 64-bit Windows, or vice versa. > Alternatively, your installation is corrupt or incomplete and is missing > the _modeller.pyd file. > > P.S. While Modeller should work fine with Python 2 for now, Python 2 was > discontinued two years ago, and many popular Python libraries (e.g. > numpy) have already dropped Python 2 support. I recommend that you > switch your workflows to Python 3 as soon as you can. > > Ben Webb, Modeller Caretaker > -- > modeller-care@salilab.org https://salilab.org/modeller/ > Modeller mail list: https://salilab.org/mailman/listinfo/modeller_usage >
participants (2)
-
Airy Sanjeev
-
Modeller Caretaker