Python installation seems to have gone wrong on my mac. I get the above error no matter what modules I try to use. For example simple code as below gives me the above error:
import datetime
print(datetime.MINYEAR)
The same thing works fine when I try from interactive shell.
What's going wrong?
I have installed python3.4. How can I check if my installation is correct?
I tried uninstalling (How to uninstall Python 2.7 on a Mac OS X 10.6.4?) and installing it again. But no luck.