bash: Python import – Command not found for pandas

Sounds like you need to open the Python prompt first.

Try this:

$ python
>>> import pandas as pd

Where $ is the prompt in your bash shell, and the >>> is the prompt in your Python prompt. Don’t type these in.

Leave a Comment