Help us understand the problem. What is going on with this article?

Pylint で no-member エラーを出なくする

More than 3 years have passed since last update.

numpy や OpenCV などのモジュールを使っている時、以下のようなメッセージが表示されます。

E: 35,65: Module 'numpy' has no 'deg2rad' member (no-member)
E: 65,28: Module 'cv2' has no 'imread' member (no-member)


pylint --extension-pkg-whitelist=numpy,cv2

SublimeLinterなら、User Settings の pylintセクションを以下のようにします。

            "pylint": {
                "@disable": false,
                "args": ["--extension-pkg-whitelist=numpy, cv2"],
                "disable": "",
                "enable": "",
                "excludes": [],
                "paths": [],
                "rcfile": "",
                "show-codes": false
2016年にPython覚えました 他には、Java, JavaScript, C++を少々 React, Redux, Material-UI も覚えました Elasticsearch, AWSも使えます
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away