Code Monkey home page Code Monkey logo

Comments (6)

devbis avatar devbis commented on June 12, 2024

Yes, it should be cross-compiled, but numpy requires floating point support in the CPU.
What component requires numpy btw?

from homeassistant_on_openwrt.

AapoTahkola avatar AapoTahkola commented on June 12, 2024

I found this churning along with top command:

root@didi:/usr/lib/python3.10/site-packages/homeassistant/components/stream# time /usr/bin/python3 -m pip install PyTurboJPEG==1.6.6 --timeout 60 --upgrade --constraint /usr/lib/python3.10/site-packages/homeassistant/package_constraints.txt --user
Collecting PyTurboJPEG==1.6.6
  Using cached PyTurboJPEG-1.6.6.tar.gz (11 kB)
  Preparing metadata (setup.py) ... done
Collecting numpy
  Using cached numpy-1.23.1.tar.gz (10.7 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: PyTurboJPEG, numpy
  Building wheel for PyTurboJPEG (setup.py) ... done
  Created wheel for PyTurboJPEG: filename=PyTurboJPEG-1.6.6-py3-none-any.whl size=12169 sha256=f0a5d78bf8ccc3c13056caba0b8f92b6975a7091ced2f9f2e347e8d0f1205b8e
  Stored in directory: /tmp/.cache/wheels/a5/ba/9d/daffdad56d3d6aac0c500b7e58337fb39c23654cd1499c77b7
  error: subprocess-exited-with-error
  
  × Building wheel for numpy (pyproject.toml) 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.
  Building wheel for numpy (pyproject.toml) ... error
  ERROR: Failed building wheel for numpy
Successfully built PyTurboJPEG
Failed to build numpy
ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
Command exited with non-zero status 1
real	22m 31.36s
user	21m 21.32s
sys	0m 58.94s

"Setup failed for camera: Requirements for camera not found: ['PyTurboJPEG==1.6.6']."

Can esphome work without mqtt or why are people preferring it over tasmota? I am a bit overwhelmed on what I still need to fix. mqtt seems to work at times but I have no devices yet.

from homeassistant_on_openwrt.

devbis avatar devbis commented on June 12, 2024

You should remove PyTurboJPEG from "camera" and "stream" components on your installation. Open manifest.json and leave the requirements = []. Those ones won't work without numpy.

from homeassistant_on_openwrt.

devbis avatar devbis commented on June 12, 2024

Can esphome work without mqtt

Yes, it can. It uses internal HA API to communicate while Tasmota uses MQTT. ESPHome is more native and possibly provides more options, while tasmota is restricted with HA MQTT discovery functionality.

from homeassistant_on_openwrt.

AapoTahkola avatar AapoTahkola commented on June 12, 2024

Actually I just looked one of my tasmota devices just autoconfigured itself and shows up. Yeay!! Very responsive no lag at all.

Anyway, I do not know should something be done about these errors.

from homeassistant_on_openwrt.

devbis avatar devbis commented on June 12, 2024

Actually I just looked one of my tasmota devices just autoconfigured itself and shows up. Yeay!! Very responsive no lag at all.

Anyway, I do not know should something be done about these errors.

Remove the requirements from camera/manifest.json and stream/manifest.json

from homeassistant_on_openwrt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.