+ 2
Why I can't import modules in Python?
Modules can't work on the interpreter/compiler
7 Respuestas
+ 6
You can import modules with:
import <module name>
If you get an error message, the desired module is not available or can not be used/supported.
+ 3
Maybe you have to install them first, e.g.
https://code.sololearn.com/c80BReGK9i1L
What modules are you trying to import and what errors are you getting? Can you post a link to your code in the playground?
+ 2
Sololearn doesn't supports gui modules,it works perfectly for other modules given you install them first
+ 1
Did you install the packages for the module in the correct path , also using virtual environment may cause like these issues.
0
I mean in the Sololearn Compiler
0
In terminal and other compilers the scripts works perfectly
0
Thank you, it worked, but as you said GUI modules are not supported.