"Installing PyTorch for Jetson Platform": Error in pytorch install instructions? (Missing semicolon?)

Tried to install PyTorch for Jetson Platform using the command shown on Installing PyTorch for Jetson Platform - NVIDIA Docs and got errors about LD_LIBRARY_PATH . I’m not a PIP expert, but it looks to me like that export was intended to be a separate command and a semicolon was left out between “scipy==‘1.5.3’” and “export”?

                                                                                                   ↓ Missing semicolon here?
python3 -m pip install --upgrade pip; python3 -m pip install aiohttp numpy=='1.19.4' scipy=='1.5.3' export "LD_LIBRARY_PATH=/usr/lib/llvm-8/lib:$LD_LIBRARY_PATH"; python3 -m pip install --upgrade protobuf; python3 -m pip install --no-cache $TORCH_INSTALL

with the intent that this execute:

python3 -m pip install --upgrade pip
python3 -m pip install aiohttp numpy=='1.19.4' scipy=='1.5.3'
export "LD_LIBRARY_PATH=/usr/lib/llvm-8/lib:$LD_LIBRARY_PATH"
python3 -m pip install --upgrade protobuf
python3 -m pip install --no-cache $TORCH_INSTALL

rather than

python3 -m pip install --upgrade pip
python3 -m pip install aiohttp numpy=='1.19.4' scipy=='1.5.3' export "LD_LIBRARY_PATH=/usr/lib/llvm-8/lib:$LD_LIBRARY_PATH"
python3 -m pip install --upgrade protobuf
python3 -m pip install --no-cache $TORCH_INSTALL

If so, the page needs to be updated and the semicolon added like so:

python3 -m pip install --upgrade pip; python3 -m pip install aiohttp numpy=='1.19.4' scipy=='1.5.3'; export "LD_LIBRARY_PATH=/usr/lib/llvm-8/lib:$LD_LIBRARY_PATH"; python3 -m pip install --upgrade protobuf; python3 -m pip install --no-cache $TORCH_INSTALL

Thanks!

Hi,

Thanks for the feedback.
Will update this issue to our internal team.

Thanks.