Why the program shows module not found error? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
10th Nov 2019, 7:37 PM
Man lawn
Man lawn - avatar
5 Answers
+ 4
Because as the error message states: There is no module named my_name
10th Nov 2019, 8:04 PM
Rik Wittkopp
Rik Wittkopp - avatar
+ 3
Importing from another code on SoloLearn isn't possible (at least not easily). Your code should be fine on another Python IDE though, just not on here.
10th Nov 2019, 8:04 PM
Russ
Russ - avatar
+ 3
Certain modules may be imported into sololearn. Import random is an example, and you can have lots of fun with it.
10th Nov 2019, 9:47 PM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
So how can I learn about module
10th Nov 2019, 8:12 PM
Man lawn
Man lawn - avatar
+ 1
Certain modules may be imported into sololearn. Import random is an example, and you can have lots of fun with it. Rik Wittkopp Hi , for example?
2nd Mar 2023, 11:16 AM
Felix A. Vargas A.
Felix A. Vargas A. - avatar