# compile error in m1 chip with numpy version

**URL:** <https://forum.opencv.org/t/compile-error-in-m1-chip-with-numpy-version/763>\
**Category:** Python\
**Created:** [January 9, 2021, 7:25pm UTC](https://forum.opencv.org/t/compile-error-in-m1-chip-with-numpy-version/763 "2021-01-09T19:25:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stereo\_Wang](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/stereo_wang/32/432_2.png) [@Stereo\_Wang](https://forum.opencv.org/u/Stereo_Wang)\
**Post date:** [January 9, 2021, 7:25pm UTC](https://forum.opencv.org/t/compile-error-in-m1-chip-with-numpy-version/763/1 "2021-01-09T19:25:52Z")

</div>

I need to install opencv-python with Tensorflow-macos env

### Actual behaviour

in opencv-python45 source code  
pip wheel . --verbose to compile

### Error

ERROR: Command errored out with exit status 1: /Users/sean/Documents/sysvenv/tf24v/bin/python3 /Users/sean/Documents/sysvenv/tf24v/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /private/var/folders/gy/jzs3xnwd1z3203d75y\_31nxc0000gn/T/pip-build-env-en64krht/overlay --no-warn-script-location -v --no-binary :none: --only-binary :none: -i [https://pypi.org/simple](https://pypi.org/simple) – setuptools wheel scikit-build cmake pip ‘numpy==1.13.3; python\_version==’"’"‘3.6’"’"’’ ‘numpy==1.14.5; python\_version==’"’"‘3.7’"’"’’ ‘numpy==1.17.3; python\_version==’"’"‘3.8’"’"’’ ‘numpy==1.19.3; python\_version\>=’"’"‘3.9’"’"’’ Check the logs for full command output.

it lookalike the bumpy version problem.  
But In Tensorflow-macos it it 1.8.5 and python is 3.8  
Does anynoe have the same problem?  
thanks

---

<div class="post-metadata">

**Author:** ![spmallick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/spmallick/32/8_2.png) [@spmallick](https://forum.opencv.org/u/spmallick)\
**Post date:** [January 9, 2021, 7:28pm UTC](https://forum.opencv.org/t/compile-error-in-m1-chip-with-numpy-version/763/2 "2021-01-09T19:28:50Z")

</div>

Just confirming I had the same problem recently. Haven’t had the chance to look into it yet.

---

<div class="post-metadata">

**Author:** ![crackwitz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/crackwitz/32/14_2.png) [@crackwitz](https://forum.opencv.org/u/crackwitz)\
**Post date:** [January 10, 2021, 10:27am UTC](https://forum.opencv.org/t/compile-error-in-m1-chip-with-numpy-version/763/3 "2021-01-10T10:27:53Z")

</div>

> [@Stereo\_Wang](#):
>
> Check the logs for full command output.

I would recommend that. no idea where those would be. look around in some of those temp paths.
