Help Me! I’m new! I’ve been using Python Idle for learning basics but decided to switch to VSCode as a Harvard Professor advised in his tutorial for convenience.
Q. Trying to Import the Basic Cowsay module using PIP (cmd in VSC Terminal: pip install cowsay), getting an ERROR (bash: pip: cmd not found). What am I doing wrong?
Installed Python Extensions in VSCode
Tried creating a New File – X
Tried installing the module directly – X
Still getting error
3
Answers
You need to install PIP seperately.
First you need to download the file get-pip.py for open up terminal or command prompt and then run the below command:
After that, based on your Operating system you can try the below:
Linux & Mac:
Windows:
You can try manual installation by visiting to pip manual installation; download the script, then navigate to the folder having that script
cd your_folderName
and runpython get-pip.py
The correct to install. Released: Mar 16, 2024