How to import the PyQt5 module in SublimeText?

0

I am using debian 9, install the PyQt5 from pip3 but when executing from SublimeText 3, for example, the following

    import PyQt5
    print("\t _> Ejecucion Correcta")

gives by mistake

  

Traceback (most recent call last):     File "/home/debianu/Documentos/Codigo/codigo/qtEjemplo.py", line 1, in       import PyQt5   ImportError: No module named PyQt5   [Finished in 0.0s with exit code 1]   [shell_cmd: python -u "/home/debianu/Documents/Codigo/codigo/qtExample.py"]   [dir: / home / debianu / Documents / Code / code]   [path: / usr / local / bin: / usr / bin: / bin: / usr / local / games: / usr / games]

but if I run from the console

     :~$ python3 '/home/debianu/Documentos/Codigo/codigo/qtEjemplo.py'
              _> Ejecucion Correcta

You do not have the same problem.

Greetings.

    
asked by sal_defrutas 29.03.2018 в 01:41
source

0 answers