Comments (1)
Without adding the script to PATH it will not properly work. it is now fixed.
on macOS:
-
Open Terminal.
-
Determine which shell you are using:
You can do this by typingecho $SHELL
.- If it returns something like /bin/zsh, you are using zsh (common in newer macOS versions).
- If it returns /bin/bash, you're using bash.
-
Edit the Appropriate Profile File:
- For bash, you'll edit ~/.bash_profile or ~/.bashrc.
- For zsh, you'll edit ~/.zshrc.
Use a text editor to open the file, for example, type
nano ~/.zshrc
ornano ~/.bash_profile
in the terminal. -
Add the Path to the Profile File:
Add the following line to the end of the file:
export PATH="<the location of the installed script>:$PATH"
This command adds the script to the PATH. -
Save the File and Exit the Editor:
In nano, you can do this by pressing Ctrl + O, Enter to save, and then Ctrl + X to exit. -
Reload the Profile:
To apply the changes, either restart the terminal or source the profile file with
source ~/.zshrc
orsource ~/.bash_profile
, depending on your shell. -
Verify the Installation:
Type
cs-dlp --version
or a similar command in the terminal to ensure the script is now accessible from any directory.
from cs-dlp.
Related Issues (15)
- cs-dlp : The term 'cs-dlp' is not recognized as the name of a cmdlet - windows 10 powershell HOT 2
- Notebooks are not actually downloaded HOT 6
- Command not found HOT 3
- ModuleNotFoundError: No module named 'cs_dlp.coursera_dl'
- ModuleNotFoundError: No module named 'main' HOT 8
- Course Unsupported or Human Error HOT 2
- Error HOT 1
- KeyError: 'mp4VideoUrl' HOT 1
- Unsupported typenames HOT 4
- Cannot Log In? HTTPError: 400 Client Error: Bad Request for url HOT 1
- ImportError: cannot import name 'HTMLParseError' from 'html.parser' HOT 1
- [SOLVED] `--username` and `--password` arguments not recognized! HOT 1
- "Error 403 Client Error" when attempting to download quizzes HOT 1
- Not found 404 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cs-dlp.