You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Replace psutil.virtual_memory() with our own implementation? #12785
Currently, mne.sys_info() requires the psutil package to list the total amount of installed memory. Unfortunately, psutil is not a core dependency, but only part of the [full] extras, which installs a large number of packages.
Since we probably don't want to promote psutil to a core dependency (it is not pure Python), what do you think of rolling our own solution? This could be as simple as:
Sure, assuming we wrap some stuff in a try/except so that we end up with the ? in case there is some problem with the calls (it's not critical info and we don't want mne sys_info to ever fail really)
Activity
larsoner commentedon Aug 13, 2024
Sure, assuming we wrap some stuff in a
try/exceptso that we end up with the?in case there is some problem with the calls (it's not critical info and we don't wantmne sys_infoto ever fail really)cbrnr commentedon Aug 13, 2024
OK, PR incoming!