example-scripts
example-scripts copied to clipboard
Install will force to install the newest numpy but numba requires lower version
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.