Skip to content

Commit

Permalink
revert to numpy 1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
driedler committed Jan 24, 2022
1 parent db140b1 commit f50ed65
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ TF_DIR=$ROOT_DIR/tensorflow
TFLITE_DIR=$TF_DIR/lite
TFLM_DIR=$TFLITE_DIR/micro

export PACKAGE_VERSION=1.2.0
export PACKAGE_VERSION=1.2.2
PYTHON=python3.9
BUILD_DIR=/tmp/tflite_micro_runtime_build
GIT_HASH=`git rev-parse HEAD`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

set -e


sudo apt update
sudo apt install -y software-properties-common
sudo add-apt-repository -y ppa:deadsnakes/ppa
sudo apt-get install -y python3-distutils
sudo apt-get install -y python3.7-dev python3-pip
python3.7 -m pip install numpy==1.19 pybind11
python3.7 -m pip install numpy==1.19.* pybind11==2.9.*
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ sudo apt install -y software-properties-common
sudo add-apt-repository -y ppa:deadsnakes/ppa
sudo apt-get install -y python3-distutils
sudo apt-get install -y python3.9-dev python3-pip
python3.9 -m pip install numpy~=1.22 pybind11~=2.9
python3.9 -m pip install numpy==1.19.* pybind11==2.9.*
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@
package_dir={'': '.'},
package_data={'': ['*.so', '*.pyd']},
install_requires=[
'numpy >=1.22,<1.23', # Higher versions have a compatibility issue.
'numpy >=1.19,<1.20', # Higher versions have a compatibility issue.
])

0 comments on commit f50ed65

Please sign in to comment.