E6004 Imports Errors

Imports

cannot import own module directory

When this occurs

Module file read error

Example error message

error[E6004]: failed to load module 'foo': permission denied

How to fix

Check file permissions and ensure the module file is readable.

Related errors