PyCharm cannot solve RandomState

Python 3.4, numpy 1.9.2, My PyCharm can't solve RandomState. How:

from numpy.random.mtrand import RandomState

I got a red underline below RandomState

But everything goes well when I use Python 2.7

I tried reinstalling numpy and reloading the python interpreter but still doesn't work.


source to share

All Articles