example-scripts icon indicating copy to clipboard operation
example-scripts copied to clipboard

Install will force to install the newest numpy but numba requires lower version

Open xarthurx opened this issue 1 year ago • 0 comments

Installing collected packages: numpy
  Attempting uninstall: numpy
    Found existing installation: numpy 1.21.0
    Uninstalling numpy-1.21.0:
      Successfully uninstalled numpy-1.21.0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
numba 0.55.1 requires numpy<1.22,>=1.18, but you have numpy 1.22.3 which is incompatible.
Successfully installed numpy-1.22.3

Currently, the default install process requires to install numpy < 1.22, due to numba requirement. However, the default behaviour by pip install -r requirements.txt force the lower versioned numpy to be uninstalled and install the newest version, causing errors.

xarthurx avatar Sep 05 '22 09:09 xarthurx