I need some help to install modules in python | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
- 1

I need some help to install modules in python

Import os From os import system system(ā€œpip install moduleā€) BUT THE OUTPUT TELLS AFTER THE INSTALLATION THAT THIS MODULE IS NOT INSTALLED

22nd May 2022, 11:58 AM
ššˆš™š€š‘
ššˆš™š€š‘  - avatar
1 Resposta
+ 2
I think this problem is related to virtual environment. Use sys.executable to ensure that you will call the same pip associated with the current runtime. refer : https://stackoverflow.com/a/50255019
22nd May 2022, 1:29 PM
Vinit Sonawane
Vinit Sonawane - avatar