Skip to content

Syntax error when import MQTTClient on Raspian 9 with Python 3.5.3 #156

Closed
@jmangum

Description

@jmangum
  • Platform/operating system (i.e. Raspberry Pi with Raspbian operating system,
    Windows 32-bit, Windows 64-bit, Mac OSX 64-bit, etc.): Operating System: Raspbian GNU/Linux 9 (stretch)
    Kernel: Linux 4.19.66-v7+

  • Python version (run python -version or python3 -version): Python 3.5.3 (default, Apr 5 2021, 09:00:41)
    [GCC 6.3.0 20170516] on linux

  • Error message you are receiving, including any Python exception traces:

from Adafruit_IO import MQTTClient
Traceback (most recent call last):
File "", line 1, in
File "/home/pi/.local/lib/python3.5/site-packages/Adafruit_IO/init.py", line 21, in
from .client import Client
File "/home/pi/.local/lib/python3.5/site-packages/Adafruit_IO/client.py", line 266
res = self._get(f'feeds/{feed}/details')
^
SyntaxError: invalid syntax

  • List the steps to reproduce the problem below (if possible attach code or commands
    to run): [See python exception above. Just trying to import MQTTClient.]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions