When just beginning to learn python, the module will encounter references can not be used, then you need to add interpreter, this article will be briefly described:
In the File-Settings-Project-Project Interpreter, right click on "+", found in the Available Packages page package required, Install Package to return to programming page, press ctrl, click on the corresponding module to enter comments page.