Python module proble | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
- 2

Python module proble

Hello guys, I wanna install turtle module in python in Sololaran. But I'm having problem in installing the module. Can you guys please tell me that how can I install specific module in Sololaran. Kindly let me know, why my module is not installing with this code import os def installl(m): __import__(os.system("python3 -m pip install "+m)) install("turtle") import turtle And my code is getting error. Kindly solve this problem. Thank you guys in advance.

1st Dec 2021, 8:00 AM
Adarsh Addee
Adarsh Addee - avatar
1 Antwort
0
We can install specific module with the code I above mentioned. I forgot the syntax. That's why I'm asking.
1st Dec 2021, 8:25 AM
Adarsh Addee
Adarsh Addee - avatar