I encountered this problem when debugging linear regression model:
I also installed Python environment deleted, or this problem after Pycharm rise of the level.
Seriously looked again:
https://www.jianshu.com/p/844ded7d1673
"When naming py script, not with python reserved words, and so the same module name **"
Found to have a "zlib" named in the path code directory:
Delete this path problem is solved.
So the cause of the problem here and the above mentioned one,
"When naming py script / path, not with python reserved words, and so the same module name **"