Could you post the code and error like so please?
import mne
mne.io.read_raw('foo.fif')
Opening raw data file foo.fif...
<ipython-input-2-195fdd12533e>:1: RuntimeWarning: This filename (foo.fif) does not conform to MNE naming conventions. All raw files should end with raw.fif, raw_sss.fif, raw_tsss.fif, _meg.fif, _eeg.fif, _ieeg.fif, raw.fif.gz, raw_sss.fif.gz, raw_tsss.fif.gz, _meg.fif.gz, _eeg.fif.gz or _ieeg.fif.gz
raw = mne.io.read_raw('foo.fif')
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
<ipython-input-2-195fdd12533e> in <module>
----> 1 raw = mne.io.read_raw('foo.fif')
~/projects/mne-python/mne/io/_read_raw.py in read_raw(fname, preload, verbose, **kwargs)
94 ext = "".join(Path(fname).suffixes)
95 if ext in readers:
---> 96 return readers[ext](fname, preload=preload, verbose=verbose, **kwargs)
97 else:
98 _read_unsupported(fname)
~/projects/mne-python/mne/io/fiff/raw.py in read_raw_fif(fname, allow_maxshield, preload, on_split_missing, verbose)
480 are updated accordingly.
481 """
--> 482 return Raw(fname=fname, allow_maxshield=allow_maxshield,
483 preload=preload, verbose=verbose,
484 on_split_missing=on_split_missing)
<decorator-gen-240> in __init__(self, fname, allow_maxshield, preload, on_split_missing, verbose)
~/projects/mne-python/mne/io/fiff/raw.py in __init__(self, fname, allow_maxshield, preload, on_split_missing, verbose)
79 while next_fname is not None:
80 raw, next_fname, buffer_size_sec = \
---> 81 self._read_raw_file(next_fname, allow_maxshield,
82 preload, do_check_ext)
83 do_check_ext = False
<decorator-gen-241> in _read_raw_file(self, fname, allow_maxshield, preload, do_check_ext, verbose)
~/projects/mne-python/mne/io/fiff/raw.py in _read_raw_file(self, fname, allow_maxshield, preload, do_check_ext, verbose)
144 check_fname(fname, 'raw', endings)
145 # filename
--> 146 fname = _check_fname(fname, 'read', True, 'fname')
147 ext = os.path.splitext(fname)[1].lower()
148 whole_file = preload if '.gz' in ext else False
<decorator-gen-0> in _check_fname(fname, overwrite, must_exist, name, need_dir, verbose)
~/projects/mne-python/mne/utils/check.py in _check_fname(fname, overwrite, must_exist, name, need_dir, verbose)
242 f'{name} does not have read permissions: {fname}')
243 elif must_exist:
--> 244 raise FileNotFoundError(f'{name} does not exist: {fname}')
245
246 return fname
FileNotFoundError: fname does not exist: /Users/alexrockhill/Desktop/foo.fif
It’s hard to keep track of the thread when the code and the discussion are different locations.