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

[modeller_usage] PYTHONPATH on Windows 7



Hello,

I’ve got Python 2.7.3 on Windows 7:

Python 2.7.3 |EPD 7.3-2 (64-bit)| (default, Apr 12 2012, 15:20:16) [MSC v.1500 64 bit (AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.

I’ve installed Modeller 9.12; but typing

from modeller import *

results in the “ImportError: No module named modeller” error, even though I've got modeller in my python path:

>>> sys.path
['', 'C:\\Python27\\Lib\\idlelib', 'C:\\Program Files (x86)\\Modeller9.12\\modlib\\modeller', 'C:\\Program Files (x86)\\Modeller9.12\\modlib\\python2.7', 'C:\\Python27\\python27.zip', 'C:\\Python27\\DLLs', 'C:\\Python27\\lib', 'C:\\Python27\\lib\\plat-win', 'C:\\Python27\\lib\\lib-tk', 'C:\\Python27', 'C:\\Python27\\lib\\site-packages', 'C:\\Python27\\lib\\site-packages\\PIL', 'C:\\Python27\\lib\\site-packages\\win32', 'C:\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\Python27\\lib\\site-packages\\Pythonwin']
>>> import modeller

Traceback (most recent call last):
  File "<pyshell#5>", line 1, in <module>
    import modeller
ImportError: No module named modeller

I'm sure I've missed something obvious, but can't see it!

Cheers,
Chris
-------------------
Dr Chris Wood
STFC Rutherford Appleton Laboratory
Didcot
OX11 0QX


www.ccpem.ac.uk

Tel: +44(0)1235 567864
Tel: +44(0)7909 586624
Fax: +44(0)1235 567801

Skype: chris_c_wood<callto://chris_c_wood/>

-- 
Scanned by iCritical.