Python error attempted relative import in non-package

Describes the cause and action for error messages.


Error Message(English):
error attempted relative import in non-package

Resolution


関連リンク


What is the core reason for this error 'Attempted relative import ...
https://www.quora.com/What-is-the-core-reason-for-this-error-Attempted-relative-import-in-non-packag・・・

What are some good examples of how to do relative imports in ...
https://www.quora.com/What-are-some-good-examples-of-how-to-do-relative-imports-in-python-to-re-use-・・・

Dmytro Kalpakchi
https://www.quora.com/profile/Dmytro-Kalpakchi

Akshay Nath
https://www.quora.com/profile/Akshay-Nath

attempted relative import in non-package error in mavlink - Stack ...
https://stackoverflow.com/questions/24191318/attempted-relative-import-in-non-package-error-in-mavli・・・

How to do relative imports in Python with this structure?
https://stackoverflow.com/questions/14407107/how-to-do-relative-imports-in-python-with-this-structur・・・

Python relative imports
https://stackoverflow.com/questions/21714289/python-relative-imports

Python config ImportError
https://stackoverflow.com/questions/36999598/python-config-importerror

Python: Unit Testing Module and Relative Imports
https://stackoverflow.com/questions/11919620/python-unit-testing-module-and-relative-imports

Hello World - module initialization error: Attempted relative import in ...
https://github.com/Miserlou/Zappa/issues/777



Name:
Comment:



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