Ask coding questions

← Back to all posts
How to install in main.py instead of shell
PikachuB2005 (8)

To run this I first have to type
pip install youtube-search
in the shell. I want to know how to import it in the python file.

Answered by Mioun (20) [earned 5 cycles]
View Answer
Comments
hotnewtop
Mioun (20)

you need to download youtube-search module by means of

poetry add youtube-search
PikachuB2005 (8)

Thanks! I hated typing it in whenever I opened the repl...

ch1ck3n (1629)

@Mioun This also helped me in my projects. I keep have to re-install django-cors-headers