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