Git Product home page Git Product logo

Comments (5)

DeerMaximum avatar DeerMaximum commented on August 22, 2024 2

@Aleksey-nt please see #54

from qr-code-generator.

DeerMaximum avatar DeerMaximum commented on August 22, 2024

The requirements are stored in the manifest.json. So the pypng packet.
Home Assistant should install the requirements automatically.

manifest.json

...
"requirements": ["pyqrcode==1.2.1", "pypng==0.0.21", "pillow==10.0.0"]
...

from qr-code-generator.

theautomation avatar theautomation commented on August 22, 2024

Well I am using the latest docker image (2023.8.2) and looks like the pypng package is missing.

home-assistant-6c56494d85-nmnb5:/config# pip3 show pypng
WARNING: Package(s) not found: pypng
home-assistant-6c56494d85-nmnb5:/config# pip show pypng
WARNING: Package(s) not found: pypng

When I manually install the package pip3 install pypng in the container the integration work and can see the qrcode.

from qr-code-generator.

DeerMaximum avatar DeerMaximum commented on August 22, 2024

When you set up the integration for the first time, you should find the following log line in the logs. If not, that's an error from Home Assistant, I can't help you with that.

2023-08-13 22:51:21.065 INFO (SyncWorker_1) [homeassistant.util.package] Attempting install of pypng==0.0.21

from qr-code-generator.

Aleksey-nt avatar Aleksey-nt commented on August 22, 2024

After being updated on Home AS OC 2023.8, does not work.

ERROR: Setup failed for custom integration qr_generator: Requirements for qr_generator not found: ['pillow==9.5.0'].

Unable to install package pillow==9.5.0: ERROR: Cannot install pillow==9.5.0 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts [notice] A new release of pip is available: 23.1.2 -> 23.2.1 [notice] To update, run: pip install --upgrade pip

from qr-code-generator.

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.