-
-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
question re pip install #215
Comments
I think it is time we revise the installation instructions. Since the installation method of moodle-dl itself is not the best, e.g. if you have installed moodle-dl using your package manager and python gets updated on Arch linux, moodle-dl will not work without reinstallation. Thats why I currently would recommend installing moodle-dl in a python virtual environment. We can collect some best practice for python virtualenv here, and than revise the instructions. You can also look at my instructions here, I added expert installation instructions using virtualenv: https://github.com/C0D3D3V/bbb-dl Better alternative would be, that we ship our own bundels for windows like yt-dlp does, so windows user do no longer need to run installations as administrators. And also investigate how we can fix the installation process using package managers. Regarding your other questions: |
Thank you for your answer. I followed the instructions with the virtual environment. Am on linux but had initially followed the instructions word by word, in order not to screw up.
And yes, yt-dlp says it's not outdated:
After this it just hangs for hours and I must kill it with ctrl+c |
Especially the last block is very concerning. Also the filename to long error is strange, I thought I fixed all filename bugs ^^. All other yt-dlp errors are expected. And you will also get the errors if you run yt-dlp on that URL solo. But please open new issues if you really need some. Because all these errors are external files and probably not that high prio for you. |
Also if you really are interested in these files, than check what URLs are downloaded in each failed task, and open Issues on the yt-dlp repo. |
It could be related to that it's putting the stuff onto an external hdd that's connected via usb3 , it could just be too slow and then lock up? internal simply doesn't have enough space, and ideally it should just work right? But I can kill it and restart it, if that helps and doesn't cause harm. Just wanna be sure I'm not making it all get into a mess. No idea about the too many files open and the max recursion. |
Failed tasks are redownloaded on next run. And also printed at the end of download process. You could try to store the database on a different location (on your main storage) and download files on external hdd. |
you can cancel moodle-dl any time it tries its best to keep its state save. So it will continue where you have stopped |
To store the database in another location use the Maybe we should think about not closing the database at all, while moodle-dl runs. |
Just did that. copied db to local, changed config.jason accordingly. and restarted. Thank you. :) |
Description of the bug
In your install instructions it says "Run pip install moodle-dl as administrator. "
But running 'sudo pip install moodle.dl', pip complains that it is not happy with being run with root privileges:
"WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
"
Can I safely ignore this?
Also I get this:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
isisdl 1.3.19 requires requests~=2.28.1, but you have requests 2.31.0 which is incompatible.
Successfully installed requests-2.31.0
Steps to reproduce the issue
Expected behavior
Possible Fix
Technical details
The text was updated successfully, but these errors were encountered: