Skip to content
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

edx-dl: command not found #578

Open
mickolegend opened this issue Dec 17, 2019 · 6 comments
Open

edx-dl: command not found #578

mickolegend opened this issue Dec 17, 2019 · 6 comments

Comments

@mickolegend
Copy link

🚨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 user@user.com --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"

@fliker09
Copy link

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

@anustark
Copy link

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

@floviolleau
Copy link

floviolleau commented Apr 18, 2020

Hi,

Maybe you missed, python ./edx-dl.py -u user@user.com --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

@fliker09
Copy link

I actually expected it to be in the global PATH

@ollyimanishimwe
Copy link

got the same error too

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

any help please

@floviolleau
Copy link

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 user@user.com --list-courses

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants