I have a problem with importing modules
I am trying to run following simple script in PyCharm:
and got follwoing output
Traceback (most recent call last):
File "C:\Python27\lib\site.py", line 62, in <module>
File "C:\Python27\lib\os.py", line 398, in <module>
File "C:\Python27\lib\UserDict.py", line 83, in <module>
File "C:\Python27\lib\_abcoll.py", line 70, in <module>
File "C:\Python27\lib\abc.py", line 106, in register
if not isinstance(subclass, (type, types.ClassType)):
AttributeError: 'module' object has no attribute 'ClassType'
Process finished with exit code 1
I works nice from python console.I guess the problem is in setting of python interpreter in the PyCharm. But i dont know what to do ?