1

I want to import a local module, which is located in a different folder. I imported like this:

from .utils.embeds import Embeds

Which works, but my IDE shows this:

Attempted relative import beyond top-level package

What am i doing wrong?

  • please check this thread https://stackoverflow.com/questions/49039436/how-to-import-a-module-from-a-different-folder does it help ? – user12386945 Oct 29 '20 at 08:18
  • honstly not really, i dont really unterstand what the error message means –  Oct 29 '20 at 09:26

0 Answers0