ImportError: No module named pandas

You’re missing a few (not terribly clear) steps. Pandas is distributed through pip as a wheel, which means you need to do:

pip install wheel
pip install pandas

You’re probably going to run into other issues after this – it looks like you’re installing on Windows which isn’t the most friendly of targets for NumPy, SciPy, and Pandas. Alternatively, you could pickup a binary installer from here.

You also had an error installing NumPy. Like before, I recommend grabbing a binary installer for this, as it’s not a simple process. However, you can resolve your current error by installing this package from Microsoft.

While it’s completely possible to get a perfect environment setup on Windows, I have found the quality-of-life for a Python developer is vastly improved by setting up a Debian VM. Especially with the scientific packages, you will run into many cases like this.

Leave a Comment

tech