I am very new at Python and I am getting this error:
Traceback (most recent call last):
File "mountain.py", line 28, in ?
from toolkit.interface import interface
ImportError: No module named toolkit.interface
(local directory)/site-packages/toolkit/interface.py
(local directory)/site-packages/toolkit/examples/mountain.py
python mountain.py
from toolkit.interface import interface
sys.path
/site-packages
__init__.py.bin
__init__.py.bin
sys.path
Based on your comments to orip's post, I guess this is what happened:
__init__.py
on windows.__init__.py
(now called __init__.py.bin
) means python doesn't understand toolkit as a package.__init__.py
in the appropriate directory and everything works... ?