Skip to content

Problem during compilation #988

@benoitgoyet

Description

@benoitgoyet

Hi,

I had to reset my computer. And I can(t succeed on compiling using mbed cli.
It used to work before reset, but not any more...

I get the following error message :

[mbed] Working path "/Users/goyetbenoit/Documents/10_PROGRAMATION/troporteur" (program)
Traceback (most recent call last):
File "/Users/goyetbenoit/Documents/10_PROGRAMATION/troporteur/mbed-os/tools/make.py", line 30, in
from tools.utils import args_error
File "/Users/goyetbenoit/Documents/10_PROGRAMATION/troporteur/mbed-os/tools/utils.py", line 32, in
from intelhex import IntelHex
File "/usr/local/lib/python3.9/site-packages/intelhex/init.py", line 44, in
from intelhex.compat import (
File "/usr/local/lib/python3.9/site-packages/intelhex/compat.py", line 60, in
array_tobytes = getattr(array.array, "tobytes", array.array.tostring)
AttributeError: type object 'array.array' has no attribute 'tostring'
[mbed] ERROR: "/usr/local/opt/python@3.9/bin/python3.9" returned error.
Code: 1
Path: "/Users/goyetbenoit/Documents/10_PROGRAMATION/troporteur"
Command: "/usr/local/opt/python@3.9/bin/python3.9 -u /Users/goyetbenoit/Documents/10_PROGRAMATION/troporteur/mbed-os/tools/make.py -t ARM -m NUCLEO_L432KC --source . --build ./BUILD/NUCLEO_L432KC/ARM"
Tip: You could retry the last command with "-v" flag for verbose output

Does anyone has some idea?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions