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?

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?




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>


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


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


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


  File "/home/gchee2/.local/lib/python3.4/site-packages/west/_bootstrap/", 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/", 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!



Kay Li

Join to automatically receive all group messages.