Hello,
for a system identification I need the python package sysidentpy.
(see https://pypi.org/project/sysidentpy/)
However, the integration of the package into my Azure Function App does not want to succeed.
Following is my requirements.txt file:
azure-functions
azure-iot-hub
azure-digitaltwins-core
azure-identity
numpy==1.21.0
pandas==1.3.0
matplotlib==3.4.2
sysidentpy==0.1.5.3
The following error is issued:
0:03:13 func-PI-RnD-DEWestMid-001: [08:03:13+0000] Collecting sysidentpy==0.1.5.3
10:03:13 func-PI-RnD-DEWestMid-001: [08:03:13+0000] Using cached sysidentpy-0.1.5.3.tar.gz (21.5 MB)
10:03:14 func-PI-RnD-DEWestMid-001: ERROR: Command errored out with exit status 1:
10:03:14 func-PI-RnD-DEWestMid-001: command: /tmp/oryx/platforms/python/3.9.0/bin/python3.9 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-6gu_bg92/sysidentpy/setup.py'"'"'; file='"'"'/tmp/pip-install-6gu_bg92/sysidentpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r
10:03:14 func-PI-RnD-DEWestMid-001: '"'"', '"'"'
10:03:14 func-PI-RnD-DEWestMid-001: '"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-_3sq2mjs
10:03:14 func-PI-RnD-DEWestMid-001: cwd: /tmp/pip-install-6gu_bg92/sysidentpy/
10:03:14 func-PI-RnD-DEWestMid-001: Complete output (1 lines):
10:03:14 func-PI-RnD-DEWestMid-001: numpy is required during installation
10:03:14 func-PI-RnD-DEWestMid-001: ----------------------------------------
10:03:14 func-PI-RnD-DEWestMid-001: ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
The following article notes that this may be related to the Python version used. According to the article, I need Python version 3.8 and numpy version 1.19.3.
(see https://github.com/wilsonrljr/sysidentpy/issues/39)
I have also tried it with the mentioned numpy version but it did not work either.
My Function App is implemented in Linux. I had set the python version to 3.8 or 3.9 (I am not sure).
Is there a way to check the specific Version (Not whether it is only 3.x but whether it is really 3.8 or 3.9)
And is there a way to set the existing function app to 3.8?
Are there any other comments which could solve the problem.
I hope someone can help me further.
With best regards
Patrick
@Patrick Schneider Have you tried the native build as mentioned previously. If it still didn't help I will suggest you to open the support ticket with us to assist us further.
If you don't have support plan then please let me know so I can help with one time free support ticket to assist you further
@MayankBargali-MSFT Yes I tried the native build but it still doesn`t work.
I don`t have a support plan. It would be great if you could help me with a one time free support ticket.
How does this work?
@Patrick Schneider Please refer to my private comment for more details.
@MayankBargali-MSFT Sorry for the "stupid" question but I don't understand how I can get in touch with you. I have not received any email. Neither to my email nor in Azure portal. Or do I need to open a new support question via "Help + Support" in the portal and link this history (or you) to it (if so where exactly, because I haven't found anything like this).
@Patrick Schneider Please navigate to your post and under comment you will see my private comment with the details how you can reach out to us. Once we have received your email I will share further details how you can open the support ticket.
Sign in to comment