coursera-dl / edx-dl

A simple tool to download video lectures from edx.org (and other openedx sites)
GNU Lesser General Public License v3.0
1.93k stars 640 forks source link

zsh: command not found: edx-dl #586

Closed rizabarone closed 4 years ago

rizabarone commented 4 years ago

🚨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

When I was trying to get a list of the courses ( syntax : edx-dl -u [email] -p [password] --list-courses) , it gave me an error message "zsh: command not found: edx-dl" on my terminal

Your environment

Steps to reproduce

Tell us how to reproduce this issue. Please provide us the course URL, and the specific subsection or unit if possible. Here is the course URL : https://courses.edx.org/courses/course-v1:GTx+CS1301xII+3T2019/course/

I typed in the following on my terminal. Here are the steps I took:

  1. pip install edx-dl - the install was successful It showed this message: Successfully installed backports.functools-lru-cache-1.6.1 beautifulsoup4-4.8.2 certifi-2019.11.28 chardet-3.0.4 edx-dl-0.1.11 html5lib-1.0.1 idna-2.8 requests-2.22.0 soupsieve-1.9.5 urllib3-1.25.8 webencodings-0.5.1

  2. pip install --upgrade youtube-dl - this showed the following messages Defaulting to user installation because normal site-packages is not writeable Requirement already up-to-date: youtube-dl in ./Library/Python/2.7/lib/python/site-packages (2020.1.24)

  3. edx-dl -u user@user.com --list-courses
    it showed this error message: zsh: command not found: edx-dl

Note: I put my email and password and replaced ( user@user.com). Below is my syntax edx-dl -u [email] -p [password] --list-courses

I also installed pip before installing edx-dl

Expected behaviour

Tell us what should happen.

Actual behaviour

Tell us what happens instead. If the script fails, please copy the entire output of the command or the stacktrace (don't forget to obfuscate your username and password). If you cannot copy the exception, attach a screenshot. it should install successfully

rizabarone commented 4 years ago

closing this issue, i had to uninstall and reinstall python