Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install with the v1.2.4 of octo4a #13

Open
Portaill opened this issue Apr 26, 2023 · 0 comments
Open

Can't install with the v1.2.4 of octo4a #13

Portaill opened this issue Apr 26, 2023 · 0 comments

Comments

@Portaill
Copy link

Hi, i was wondering if any one know how a slove this problem ?

Installing plugin...

Installing plugin from uploaded file.../usr/bin/python3 -m pip --disable-pip-version-check install file:///tmp/tmp39jfxlu1.zip --no-cache-dirProcessing /tmp/tmp39jfxlu1.zipInstalling build dependencies: startedInstalling build dependencies: finished with status 'done'Getting requirements to build wheel: startedGetting requirements to build wheel: finished with status 'done'Preparing metadata (pyproject.toml): startedPreparing metadata (pyproject.toml): finished with status 'done'Collecting meross-iot>=0.4.5.4Downloading meross_iot-0.4.5.9-py2.py3-none-any.whl (89 kB)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 89.8/89.8 kB 2.1 MB/s eta 0:00:00Requirement already satisfied: OctoPrint>=1.7.3 in /usr/lib/python3.10/site-packages (from OctoPrint-PSUControl-Meross==0.13.1) (1.8.7)Requirement already satisfied: requests>=2.19.1 in /usr/lib/python3.10/site-packages (from meross-iot>=0.4.5.4->OctoPrint-PSUControl-Meross==0.13.1) (2.28.2)Collecting paho-mqtt>=1.5.0Downloading paho-mqtt-1.6.1.tar.gz (99 kB)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 99.4/99.4 kB 13.0 MB/s eta 0:00:00Preparing metadata (setup.py): startedPreparing metadata (setup.py): finished with status 'done'Collecting aiohttp[speedups]>=3.7.4.post0Downloading aiohttp-3.8.4.tar.gz (7.3 MB)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.3/7.3 MB 8.2 MB/s eta 0:00:00Installing build dependencies: startedInstalling build dependencies: finished with status 'done'Getting requirements to build wheel: startedGetting requirements to build wheel: finished with status 'done'Installing backend dependencies: startedInstalling backend dependencies: finished with status 'done'Preparing metadata (pyproject.toml): startedPreparing metadata (pyproject.toml): finished with status 'done'Requirement already satisfied: OctoPrint-FileCheck>=2021.2.23 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (2021.2.23)Requirement already satisfied: OctoPrint-FirmwareCheck>=2021.10.11 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (2021.10.11)Requirement already satisfied: OctoPrint-PiSupport>=2022.6.13 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (2022.6.13)Requirement already satisfied: argon2_cffi<22,>=21.3.0 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (21.3.0)Requirement already satisfied: cachelib<0.3,>=0.2 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (0.2.0)Requirement already satisfied: Click<9,>=8.0.3 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (8.1.3)Requirement already satisfied: colorlog<7,>=6 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (6.7.0)Requirement already satisfied: emoji<2,>=1.4.2 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (1.7.0)Requirement already satisfied: feedparser<7,>=6.0.8 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (6.0.10)Requirement already satisfied: filetype<2,>=1.0.7 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (1.2.0)Requirement already satisfied: Flask-Assets<3,>=2.0 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (2.0)Requirement already satisfied: Flask-Babel<3,>=2.0 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (2.0.0)Requirement already satisfied: Flask-Login<0.6,>=0.5 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (0.5.0)Requirement already satisfied: Flask-Limiter<3,>=2.6 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (2.9.2)Requirement already satisfied: flask<2.2,>=2.1 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (2.1.3)Requirement already satisfied: frozendict<3,>=2.0 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (2.3.7)Requirement already satisfied: future<1,>=0.18.2 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (0.18.3)Requirement already satisfied: markdown<4,>=3.2.2 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (3.4.3)Requirement already satisfied: netaddr<0.9,>=0.8 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (0.8.0)Requirement already satisfied: netifaces<1,>=0.11 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (0.11.0)Requirement already satisfied: passlib<2,>=1.7.4 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (1.7.4)Requirement already satisfied: pathvalidate<3,>=2.4.1 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (2.5.2)Requirement already satisfied: pkginfo<2,>=1.7.1 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (1.9.6)Requirement already satisfied: psutil<6,>=5.8 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (5.9.4)Requirement already satisfied: pylru<2,>=1.2 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (1.2.1)Requirement already satisfied: pyserial<4,>=3.4 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (3.5)Requirement already satisfied: PyYAML<6,>=5.4.1 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (5.4.1)Requirement already satisfied: sarge==0.1.6 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (0.1.6)Requirement already satisfied: semantic_version<3,>=2.8.5 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (2.10.0)Requirement already satisfied: sentry-sdk<2,>=1.5.7 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (1.21.0)Requirement already satisfied: tornado<7,>=6.0.4 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (6.3.1)Requirement already satisfied: watchdog<2,>=1 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (1.0.2)Requirement already satisfied: websocket-client<2,>=1.2.1 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (1.5.1)Requirement already satisfied: werkzeug<2.1,>=2.0 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (2.0.3)Requirement already satisfied: wrapt<1.15,>=1.14 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (1.14.1)Requirement already satisfied: zeroconf<0.34,>=0.33 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (0.33.4)Requirement already satisfied: zipstream-ng<2.0.0,>=1.3.4 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (1.5.0)Requirement already satisfied: blinker<2,>=1.4 in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (1.6.2)Requirement already satisfied: regex in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (2022.10.31)Requirement already satisfied: unidecode in /usr/lib/python3.10/site-packages (from OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (1.3.6)Collecting yarl<2.0,>=1.0Downloading yarl-1.9.2.tar.gz (184 kB)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 184.7/184.7 kB 12.5 MB/s eta 0:00:00Installing build dependencies: startedInstalling build dependencies: finished with status 'done'Getting requirements to build wheel: startedGetting requirements to build wheel: finished with status 'done'Preparing metadata (pyproject.toml): startedPreparing metadata (pyproject.toml): finished with status 'done'Collecting async-timeout<5.0,>=4.0.0a3Downloading async_timeout-4.0.2-py3-none-any.whl (5.8 kB)Collecting frozenlist>=1.1.1Downloading frozenlist-1.3.3.tar.gz (66 kB)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.6/66.6 kB 6.8 MB/s eta 0:00:00Installing build dependencies: startedInstalling build dependencies: finished with status 'done'Getting requirements to build wheel: startedGetting requirements to build wheel: finished with status 'done'Preparing metadata (pyproject.toml): startedPreparing metadata (pyproject.toml): finished with status 'done'Collecting aiosignal>=1.1.2Downloading aiosignal-1.3.1-py3-none-any.whl (7.6 kB)Collecting attrs>=17.3.0Downloading attrs-23.1.0-py3-none-any.whl (61 kB)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 13.8 MB/s eta 0:00:00Requirement already satisfied: charset-normalizer<4.0,>=2.0 in /usr/lib/python3.10/site-packages (from aiohttp[speedups]>=3.7.4.post0->meross-iot>=0.4.5.4->OctoPrint-PSUControl-Meross==0.13.1) (3.1.0)Collecting multidict<7.0,>=4.5Downloading multidict-6.0.4.tar.gz (51 kB)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.3/51.3 kB 5.2 MB/s eta 0:00:00Installing build dependencies: startedInstalling build dependencies: finished with status 'done'Getting requirements to build wheel: startedWARNING: Missing build requirements in pyproject.toml for multidict<7.0,>=4.5 from https://files.pythonhosted.org/packages/4a/15/bd620f7a6eb9aa5112c4ef93e7031bcd071e0611763d8e17706ef8ba65e0/multidict-6.0.4.tar.gz (from aiohttp[speedups]>=3.7.4.post0->meross-iot>=0.4.5.4->OctoPrint-PSUControl-Meross==0.13.1).WARNING: The project does not specify a build backend, and pip cannot fall back to setuptools without 'wheel'.Getting requirements to build wheel: finished with status 'done'Installing backend dependencies: startedInstalling backend dependencies: still running...Installing backend dependencies: finished with status 'done'Preparing metadata (pyproject.toml): startedPreparing metadata (pyproject.toml): finished with status 'done'Collecting aiodnsDownloading aiodns-3.0.0-py3-none-any.whl (5.0 kB)Collecting BrotliDownloading Brotli-1.0.9.zip (510 kB)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 510.2/510.2 kB 4.3 MB/s eta 0:00:00Preparing metadata (setup.py): startedPreparing metadata (setup.py): finished with status 'done'Requirement already satisfied: sgmllib3k in /usr/lib/python3.10/site-packages (from feedparser<7,>=6.0.8->OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (1.0.0)Requirement already satisfied: itsdangerous>=2.0 in /usr/lib/python3.10/site-packages (from flask<2.2,>=2.1->OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (2.1.2)Requirement already satisfied: Jinja2>=3.0 in /usr/lib/python3.10/site-packages (from flask<2.2,>=2.1->OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (3.1.2)Requirement already satisfied: webassets>=2.0 in /usr/lib/python3.10/site-packages (from Flask-Assets<3,>=2.0->OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (2.0)Requirement already satisfied: pytz in /usr/lib/python3.10/site-packages (from Flask-Babel<3,>=2.0->OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (2023.3)Requirement already satisfied: Babel>=2.3 in /usr/lib/python3.10/site-packages (from Flask-Babel<3,>=2.0->OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (2.12.1)Requirement already satisfied: ordered-set<5,>4 in /usr/lib/python3.10/site-packages (from Flask-Limiter<3,>=2.6->OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (4.1.0)Requirement already satisfied: typing-extensions>=4 in /usr/lib/python3.10/site-packages (from Flask-Limiter<3,>=2.6->OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (4.5.0)Requirement already satisfied: rich<13,>=12 in /usr/lib/python3.10/site-packages (from Flask-Limiter<3,>=2.6->OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (12.6.0)Requirement already satisfied: limits>=2.8 in /usr/lib/python3.10/site-packages (from Flask-Limiter<3,>=2.6->OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (3.4.0)Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3.10/site-packages (from requests>=2.19.1->meross-iot>=0.4.5.4->OctoPrint-PSUControl-Meross==0.13.1) (1.26.15)Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3.10/site-packages (from requests>=2.19.1->meross-iot>=0.4.5.4->OctoPrint-PSUControl-Meross==0.13.1) (3.4)Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3.10/site-packages (from requests>=2.19.1->meross-iot>=0.4.5.4->OctoPrint-PSUControl-Meross==0.13.1) (2022.12.7)Requirement already satisfied: ifaddr>=0.1.7 in /usr/lib/python3.10/site-packages (from zeroconf<0.34,>=0.33->OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (0.2.0)Requirement already satisfied: MarkupSafe>=2.0 in /usr/lib/python3.10/site-packages (from Jinja2>=3.0->flask<2.2,>=2.1->OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (2.1.2)Requirement already satisfied: deprecated>=1.2 in /usr/lib/python3.10/site-packages (from limits>=2.8->Flask-Limiter<3,>=2.6->OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (1.2.13)Requirement already satisfied: setuptools in /usr/lib/python3.10/site-packages (from limits>=2.8->Flask-Limiter<3,>=2.6->OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (65.6.0)Requirement already satisfied: importlib-resources>=1.3 in /usr/lib/python3.10/site-packages (from limits>=2.8->Flask-Limiter<3,>=2.6->OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (5.12.0)Requirement already satisfied: packaging<24,>=21 in /usr/lib/python3.10/site-packages (from limits>=2.8->Flask-Limiter<3,>=2.6->OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (23.1)Requirement already satisfied: commonmark<0.10.0,>=0.9.0 in /usr/lib/python3.10/site-packages (from rich<13,>=12->Flask-Limiter<3,>=2.6->OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (0.9.1)Requirement already satisfied: pygments<3.0.0,>=2.6.0 in /usr/lib/python3.10/site-packages (from rich<13,>=12->Flask-Limiter<3,>=2.6->OctoPrint>=1.7.3->OctoPrint-PSUControl-Meross==0.13.1) (2.15.1)Collecting pycares>=4.0.0Downloading pycares-4.3.0.tar.gz (821 kB)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 821.6/821.6 kB 4.8 MB/s eta 0:00:00Installing build dependencies: startedInstalling build dependencies: still running...error: subprocess-exited-with-error× pip subprocess to install build dependencies did not run successfully.│ exit code: 1╰─> [89 lines of output]Collecting setuptoolsUsing cached setuptools-67.7.2-py3-none-any.whl (1.1 MB)Collecting wheelUsing cached wheel-0.40.0-py3-none-any.whl (64 kB)Collecting cffi>=1.5.0Using cached cffi-1.15.1.tar.gz (508 kB)Preparing metadata (setup.py): startedPreparing metadata (setup.py): finished with status 'done'Collecting pycparserUsing cached pycparser-2.21-py2.py3-none-any.whl (118 kB)Installing collected packages: wheel, setuptools, pycparser, cffiDEPRECATION: cffi is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559Running setup.py install for cffi: startedRunning setup.py install for cffi: finished with status 'error'error: subprocess-exited-with-error× Running setup.py install for cffi did not run successfully.│ exit code: 1╰─> [60 lines of output]Package libffi was not found in the pkg-config search path.Perhaps you should add the directory containing libffi.pc'to the PKG_CONFIG_PATH environment variablePackage 'libffi', required by 'virtual:world', not foundPackage libffi was not found in the pkg-config search path.Perhaps you should add the directory containing libffi.pc'to the PKG_CONFIG_PATH environment variablePackage 'libffi', required by 'virtual:world', not foundPackage libffi was not found in the pkg-config search path.Perhaps you should add the directory containing libffi.pc'to the PKG_CONFIG_PATH environment variablePackage 'libffi', required by 'virtual:world', not foundPackage libffi was not found in the pkg-config search path.Perhaps you should add the directory containing libffi.pc'to the PKG_CONFIG_PATH environment variablePackage 'libffi', required by 'virtual:world', not foundPackage libffi was not found in the pkg-config search path.Perhaps you should add the directory containing `libffi.pc'to the PKG_CONFIG_PATH environment variablePackage 'libffi', required by 'virtual:world', not found/usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.warnings.warn(msg, warning_class)running install/usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.warnings.warn(running buildrunning build_pycreating buildcreating build/lib.linux-armv8l-cpython-310creating build/lib.linux-armv8l-cpython-310/cfficopying cffi/init.py -> build/lib.linux-armv8l-cpython-310/cfficopying cffi/api.py -> build/lib.linux-armv8l-cpython-310/cfficopying cffi/backend_ctypes.py -> build/lib.linux-armv8l-cpython-310/cfficopying cffi/cffi_opcode.py -> build/lib.linux-armv8l-cpython-310/cfficopying cffi/commontypes.py -> build/lib.linux-armv8l-cpython-310/cfficopying cffi/cparser.py -> build/lib.linux-armv8l-cpython-310/cfficopying cffi/error.py -> build/lib.linux-armv8l-cpython-310/cfficopying cffi/ffiplatform.py -> build/lib.linux-armv8l-cpython-310/cfficopying cffi/lock.py -> build/lib.linux-armv8l-cpython-310/cfficopying cffi/model.py -> build/lib.linux-armv8l-cpython-310/cfficopying cffi/pkgconfig.py -> build/lib.linux-armv8l-cpython-310/cfficopying cffi/recompiler.py -> build/lib.linux-armv8l-cpython-310/cfficopying cffi/setuptools_ext.py -> build/lib.linux-armv8l-cpython-310/cfficopying cffi/vengine_cpy.py -> build/lib.linux-armv8l-cpython-310/cfficopying cffi/vengine_gen.py -> build/lib.linux-armv8l-cpython-310/cfficopying cffi/verifier.py -> build/lib.linux-armv8l-cpython-310/cfficopying cffi/_cffi_include.h -> build/lib.linux-armv8l-cpython-310/cfficopying cffi/parse_c_type.h -> build/lib.linux-armv8l-cpython-310/cfficopying cffi/_embedding.h -> build/lib.linux-armv8l-cpython-310/cfficopying cffi/_cffi_errors.h -> build/lib.linux-armv8l-cpython-310/cffirunning build_extbuilding '_cffi_backend' extensioncreating build/temp.linux-armv8l-cpython-310creating build/temp.linux-armv8l-cpython-310/cgcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Os -fomit-frame-pointer -g -O2 -Os -fomit-frame-pointer -g -O2 -Os -fomit-frame-pointer -g -O2 -DTHREAD_STACK_SIZE=0x100000 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.10 -c c/_cffi_backend.c -o build/temp.linux-armv8l-cpython-310/c/_cffi_backend.oc/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory15 | #include <ffi.h>| ^~~~~~~compilation terminated.error: command '/usr/bin/gcc' failed with exit code 1[end of output]note: This error originates from a subprocess, and is likely not a problem with pip.error: legacy-install-failure× Encountered error while trying to install package.╰─> cffinote: This is an issue with the package mentioned above, not pip.hint: See above for output from the failure.[end of output]note: This error originates from a subprocess, and is likely not a problem with pip.error: subprocess-exited-with-error× pip subprocess to install build dependencies did not run successfully.│ exit code: 1╰─> See above for output.note: This error originates from a subprocess, and is likely not a problem with pip.Installing build dependencies: finished with status 'error'Looks like the plugin was already installed. Forcing a reinstall./usr/bin/python3 -m pip --disable-pip-version-check install file:///tmp/tmp39jfxlu1.zip --no-cache-dir --ignore-installed --force-reinstall --no-depsProcessing /tmp/tmp39jfxlu1.zipInstalling build dependencies: startedInstalling build dependencies: finished with status 'done'Getting requirements to build wheel: startedGetting requirements to build wheel: finished with status 'done'Preparing metadata (pyproject.toml): startedPreparing metadata (pyproject.toml): finished with status 'done'Building wheels for collected packages: OctoPrint-PSUControl-MerossBuilding wheel for OctoPrint-PSUControl-Meross (pyproject.toml): startedBuilding wheel for OctoPrint-PSUControl-Meross (pyproject.toml): finished with status 'done'Created wheel for OctoPrint-PSUControl-Meross: filename=OctoPrint_PSUControl_Meross-0.13.1-py3-none-any.whl size=25522 sha256=8822b896e416dce1cc50e4a5691d7954a95f1f40885e3c3670dbacb7c8436de6Stored in directory: /tmp/pip-ephem-wheel-cache-m468cucz/wheels/7d/b7/f7/944292d5b4ba08e5ed7eecbaf876ae405881e9073bad07f91dSuccessfully built OctoPrint-PSUControl-MerossInstalling collected packages: OctoPrint-PSUControl-MerossSuccessfully installed OctoPrint-PSUControl-Meross-0.13.1WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venvDone!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant