edx-dl
edx-dl copied to clipboard
edx-dl: command not found
🚨Please review the Troubleshooting section before reporting any issue. Don't forget also to check the current issues to avoid duplicates.
Subject of the issue
I have completed all the steps for installation. After I have tried to use edx-dl by typing "edx-dl -u [email protected] --list-courses" I got error message saying "edx-dl: command not found"
Your environment
- Linux (Ubuntu/18.04):
- Python version: 3.6.9
- youtube-dl version: 2018.03.14.
- edx-dl version: I get the same error saying "edx-dl: command not found"
Steps to reproduce
Tell us how to reproduce this issue. Please provide us the course URL, and the specific subsection or unit if possible.
Expected behaviour
Terminal should have listed available courses I guess
Actual behaviour
I got error message sayin "edx-dl: command not found"
Confirming. For time being switched to Docker version which I've built locally.
I am facing the same issue. Any suggestion what might i am doing wrong?
Hi,
Maybe you missed, python ./edx-dl.py -u [email protected] --list-courses
Note the python in front of it and the ./
Else are you using python virtualenv?
If yes, before running the script, move to the virtual env and next run the command line by doing source virtualenv_folder_chosed_at_env_creation/bin/activate
. You will see in parenthesis something at the beginning of the command line.
Next, run the edx command line.
To leave the virtualenv, simply type deactivate
Kind regards
I actually expected it to be in the global PATH
got the same error too
even after specifying that "python ./" PATH, no such file or directory found.
any help please
First check that you have python installed: which python
should returns /usr/bin/python
.
Go the directory where you cloned the repository (where edx-dl.py is located). If you installed it using python virtualenv, do source virtualenv_folder_chosed_at_env_creation/bin/activate
. Else run python ./edx-dl.py -u [email protected] --list-courses