-
Notifications
You must be signed in to change notification settings - Fork 438
Troubleshooting
You may get an error message like: Pip is not recognized as an internal or external command, operable program or batch file. or command not found: asdf
I recommend installing pip by downloading the file "get-pip.py" and running it with python get-pip.py See instructions here: https://pip.pypa.io/en/stable/installation/#get-pip-py
Make sure you are using the file path on your computer that you downloaded the exercise files to, and not copying exactly what was written in the course video! You have probably downloaded the exercise files to a different path than I did.
On both Windows and Macs, files are typically downloaded to your "Downloads" folder. If you navigate to the file, you should be able to right-click and select "Get Info" which should show you the full file path.
You may have accidentally installed it under a different version of Python than you're currently using to run your program. On macs, you will likely need to use pip3 to install termcolor, and then the corresponding python3 to run programs.
This can happen when the exercise files you downloaded are "untrusted" and aren't allowed to execute random Python code on your computer. If you choose to trust the exercise files (and please do!), run the command jupyter trust *.ipynb in the exercise files directory.
I have not personally seen this error, but one user had some success by upgrading pip to the latest version. If you experience this error, please let me know!
Do you have a problem that hasn't been answered here or on the web? Tired of trying this with pip? There is another method of installing packages, including Jupyter notebooks. See: https://www.linkedin.com/learning/introducing-jupyter/installing-jupyter