Git Product home page Git Product logo

Comments (11)

postlund avatar postlund commented on May 30, 2024

Gah, I hate these errors. They usually appear because of a module name conflict with another package. Which is really strange since this is in a virtual environment... Anyways, it's just the test so you can go on anyways. I will try to figure out a solution and come back to you if I find any. Please try to keep this environment around in case we need to test something.

from pyatv.

rosahas avatar rosahas commented on May 30, 2024

Ok, will do. The "atvremote" does not run in this env .. :

(pyatv) pi@raspberrypi:/programming/ha_custom_comp_media_player_atv/pyatv $ atvremote
Traceback (most recent call last):
File "/home/pi/programming/ha_custom_comp_media_player_atv/pyatv/bin/atvremote", line 11, in
load_entry_point('pyatv', 'console_scripts', 'atvremote')()
File "/home/pi/programming/ha_custom_comp_media_player_atv/pyatv/lib/python3.4/site-packages/pkg_resources/init.py", line 560, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/pi/programming/ha_custom_comp_media_player_atv/pyatv/lib/python3.4/site-packages/pkg_resources/init.py", line 2642, in load_entry_point
return ep.load()
File "/home/pi/programming/ha_custom_comp_media_player_atv/pyatv/lib/python3.4/site-packages/pkg_resources/init.py", line 2296, in load
return self.resolve()
File "/home/pi/programming/ha_custom_comp_media_player_atv/pyatv/lib/python3.4/site-packages/pkg_resources/init.py", line 2302, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/home/pi/programming/ha_custom_comp_media_player_atv/pyatv/pyatv/init.py", line 8, in
from zeroconf import ServiceBrowser, Zeroconf
ImportError: No module named 'zeroconf'
(pyatv) pi@raspberrypi:
/programming/ha_custom_comp_media_player_atv/pyatv $

from pyatv.

postlund avatar postlund commented on May 30, 2024

Oh... I have some commits that I though I pushed, but didn't... Will create a PR and merge them right away. Stay put.

from pyatv.

postlund avatar postlund commented on May 30, 2024

Try make a pull and run the script again.

from pyatv.

postlund avatar postlund commented on May 30, 2024

Forgot that this is on a different branch. I rebased it against master and pushed the update. So now you should be able to just pull and run the script. Sorry about that.

from pyatv.

rosahas avatar rosahas commented on May 30, 2024

No problem. Do you mean as pip install or via the same setup script?

from pyatv.

postlund avatar postlund commented on May 30, 2024

The same setup script. But I have pushed this support and released 0.1.1, so that version is OK to use too.

from pyatv.

postlund avatar postlund commented on May 30, 2024

The best would be if you could try this PR in Home Assistant: home-assistant/core#5801

It should contain what is currently the latest and greatest.

from pyatv.

postlund avatar postlund commented on May 30, 2024

Everything needed is on dev in Home Assistant now, so if you just update hass it should hopefully work. Can you verify if does? Also, can you verify if the setup-script works so that we can close this issue?

from pyatv.

rosahas avatar rosahas commented on May 30, 2024

Yes it work.. the setup script works as well as downloading the latest pyatv works as well, we can close it.

from pyatv.

postlund avatar postlund commented on May 30, 2024

Great! 👍

from pyatv.

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.