Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 4835c4b

Browse files
committed
numpy import problem
1 parent c39dae6 commit 4835c4b

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

create_wheel/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def __len__(self):
2626
packages=['cv2'],
2727
package_data={'cv2': ['*.so*', '*.mvcmd', '*.xml']},
2828
include_package_data=True,
29-
install_requires=['numpy'],
29+
install_requires=['numpy~=1.19.2'],
3030
classifiers=[
3131
'Development Status :: 5 - Production/Stable',
3232
'Environment :: Console',

download_all_stuff.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ cd $ROOT_DIR
4545

4646
if [[ ! -d ./venv ]]; then
4747
virtualenv --clear --always-copy -p /usr/bin/python3 ./venv
48-
./venv/bin/pip3 install numpy
48+
./venv/bin/pip3 install -r requirements.txt
4949
fi

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
numpy==1.19.2

tests/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
numpy>=1.16.0,<1.19.0
2-
tensorflow-cpu>=2.4.0
1+
tensorflow-cpu>=2.4.1
2+
numpy==1.19.2
33
scipy==1.4.1
44
scikit-image
55
ipython

0 commit comments

Comments
 (0)