upgraded indigo server / python 3 -> hue error

Posted on
Mon Jan 01, 2024 9:38 pm
wamartei offline
Posts: 13
Joined: May 29, 2019

upgraded indigo server / python 3 -> hue error

Reloading plugin "Hue Lights 2022.16.55" using API v3.0
Starting plugin "Hue Lights 2022.16.55" (pid 61622)
Hue Lights Error Error in plugin execution InitializeMain:

File "plugin.py", line 47, in <module>
File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/Hue Lights.indigoPlugin/Contents/Server Plugin/colormath/color_objects.py", line 4, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/__init__.py", line 144, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/core/__init__.py", line 49, in <module>
type:

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.

We have compiled some common reasons and troubleshooting tips at:

https://numpy.org/devdocs/user/troubles ... error.html

Please note and check the following:

* The Python version is: Python3.10 from "/Library/Application Support/Perceptive Automation/Indigo 2023.1/IndigoPluginHost3.app/Contents/MacOS/IndigoPluginHost3"
* The NumPy version is: "1.22.3"

and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.

Original error was: dlopen(/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-darwin.so, 0x0002): tried: '/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-darwin.so' (no such file), '/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))


Stopping plugin "Hue Lights 2022.16.55" (pid 61622)
Stopped plugin "Hue Lights 2022.16.55"

Posted on
Tue Jan 02, 2024 1:43 am
wamartei offline
Posts: 13
Joined: May 29, 2019

Re: upgraded indigo server / python 3 -> hue error

actually, following the pip install instructions associated with Sonos plugin resolved this issue for me with the Hue plugin

Posted on
Wed Jan 03, 2024 10:48 am
jay (support) offline
Site Admin
User avatar
Posts: 18225
Joined: Mar 19, 2008
Location: Austin, Texas

Re: upgraded indigo server / python 3 -> hue error

wamartei wrote:
Original error was: dlopen(/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-darwin.so, 0x0002): tried: '/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-darwin.so' (no such file), '/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))


This is actually the key error. As we specify in the Moving Indigo to another Mac section of the docs, if you are switching architectures (from Intel to Apple Silicon or vice versa) you must also remove the old Python install before installing Indigo on the target Mac.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 10 guests