recently I try to run on linux (debian 9) an app that I am programming on windows with python3 and PyQt5
The problem, I can not import modules from any script with extension .pyw
I explain myself better.
I have the files in the following folder
~/Documentos/Codigo/codigo
The files are
__pycache__
ModuloPy.py
ModuloPyw.pyw
ModuloPyw.ui
when executing the moduloPy.py
script~/Documentos/Codigo/codigo$ python3 moduloPy.py
Traceback (most recent call last):
File "moduloPy.py", line 1, in <module>
from moduloPyw import *
ImportError: No module named 'moduloPyw'
The first three lines of moduloPy.py are the following
#Principal
import sys
from moduloPyw import *
I clarify that I installed PyQt5 correctly and I did not have errors (at least it is I think)
~$ python3
Python 3.5.3 (default, Jan 19 2017, 14:11:04)
[GCC 6.3.0 20170118] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyQt5
>>>
I really did not find anything similar on the internet.
Thank you.