Re: cant perform west init


KAY LI NG <kayli0109@...>
 

Hi Marc,

Thanks for the response.
In that case, can i install multiple version of Python? What version of Python needed in this project?

Regards,
Kay Li

On Wed, 3 Jul 2019 at 10:07, Herbert, Marc <marc.herbert@...> wrote:

You have a very old Python version in your HOME directory, is that on purpose? Does some other project require it maybe?

 

Marc

 

From: <users@...> on behalf of KAY LI NG <kayli0109@...>
Date: Tuesday, 2 July 2019 at 18:15
To: "users@..." <users@...>
Subject: [Zephyr-users] cant perform west init

 

Hi there,

 

While performing west init, i face this issue.

 

$ west init zephyrproject

 

Traceback (most recent call last):

  File "/home/gchee2/.local/bin/west", line 11, in <module>

    sys.exit(main())

  File "/home/gchee2/.local/lib/python3.4/site-packages/west/_bootstrap/main.py", line 501, in main

    init(wrap_argv[1:])

  File "/home/gchee2/.local/lib/python3.4/site-packages/west/_bootstrap/main.py", line 257, in init

    bootstrap(args)

  File "/home/gchee2/.local/lib/python3.4/site-packages/west/_bootstrap/main.py", line 323, in bootstrap

    exist_ok=True)

  File "/home/gchee2/.local/lib/python3.4/site-packages/west/_bootstrap/main.py", line 124, in clone

    _banner('Cloning {} from {}, rev. {} into {}'.format(desc, url, rev, dest))

  File "/home/gchee2/.local/lib/python3.4/site-packages/west/_bootstrap/main.py", line 162, in _banner

    print(colorama.Fore.LIGHTGREEN_EX, end='')

AttributeError: 'AnsiCodes' object has no attribute 'LIGHTGREEN_EX'

 

Some online resources say its the colorama version not up to date, but i cant seems to upgrade it.

 

Any idea how to solve it?

 

Thank you!

 

Regards,

Kay Li

Join users@lists.zephyrproject.org to automatically receive all group messages.