Comments (11)
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.
Ok, will do. The "atvremote" does not run in this env .. :
(pyatv) pi@raspberrypi:/programming/ha_custom_comp_media_player_atv/pyatv $ atvremote/programming/ha_custom_comp_media_player_atv/pyatv $
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:
from pyatv.
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.
Try make a pull and run the script again.
from pyatv.
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.
No problem. Do you mean as pip install or via the same setup script?
from pyatv.
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.
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.
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.
Yes it work.. the setup script works as well as downloading the latest pyatv works as well, we can close it.
from pyatv.
Great! 👍
from pyatv.
Related Issues (20)
- powerState events stop being received after some time
- connected to temporary audio device --> power state incorrect HOT 1
- Controll Telia play or svt play for my in-laws with pyatv. HOT 4
- Access to developer playback hud info (codec, framerate, bandwidth, etc... ) HOT 2
- Uses new 42.0.1 version Cryptography Incompatible. HOT 2
- Password with MacBook HOT 2
- my computer c'ant Authentificate
- Add ability to close or force close applications HOT 1
- Streaming mp3, aac, etc. with atvremote/pyatv to my soundbar works but I can't hear anything HOT 8
- [pyatv.support.mdns] exception during data handling
- atvremote homepod mini HOT 3
- play_url for HomePods and other devices HOT 4
- test_simple_dispatch fails on Python 3.12
- Confused about Power State HOT 1
- AppleTV not waking up HOT 3
- Unable to scan, connect, do anything with atvremote
- Playing Radio Station URLs and authentication HOT 4
- pip3 install pyatv (on homebridge ) error: externally-managed-environment
- atvremote cli crashes repeatedly
- Import error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyatv.