Search code examples
pythonvisual-studio-codediscordyoutube-dl

VS Code Python youtube_dl will not import


I have tried every tutorial online and every troubleshooting I have installed youtube_dl in everyway possible all the pip commands and using the exe NOTHING will work I have tried adding it to PATH still nothing at this rate im thinking its an impossible error

Im using visual studio code

enter image description here


Solution

  • See the selected interpreter shown in bottom left corner, run pip show youtube_dl in terminal, check if its location is /selected interpreter/lib/site-packages.

    If it is, reload window should solve your question.

    If not, please open an integrated Terminal and reinstall the module to current selected python environment.

    enter image description here