Error Msg whey type "west --version" on the guide of v1.14-rc3
Kai Ren
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
|
|
Aaron Xu
Hi, Which OS? win or linux(ubuntu etc.)?
PS: make sure you already installed python3. On Wed, Apr 3, 2019 at 9:37 AM Kai Ren <kren@...> wrote:
|
|
Kai Ren
Hi Aaron,
I'm using Windows. After type "pip --version", the output is: pip3 --version pip 19.0.3 from c:\python37\lib\site-packages\pip (python 3.7) Best Regards, Kai From: Aaron Xu <overheat1984@...> Sent: Wednesday, April 3, 2019 9:53 AM To: Kai Ren <kren@...> Cc: devel@... Subject: Re: [Zephyr-devel] Error Msg whey type "west --version" on the guide of v1.14-rc3 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 <mailto:kren@...> wrote: Hello, I follow this link, https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.zephyrproject.org%2Flatest%2Fgetting_started%2Findex.html%23get-the-source-code&data=02%7C01%7C%7Cc25091f7b8ac4cd5416108d6b7d72dac%7Ce4e0fec5fc6c4dd6ae374bdb30e156b9%7C0%7C0%7C636898532159410710&sdata=GafJVpl0vcuzNoeWclKDT8N3zb9s%2BQyTV5tfNzvZY0Q%3D&reserved=0 , 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
|
|