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

[modeller_usage] ImportError: No module named socket (or math)



Hi all,

I just installed Modeller 9v2 on my linux box and ran the examples.
Occasionally I got the Error Messages

ImportError: No module named socket
resp.
ImportError: No module named math.

Does anybody know how to cope with this?

Regards,
Joachim


(Here is an example of the output)


mod9v2 center_of_mass.py
Traceback (most recent call last):
  File "center_of_mass.py", line 3, in ?
    import math
ImportError: No module named math
mod9v2 selection.py
mod9v2 parallel-msg.py
Traceback (most recent call last):
  File "parallel-msg.py", line 2, in ?
    from modeller.parallel import *
  File
"/network/apps/share/modeller-9v2/modlib/modeller/parallel/__init__.py",
line 1, in ?
    from job import job
  File
"/network/apps/share/modeller-9v2/modlib/modeller/parallel/job.py", line
1, in ?
    import socket, random, os, select
ImportError: No module named socket
mod9v2 parallel-task.py
Traceback (most recent call last):
  File "parallel-task.py", line 2, in ?
    from modeller.parallel import *
  File
"/network/apps/share/modeller-9v2/modlib/modeller/parallel/__init__.py",
line 1, in ?
    from job import job
  File
"/network/apps/share/modeller-9v2/modlib/modeller/parallel/job.py", line
1, in ?
    import socket, random, os, select
ImportError: No module named socket