# Install vscode on Jetson ###### tags: `Edge AI` `vscode` `Nvidia` `Jetson` `System Setup` ### 安裝 記得要用arm64版本 - [JetsonHacksNano/installVSCode](https://github.com/JetsonHacksNano/installVSCode) ``` $ git clone https://github.com/JetsonHacksNano/installVSCode.git $ cd installVSCode $ ./installVSCode.sh $ ``` 如果要有python延伸套件支援的話 ``` ./installVSCodeWithPython.sh ``` `installVSCodeWithPython.sh`裡面的內容 ``` # latest gets the latest stable version VERSION=latest wget -N -O vscode-linux-deb.arm64.deb https://update.code.visualstudio.com/$VERSION/linux-deb-arm64/stable sudo apt install ./vscode-linux-deb.arm64.deb # Install useful Python packages sudo apt-get install python3-pip -y # Install a Python linter pip3 install pylint # Install a Python formatter pip3 install black # Install the Python extension for Visual Studio Code # Extension name is ms-python.python code --install-extension ms-python.python --force ``` 啟用 ``` code ``` ### Jetpack 5.x會有無法啟動的問題 安裝後執行以下程式碼即可啟用[(參考來源)](https://forums.developer.nvidia.com/t/unable-to-run-vscode-on-jetson-xavier-nx-with-jetpack-5-0-2-production-release/224548) ``` code --no-sandbox ``` ### debug工具設定 - [Jetson Nano 從入門到實戰(案例:Opencv設定、人臉檢測、二維條碼檢測)](https://tw511.com/a/01/30018.html) - [Jetson 安装Visual Studio Code配置C\C++环境](https://blog.csdn.net/Creationyang/article/details/116808402) - [Example debugging mixed Python C++ in VS Code](https://nadiah.org/2020/03/01/example-debug-mixed-python-c-in-visual-studio-code/)
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up