会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
菜花小兔
博客园
首页
新随笔
联系
管理
订阅
2018年11月9日
pycharm 导入自定义模块显示红色下划线提示:This inspection detects names that should resolve but don't. Due to dynamic dispatch and duck typing, this is possible in a limited but useful number of cases. Top-level and c
摘要: import 不能识别自定义包名,该类或者包没有灌入python引入库中 解决方案:右击pycharm中项目名-->Mark Directory as -->Resource root,然后重新打开项目红线就消失了 意思:自定义的资源加入到该项目中,这样才能被 import 识别
阅读全文
posted @ 2018-11-09 11:11 菜花小兔
阅读(14741)
评论(3)
推荐(4)
公告