How to fix “Attempted relative import in non-package” even with __init__.py

Yes. You’re not using it as a package.

python -m pkg.tests.core_test

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)