|
发表于 2018-1-15 22:46:59
|
显示全部楼层
pi@hassbian:~/repository/appdaemon $ sudo pip3 install .
Unpacking /home/pi/repository/appdaemon
Running setup.py (path:/tmp/pip-dw7rn9bz-build/setup.py) egg_info for package from file:///home/pi/repository/appdaemon
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip-dw7rn9bz-build/setup.py", line 6, in <module>
from appdaemon.utils import (__version__)
File "/tmp/pip-dw7rn9bz-build/appdaemon/utils.py", line 119
async def run_in_executor(loop, executor, fn, *args, **kwargs):
^
SyntaxError: invalid syntax
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip-dw7rn9bz-build/setup.py", line 6, in <module>
from appdaemon.utils import (__version__)
File "/tmp/pip-dw7rn9bz-build/appdaemon/utils.py", line 119
async def run_in_executor(loop, executor, fn, *args, **kwargs):
^
SyntaxError: invalid syntax
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip-dw7rn9bz-build
Storing debug log for failure in /root/.pip/pip.log
是python版本的问题吗,这个报错 |
|