Reputation: 1303
I am working with on a course by coursera, and wanted to try the scripts locally. I got this error:
IOError: [Errno 2] No such file or directory: 'datasets/data.mat'
The file is in the directory and I can see it from Finder on MAC, however, it's not visible form the file explorer in Spyder.
I found this question: Read .mat files in Python and checked that original module according to what is suggested in the first answer, but still the file cannot be reached.
I don't know if it's worth mentioning, but the file has a shortcut icon (even though I've downloaded it directly from coursera).
Why the file is not reachable? and how reach it?
Upvotes: 0
Views: 1019