[SOLVED] import json: AttributeError: 'module' object has no attribute 'VERBOSE'


  • Pybytes Beta

    Using uPython's json library and the latest WiPy 2.0 firmware.

    Edit: Didn't realize there's a built in ujson. Will use that instead.

    >>> import json
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "/flash/lib/json/__init__.py", line 110, in <module>
      File "/flash/lib/json/decoder.py", line 6, in <module>
      File "/flash/lib/json/scanner.py", line 13, in <module>
    AttributeError: 'module' object has no attribute 'VERBOSE'
    >>>
    

Log in to reply
 

Looks like your connection to Pycom Forum was lost, please wait while we try to reconnect.