AttributeError: module ‘pandas‘ has no attribute ‘read_csv‘

created at 05-26-2022 views: 7

first try

When I encountered this problem, I saw most of the reasons on the Internet that there were files named with Python feature words such as or under the project file, but they did not exist in my project. No reason was found.


Later, I tried to uninstall and reinstall pandas, no error was reported. Therefore, this problem may also be caused by the mismatch between the versions of pandas and numpy. Record this bug.

created at:05-26-2022
edited at: 05-26-2022: