zoukankan      html  css  js  c++  java
  • pycharm中导入模块,提示this inspection detects names that should resolve but don't.due to dynamic dispatch

    导入模块,提示: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 class-level items are supported better than instance items

    1、检查python的解释器用的版本是否正确 file-》settings  (特别是电脑装了几个版本的python,要特别注意)

    2、在运行的时候,看下是否是正常的python解释器

    当前python文件,点击 “Edit Configurations...”

    有的时候导入,还提示:no module named

    1、查看导入的模块是否已经安装

    pip list  

    2、 如果没有,用 pip install XXX 进行安装就行

  • 相关阅读:
    Win10 UWP程序内的文件格式
    第一章
    英语
    BOM
    html基础
    协程
    python
    列表 元组 range
    我的Python学习笔记(四):动态添加属性和方法
    我的Python学习笔记(三):私有变量
  • 原文地址:https://www.cnblogs.com/xiaofeng91/p/15064117.html
Copyright © 2011-2022 走看看