-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
i'm on mac osx 11.6.5
$ which python3
/Library/Frameworks/Python.framework/Versions/3.6/bin/python3
$ python3 restremote.py -c ./cfg/config.yaml -sc ./cfg/server_config.yaml
2022-04-28 14:25:05,563 INFO Starting with config file ./cfg/config.yaml
Traceback (most recent call last):
File "restremote.py", line 99, in <module>
RESTRemote()
File "/Users/eflister/Library/Python/3.6/lib/python/site-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/Users/eflister/Library/Python/3.6/lib/python/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/Users/eflister/Library/Python/3.6/lib/python/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/eflister/Library/Python/3.6/lib/python/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "restremote.py", line 72, in RESTRemote
module = importlib.import_module('drivers.' + driverName)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/Users/eflister/Downloads/RESTRemote-master/drivers/chromecast.py", line 1, in <module>
import pychromecast
File "/Users/eflister/Library/Python/3.6/lib/python/site-packages/pychromecast/__init__.py", line 14, in <module>
from . import socket_client
File "/Users/eflister/Library/Python/3.6/lib/python/site-packages/pychromecast/socket_client.py", line 24, in <module>
from .controllers import BaseController
File "/Users/eflister/Library/Python/3.6/lib/python/site-packages/pychromecast/controllers/__init__.py", line 4
from __future__ import annotations
^
SyntaxError: future feature annotations is not defined
in config.yaml i set enable: true for the tv. i'm trying to control an lg c1. i haven't figured out the TV's MAC yet.
Metadata
Metadata
Assignees
Labels
No labels