constructor icon indicating copy to clipboard operation
constructor copied to clipboard

Windows system-wide permissions do not work for Numba

Open larsoner opened this issue 1 year ago • 6 comments

Checklist

  • [X] I added a descriptive title
  • [X] I searched open reports and couldn't find a duplicate

What happened?

  • When doing a system-wide install on Windows, if you have numba installed, Spyder can hang when importing a package that uses @numba.jit (as it tries to compile I think). Maybe this is in part a numba bug since it should be able to figure out if it can create the .so in the given package directory (e.g., mne/<something>.so.
  • Users can also have problems installing packages in the env unless they used an elevated-permissions prompt

See e.g. https://github.com/mne-tools/mne-installers/issues/182

Conda Info

See for example:

https://github.com/mne-tools/mne-installers/blob/main/recipes/mne-python_1.4/construct.yaml

Conda Config

No response

Conda list

No response

Additional Context

Is there a way to disable system-wide installs on Windows? That might be enough to at least avoid the bug for now.

larsoner avatar Apr 20 '23 19:04 larsoner