Traceback (most recent call last):
File "/home/<user>/epaper/test.py", line 4, in <module>
import epd2in7
File "/home/<user>/epaper/lib/epd2in7.py", line 31, in <module>
from . import epdconfig
ImportError: attempted relative import with no known parent package
I tried to put files in lib folder, but I got the same result.
What I did wrong? Here is the file code:
I always got this error:
I tried to put files in lib folder, but I got the same result.
What I did wrong? Here is the file code:
Using
"./lib"
gave me error, and I figured out that in this way is working. At least is finding the files.