Hiya, I’m developing a django website inside of project IDX. For the past couple of months it’s been fine, but today all of the sudden I’m getting this error
ImportError: Error importing numpy: you should not try to import numpy from
its source directory; please exit the numpy source tree, and relaunch
your python interpreter from there.
error: cannot delete path '/nix/store/dmi4riqgx0x6jjbh043g76kzhl1pw0w0-nuke-references.drv' because it is in use by '/nix/store/h74cv5wirhzmijbwgfr2jy6hy4zfw7li-gcc-12.3.0.drv'
I’ve tried to move forward with your way (rebuild, install etc), but it doesn’t work and still resulted in an error.
But because you said to switch NixPackage, I imported the dev.nix (There was none beforehand because I choose “Import to Repo” option when starting out). Then I followed your instructions to install rebuild etc etc. And Et Voilà! It works!