Python module is not a package

Describes the cause and action for error messages.


Error Message(English):
module is not a package

Resolution


関連リンク


5. The import system ? Python 3.7.2 documentation
https://docs.python.org/3/reference/import.html

Python3.5 import from subdirectory doesn't work - Stack Overflow
https://stackoverflow.com/questions/42143418/python3-5-import-from-subdirectory-doesnt-work

How to import custom module in julia
https://stackoverflow.com/questions/37200025/how-to-import-custom-module-in-julia

In Python how can one tell if a module comes from a C ...
https://stackoverflow.com/questions/20339053/in-python-how-can-one-tell-if-a-module-comes-from-a-c-e・・・

What's the purpose of the "__package__" attribute in Python ...
https://stackoverflow.com/questions/21233229/whats-the-purpose-of-the-package-attribute-in-python

Overlapping Python import statements - bad practice?
https://stackoverflow.com/questions/16866679/overlapping-python-import-statements-bad-practice

jedi/imports.py at master ・ davidhalter/jedi ・ GitHub
https://github.com/davidhalter/jedi/blob/master/jedi/evaluate/imports.py

Running tests from UI does not support module structure without ...
https://github.com/Microsoft/PTVS/issues/840

pkgutil.find_loader Python Example - Program Creek
https://www.programcreek.com/python/example/104929/pkgutil.find_loader

[Python-ideas] PEP-499: "python -m foo" should bind to both "__main ...
https://grokbase.com/t/python/python-ideas/15881yfxmd/pep-499-python-m-foo-should-bind-to-both-main-・・・



Name:
Comment:



[return to Python エラーコード一覧]