OSError: Initializing from file failed on csv in Pandas

import pandas as pd
pd.read_csv("your_file.txt", engine='python')

Try this. It totally worked for me.

  • source : http://kkckc.tistory.com/187

I ran into a similar problem. It turned out the CSV I had downloaded had no permissions at all. The error message from pandas did not point this out, making it hard to debug.

Check that your file have read permissions


I had the same issue, you should check your permissions.

After chmod 644 file.csv it worked well.