edx-dl icon indicating copy to clipboard operation
edx-dl copied to clipboard

edx-dl: command not found

Open mickolegend opened this issue 5 years ago • 6 comments

🚨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"

mickolegend avatar Dec 17 '19 13:12 mickolegend

Confirming. For time being switched to Docker version which I've built locally.

fliker09 avatar Feb 23 '20 12:02 fliker09

I am facing the same issue. Any suggestion what might i am doing wrong?

anustark avatar Feb 26 '20 10:02 anustark

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

floviolleau avatar Apr 18 '20 18:04 floviolleau

I actually expected it to be in the global PATH

fliker09 avatar Apr 18 '20 18:04 fliker09

got the same error too

even after specifying that "python ./" PATH, no such file or directory found.

any help please

ollyimanishimwe avatar May 07 '20 11:05 ollyimanishimwe

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

floviolleau avatar May 11 '20 17:05 floviolleau