Inspector shows unresolved reference for package when it shouldn't

已回答

I have the package django-import-export installed with pip.

In code, the package import name is different: import_export.

I just installed the newest PyCharm (2016.3), and it is now showing me red-lined inspector warnings for every import of the import_export package. This all worked fine in the previous version. And, in fact, the code runs fine, too.

Is this a known bug? It seems like a really simple thing to get wrong.

1

Please, file this issue to PyCharm issue tracker: https://youtrack.jetbrains.com/issues/PY and attach screenshots that show the problem, thank you.

0

Hi Thomas, thanks for filing the ticket. I was able to reproduce your issue and put notes in the comments. I also nudged Andrey, who originally replied on Twitter.

0

请先登录再写评论。