Closed knorth55 closed 1 year ago
This PR passed all tests.
This PR fixes the build error of master
branch reported in #1780.
I update this PR.
I found that scipy<1.9.0
needs numpy>=1.21.0
, and numpy>=1.21.0
only supports python3
.
So I made two requirements for python2
and python3
.
scipy<1.9.0
(because of meson build error)numpy>=1.21.0
(scipy requires this version)scipy
from aptnumpy<1.21.0
(because of typeDict attribute error)
this PR solves #1780
typeDict
is deprecated innumpy>=1.21.0
inscipy
For python3, I install
scipy
incatkin_virtualenv
to upgradescipy
. https://stackoverflow.com/questions/74852225/attributeerror-module-numpy-has-no-attribute-typedict/74969328#74969328scipy version should be
1.9.0
because ofopenblas
problem withmeson
. https://github.com/scipy/scipy/issues/16308For python2, I install
numpy<1.21.0
to avoid attribute error.So I made two requirements for
python2
andpython3
.scipy<1.9.0
(because of meson build error)numpy>=1.21.0
(scipy requires this version)scipy
from aptnumpy<1.21.0
(because of typeDict attribute error)this PR also specify the python interpreter as
python2
for melodic.