Closed lmcg62 closed 2 months ago
Hey @lmcg62, thanks for reporting. The problem related to the traceback shown above is fixed in our latest version (5.5.3). And I think the crash you mentioned about running mne
code is fixed in that version too.
@larsoner, @drammock, does a more recent version of MNE come with Spyder 5.5.3?
Spyder 5.5.3 is what our installer currently specifies:
...but AFAICT the last released installer used 5.5.0 (which matches what @lmcg62 reports above). A new installer will come out after our release of MNE 1.7, which is due this month.
Thanks @drammock for the info! Do you have nightly installers to test and see if @lmcg62's kernel crash is solved in 5.5.3?
no we don't currently provide nightly installers, sorry. FWIW, our "installer" is more like anaconda, it bundles MNE-Python plus dependencies, IDEs, and optional related analysis packages, creates a conda env for the user, etc. It's not just MNE-Python (which is pure python and can be installed directly from github if you want the latest dev version).
Ok, so how you do you install MNE as a Python package? I looked for it in Conda-forge and found several packages that start with mne
, so I don't know which one to use.
conda install mne
or pip install mne
. The standalone installer is, as I said, an anaconda-like thing that installs a whole environment including lots of extra stuff including IDEs. We do this as a way to make it easier to get started with MNE for someone who is new to Python and used to MATLAB / GUIs.
Thanks @drammock!
@mrclary, could you check if you're able to reproduce this problem on a Mac? Thanks!
I'm not sure what you want me to test. I was able to create an environment and launch Spyder from that environment.
$ mamba create -n mne python=3.10 mne spyder
I did not see any issues. If the kernel crashes as a result of running code, then I would need the Testdata.bdf
file referenced in the OP in order to run that code.
Oh yeah, sorry, I didn't see that @lmcg62 was using a bdf
file in their code.
@lmcg62, could you upload that file to test things in our side? Thanks!
(meanwhile, our latest installer is out, which should ship Spyder 5.5.3 5.5.4)
Thanks for the news @drammock!
Closing because we didn't hear back from @lmcg62, Hopefully the problem is solved for you now.
Description
What steps will reproduce the problem?
import numpy as np import nme input_fname = "/Users/larissa.mcginn/Desktop/Internship files/Testdata.bdf" raw = mne.io.read_raw_bdf(input_fname) print(raw) print(raw.info) raw.plot(start=0, duration=10) raw.compute_psd(fmin=30,fmax=100).plot(picks="data", exclude="bads") raw.plot(duration=5, n_channels=10)
Traceback
Versions
Dependencies