this inspection detects names that should resolved but don't. Due to dynamic dispatch and duck typing, this is possible in a limited but useful number of cases. Top-level and class-level items are sup

输入第一行代码:import logging;logging.basicConfig(level==logging.INFO)

提示:this inspection detects names that should resolved but don't. Due to dynamic dispatch and duck typing, this is possible in a limited but useful number of cases. Top-level and class-level items are supported better than instance items

在这里找到答案:http://stackoverflow.com/questions/27422248/error-adding-import-lettuce-on-pycharm

this inspection detects names that should resolved but don't. Due to dynamic dispatch and duck typing, this is possible in a limited but useful number of cases. Top-level and class-level items are supported better than instance items

1.press Ctrl+Alt+s to open the settings

2.on the left column, select Project Interpreter

3.on the top right there is a list of python binaries found on your system,pick the right one

4.eventually click the + button to install additional python modules

5.validate

Just in case you are not able to add an other module (that happened to me as well) you can change the project interpreter.  

posted @ 2017-01-08 19:52  避雨亭  阅读(12407)  评论(0编辑  收藏  举报