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.  


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM