annotation not available in Python 3.6.8
See original GitHub issueTraceback (most recent call last):
File "/media/kavan/DATA/**/**/main.py", line 4, in <module>
from dbus_next.aio import MessageBus
File "/media/kavan/DATA/**/**/venv_3_6/lib/python3.6/site-packages/dbus_next/__init__.py", line 1, in <module>
from . import aio
File "/media/kavan/DATA/**/**/venv_3_6/lib/python3.6/site-packages/dbus_next/aio/__init__.py", line 1, in <module>
from .message_bus import MessageBus
File "/media/kavan/DATA/**/**/venv_3_6/lib/python3.6/site-packages/dbus_next/aio/message_bus.py", line 1
from __future__ import annotations
^
SyntaxError: future feature annotations is not defined
ik this is easy. i will fix this and open new PR when i have time
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
future-annotations - PyPI
future-annotations. A backport of __future__ annotations to python<3.7. Installation. pip install future-annotations. Usage.
Read more >python - Use annotations on Pytnon 3.6.5 - Stack Overflow
I've found this answer on github and I'm reposting it in case anyone ends up here like me. As pointed out by @ForceBru...
Read more >Python Release Python 3.6.8
If installing Python 3.6 as a non-privileged user, you may need to escalate to administrator privileges to install an update to your C...
Read more >What's New In Python 3.6 — Python 3.11.1 documentation
Just as for function annotations, the Python interpreter does not attach any particular meaning to variable annotations and only stores them in the ......
Read more >typing — Support for type hints — Python 3.11.1 documentation
The Python runtime does not enforce function and variable type annotations. They can be used by third party tools such as type checkers,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
4bcf72a
@acrisci Sorry I was working on application galaxy and hit this similar issue. Thanks for correcting me.