Pycharm failing to import Pandas

Hi, I'm new to Python and Pycharm. I installed the pandas via the Project Interpreter however when I coded "

import pandas as pd

It is greyed out and prompts a warning as "this inspection detects names that should resolve but don't...." 

Help would be much appreciated.

Thanks,

Gary

1 comment
Comment actions Permalink

Hi Gary,

Let's first check a few basic things:

1. Ensure you didn't name your python file "pandas.py" or any other name equal to package name

2. Open interpreter settings and check interpreter paths. They should list paths where your packages are installed

If this isn't helpful, please provide some screenshots of the following:

- the error,

- project interpreter settings

- project structure

0

Please sign in to leave a comment.