Describe the bug
The current most up-to-date version of numpy is 1.22.1. However, numba (which is a requirement of rayflare through the sparse package) requires numpy>=1.18,<1.22. This can cause an issue if numpy is installed first and used to compile S4, because the numpy version used in the Python session must be the same as the numpy version used during S4 compilation. Thus an error occurs if the following happens:
install numpy first (will install the most recent version)
compile and install S4 using numpy 1.22.1
install rayflare, which causes the numpy installation to be downgraded
now you will get an error when trying to use S4, because the numpy version used for compilation and during use are not the same
Environment (please complete the following information):
OS: macOS Monterey 12.0.1, M1 Max Pro chip
Solution:
Installing numba first will automatically cause the right version of numpy to be installed.
Describe the bug The current most up-to-date version of numpy is 1.22.1. However, numba (which is a requirement of rayflare through the sparse package) requires numpy>=1.18,<1.22. This can cause an issue if numpy is installed first and used to compile S4, because the numpy version used in the Python session must be the same as the numpy version used during S4 compilation. Thus an error occurs if the following happens:
Environment (please complete the following information):
Solution: Installing numba first will automatically cause the right version of numpy to be installed.