error in deploying

File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 541, in _run_script
    exec(code, module.__dict__)File "/mount/src/cliphub/styt2.py", line 2, in <module>
    from pytube import YouTube

Hey @as69, welcome to the forum! :balloon:

Would you mind sharing a bit more of the error traceback?
My intuition is that you didn’t add pytube into your app requirements, so the app fails to load the module.

Please add a line pytube into a file called requirements.txt.

Thanks,

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.