Skip to content

Troubleshooting

REMitchell edited this page Jul 20, 2022 · 14 revisions

Pip was not installed, or not correctly installed

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

I get a message like "No such file or directory"

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.

I cannot locate the exercise files or don't know where the files are downloaded to

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.

I installed termcolor, but get an error "No module named termcolor"

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.

When running jupyter notebook, I get an error like ".ipynb is not trusted"

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.

Clone this wiki locally