I have been following this guide to install youtube-dl on my Android phone.


However, when downloading the videos, I get the following error.

ERROR: unable to open for writing: [Errno 30] Read-only file system:

How would I be able to give write permissions to the pip console of QPython so I can write to a folder on /sdcard?

Running Android Marshmallow 6.0 with root access.


1 Answer 1


You can create conf file in /etc/youtube-dl.conf . There you can specify the output folder by default.

Please specify an output folder where you have write permissions and it will work.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .