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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: command not found edx-dl will not excute #665

Open
walid-dotcom opened this issue Feb 9, 2021 · 0 comments
Open

error: command not found edx-dl will not excute #665

walid-dotcom opened this issue Feb 9, 2021 · 0 comments

Comments

@walid-dotcom
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 installed edx-dl succefully but when i tried using it by typing edx-dl in the terminal it replied that command is not found
i tried also commands suggested to fix the problem from this issue : #578
but it did not work

i copied everything happend in my terminal and included them in actual behavior section
please HELP (sorry if the issue is a mess it is my first )

Your environment

  • Operating System (name/version): Linux Mint 20.1 Cinnamon
  • Python version:3.8.5
  • youtube-dl version:2020.03.24-1
  • edx-dl version:0.1.13

Expected behaviour

give me permission to type my password and start downloading the course

Actual behaviour

walid@walid-HP-Laptop-15-da0xxx:~$ sudo apt update
[sudo] password for walid:
Ign:1 http://mirrors.evowise.com/linuxmint/packages ulyssa InRelease
Hit:2 http://mirrors.evowise.com/linuxmint/packages ulyssa Release
Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Hit:4 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:5 http://ppa.launchpad.net/gerardpuig/ppa/ubuntu focal InRelease
Hit:6 http://archive.canonical.com/ubuntu focal InRelease
Hit:7 http://mirror.marwan.ma/ubuntu focal InRelease
Hit:8 http://ppa.launchpad.net/slgobinath/gcalendar/ubuntu focal InRelease
Get:10 http://mirror.marwan.ma/ubuntu focal-updates InRelease [114 kB]
Get:11 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [486 kB]
Get:12 http://mirror.marwan.ma/ubuntu focal-backports InRelease [101 kB]
Get:13 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages [182 kB]
Get:14 http://security.ubuntu.com/ubuntu focal-security/universe i386 Packages [421 kB]
Get:15 http://mirror.marwan.ma/ubuntu focal-updates/main i386 Packages [417 kB]
Get:16 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [535 kB]
Get:17 http://mirror.marwan.ma/ubuntu focal-updates/main amd64 Packages [802 kB]
Get:18 http://mirror.marwan.ma/ubuntu focal-updates/main amd64 DEP-11 Metadata [264 kB]
Get:19 http://mirror.marwan.ma/ubuntu focal-updates/main amd64 c-n-f Metadata [11.7 kB]
Get:20 http://mirror.marwan.ma/ubuntu focal-updates/universe amd64 Packages [738 kB]
Get:21 http://mirror.marwan.ma/ubuntu focal-updates/universe amd64 DEP-11 Metadata [301 kB]
Get:22 http://mirror.marwan.ma/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:23 http://mirror.marwan.ma/ubuntu focal-backports/universe amd64 DEP-11 Metadata [1,768 B]
Fetched 4,487 kB in 6min 1s (12.4 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.

walid@walid-HP-Laptop-15-da0xxx:~$ sudo apt install python3-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-pip is already the newest version (20.0.2-5ubuntu1.1).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

walid@walid-HP-Laptop-15-da0xxx:~$ pip3 --version
pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)

walid@walid-HP-Laptop-15-da0xxx:~$ pip3 install edx-dl
Collecting edx-dl
Downloading edx_dl-0.1.13-py2.py3-none-any.whl (24 kB)
Requirement already satisfied: youtube-dl>=2018.06.18 in /usr/local/lib/python3.8/dist-packages (from edx-dl) (2021.2.4.1)
Requirement already satisfied: requests>=2.18.4 in /usr/lib/python3/dist-packages (from edx-dl) (2.22.0)
Requirement already satisfied: six>=1.11.0 in /usr/lib/python3/dist-packages (from edx-dl) (1.14.0)
Requirement already satisfied: html5lib>=1.0.1 in /usr/lib/python3/dist-packages (from edx-dl) (1.0.1)
Requirement already satisfied: beautifulsoup4>=4.6.0 in /usr/lib/python3/dist-packages (from edx-dl) (4.8.2)
Installing collected packages: edx-dl
WARNING: The script edx-dl is installed in '/home/walid/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed edx-dl-0.1.13

walid@walid-HP-Laptop-15-da0xxx:~$ edx-dl -u *******@outlook.com https://courses.edx.org/courses/course-v1:edX+edx201+1T2020/course
edx-dl: command not found

walid@walid-HP-Laptop-15-da0xxx:~$ edx-dl
edx-dl: command not found

walid@walid-HP-Laptop-15-da0xxx:~$ python ./edx-dl.py -u *******@outlook.com --list-courses
python: can't open file './edx-dl.py': [Errno 2] No such file or directory

walid@walid-HP-Laptop-15-da0xxx:~$ source virtualenv_folder_chosed_at_env_creation/bin/activate
bash: virtualenv_folder_chosed_at_env_creation/bin/activate: No such file or directory

walid@walid-HP-Laptop-15-da0xxx:~$ which python
/usr/local/bin/python

walid@walid-HP-Laptop-15-da0xxx:~$ sudo python ./edx-dl.py -u *******@outlook.com --list-courses
[sudo] password for walid:
python: can't open file './edx-dl.py': [Errno 2] No such file or directory

walid@walid-HP-Laptop-15-da0xxx:~$ pip install edx-dlPATH
Command 'pip' not found, but there are 18 similar ones.

walid@walid-HP-Laptop-15-da0xxx:~$ edx-dl
edx-dl: command not found

walid@walid-HP-Laptop-15-da0xxx:~$ -no-warn-script-location
-no-warn-script-location: command not found

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

1 participant