I have a very simple python program that I am trying to run from PyCharm

```
from collections import Counter
import my_ds

my_list = my_ds.names

a = Counter(my_list)

print(a)

```

I am getting the following error.

```
    from collections import Counter
ImportError: cannot import name 'Counter'

```

However I am able to run this program using the same python interpreter from the commandline. What could be the reason for this?
I am using python 3.4