Re: Error Msg whey type "west --version" on the guide of v1.14-rc3


Aaron Xu
 

Hi,

Which OS? win or linux(ubuntu etc.)?

# Linux
pip3 install --user west

# macOS and Windows
pip3 install west

PS: make sure you already installed python3.





On Wed, Apr 3, 2019 at 9:37 AM Kai Ren <kren@...> wrote:

Hello,

I follow this link, https://docs.zephyrproject.org/latest/getting_started/index.html#get-the-source-code , to install west, but after type *west --version*, below message pop-up, it looks abnormal.

 

West bootstrapper version: v0.5.7 (c:\python37\lib\site-packages\west\_bootstrap)

Traceback (most recent call last):

  File "c:\python37\lib\runpy.py", line 193, in _run_module_as_main

    "__main__", mod_spec)

  File "c:\python37\lib\runpy.py", line 85, in _run_code

    exec(code, run_globals)

  File "C:\Python37\Scripts\west.exe\__main__.py", line 9, in <module>

  File "c:\python37\lib\site-packages\west\_bootstrap\main.py", line 479, in main

    wrap(wrap_argv)

  File "c:\python37\lib\site-packages\west\_bootstrap\main.py", line 445, in wrap

    cwd=west_git_repo).decode(sys.getdefaultencoding()).strip()

  File "c:\python37\lib\subprocess.py", line 376, in check_output

    **kwargs).stdout

  File "c:\python37\lib\subprocess.py", line 453, in run

    with Popen(*popenargs, **kwargs) as process:

  File "c:\python37\lib\subprocess.py", line 756, in __init__

    restore_signals, start_new_session)

  File "c:\python37\lib\subprocess.py", line 1155, in _execute_child

    startupinfo)

NotADirectoryError: [WinError 267] The directory name is invalid

 

 

Best Regards,

Kai

 

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