How to Set Up Visual Studio Code for Python on NVIDIA Jetson

Поділитися
Вставка
  • Опубліковано 26 лис 2020
  • In this video, we setup a Jetson for Python development in Visual Studo Code. Full article on JetsonHacks: wp.me/p7ZgI9-3bi
    Microsoft now supports Visual Studio Code on ARM and ARM 64 machines like the NVIDIA Jetsons and Raspberry Pi!
    0:13 - Introduction
    1:06 - Install via Microsoft Visual Studio Code website
    2:50 - Install with a shell script
    4:46 - Initial launch and overview
    8:45 - Building an amazingly simple program
    Shown on the Jetson Nano, this will also work on other Jetsons such as the Jetson Nano 2GB, Jetson Xavier NX, Jetson AGX Xavier, Jetson TX1, and Jetson TX1.
    Jetson Nano on Amazon: amzn.to/31Ei7Dd
    Noctua NF-A4x20 5V PWM Fan: amzn.to/2ZIpt8N
    Samsung 64GB MicroSD Card: amzn.to/2UJEaRW
    DC Power Supply: amzn.to/2k0eiEV
    Alternate DC Power Supply: amzn.to/2HeNYiG
    Intel 8265NGW Wifi card: amzn.to/2WLGKrU
    Also:
    Jetson Nano 2GB: amzn.to/3lafQWE
    USB C power supply: amzn.to/34oIpcr
    As an Amazon associate, I earn from qualifying purchases. There is no additional cost to you.
    Website: jetsonhacks.com
    Github: github.com/jetsonhacksnano
    Twitter: / jetsonhacks
    Copyright notices for graphics in video:
    Red X: commons.wikimedia.org/wiki/Fi...
    This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
    Green Checkmark: commons.wikimedia.org/wiki/Fi...
    This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
  • Наука та технологія

КОМЕНТАРІ • 50

  • @wendang8906
    @wendang8906 3 роки тому +1

    Thank you so much for the video! I'm here because ETA PRIME recommended you in his Jetson Nano 2Gb review video.

    • @JetsonHacks
      @JetsonHacks  3 роки тому +1

      You are welcome. ETA Prime is the best!

  • @stephenlewis412
    @stephenlewis412 3 роки тому +3

    Big thanks to Jim for this and all the other content helping us to get started and then get developing using Jetson. Lighthearted, easy to follow and accurate - what more could we want?

    • @JetsonHacks
      @JetsonHacks  3 роки тому

      You could want fame, power, glory and money. But you won't get that from me. Thank you very much for the kind words, and thanks for watching!

  • @richleyden6839
    @richleyden6839 3 роки тому +3

    Thanks, Jim for another useful video.

    • @JetsonHacks
      @JetsonHacks  3 роки тому

      You are welcome, and thanks for watching!

  • @CodingScientist
    @CodingScientist 3 роки тому +1

    Jim you are a super star of Jetson World, keep up the great work, I am learning a lot from you and I started teaching school kids poor children about Jetson Nano / Python 👍

    • @JetsonHacks
      @JetsonHacks  3 роки тому

      Thank you for the kind words. You may also be interested in Paul McWhorters channel which is oriented toward high school level teaching on Jetson and other topics: ua-cam.com/play/PLGs0VKk2DiYxP-ElZ7-QXIERFFPkOuP4_.html
      Thanks for watching!

    • @CodingScientist
      @CodingScientist 3 роки тому +1

      @@JetsonHacks yes I do Jim, Paul lessons are wonderful too 👍

  • @UMDSCEI
    @UMDSCEI 3 роки тому +1

    Muchas gracias, me ayudo mucho, un saludo desde México.

  • @rickhunt3183
    @rickhunt3183 3 роки тому

    I think it's time for another robot build. This time dividing operations among several nano Jetsons as subsystems and using one as the master controller for the human interface. Perhaps you could use readily available off the shelf components like a wheelchair motor drive assembly. Everything doesn't always need to be a closed loop system. I think you should go big if its in your price range and you have shop space available. Anyway, thank you for all the interaction over the past few years and for being so nice. I hope you have a safe and Merry Christmas...Rick

    • @JetsonHacks
      @JetsonHacks  3 роки тому

      Thank you for the kind words. Unfortunately there is a major lockdown here. I live in a small house with no shop, so unless I can build something on the kitchen table, it's out of reach. Next year should be more interesting. Happy New Year!

    • @rickhunt3183
      @rickhunt3183 3 роки тому +1

      @@JetsonHacks Thats funny because I'm building on the kitchen table too, and sometimes another project on the desk in my bed room. I hope you have a great new year.

  • @liviuconstantin9960
    @liviuconstantin9960 3 роки тому +1

    Sure glad I found you. I almost gave up on installing Visual Studio Code on a Jetson NX device. I didn't known about going to the right arm.64 install so instead I downloaded the version meant for PC . That was last week. Then I spend days trying to figure out why it won't launch, why I can't use it.
    Well, after following this I was able to get it up and running. Good job Jim !!!
    P.S. I did subscribe ;-)

    • @JetsonHacks
      @JetsonHacks  3 роки тому

      Thank you for the kind words. I am glad you found the video useful. Thanks for watching, and the subscribe!

  • @ohnopran3630
    @ohnopran3630 3 роки тому +2

    Please make more electronics programming video on navidia

  • @tehPrime96
    @tehPrime96 3 роки тому +1

    Hi Sir, I have a question. I'm using the new Nano B01 and 2 raspberry Pi cameras. I need to change the exposure times of the two cameras, how can I do this?

    • @JetsonHacks
      @JetsonHacks  3 роки тому +1

      Please ask this question on the official NVIDIA Jetson Nano forum, where a large group of developers and NVIDIA engineers share their experience.

    • @tehPrime96
      @tehPrime96 3 роки тому

      @@JetsonHacks Thank you for the reply, already created a topic on thei forum, I hope to receive an answer asap!

  • @manray8513
    @manray8513 3 роки тому

    Thanks for the video! I was wondering how to setup a CAN bus on jetson nano, have you ever try that? Thanks

    • @JetsonHacks
      @JetsonHacks  3 роки тому

      Not yet! Sounds like fun, good luck on your project!

  • @ntenn4763
    @ntenn4763 Рік тому +1

    Great video and thank you! Question : After installing vscode, I had to type "code --no-sandbox" to get it to run. When typing "code" nothing happens. Is there a fix?

    • @JetsonHacks
      @JetsonHacks  Рік тому

      I do not know the answer to this question, I have not encountered this issue. How did you go about installing it?

    • @ntenn4763
      @ntenn4763 Рік тому

      @@JetsonHacks Yes, it works with the "code --no-sandbox" to start caveat. Great video

    • @ahmetsar165
      @ahmetsar165 2 місяці тому

      Hey sir i'm stuck in the same problem too. Did you solve the problem ?

  • @admiretechnologies1218
    @admiretechnologies1218 3 роки тому +1

    Have not been able to add micropython IDE for Raspberry Pi Pico (Raspi suggests Thonny).
    No success in adding micropython in Visual Studio either.
    Love your videos!

    • @JetsonHacks
      @JetsonHacks  3 роки тому

      Thanks for the info! And thanks for watching!

    • @admiretechnologies1218
      @admiretechnologies1218 3 роки тому

      @@JetsonHacks I found that while there is an updated Thonny for Raspi, there is not for Ubuntu.. Goal is to have Raspi Pico transmit data to Nano via Rx Tx.
      Keep fire extinguisher close by at all times!

  • @darryng
    @darryng 2 роки тому +1

    Thank you Jim! Could you provide me with a method to completely uninstall Code OSS 1.32 so I can install the latest VS Code as per your instructions without any conflict? Thank you!

    • @JetsonHacks
      @JetsonHacks  2 роки тому +1

      I don't have a good answer as I have not worked with the Code OSS for quite some time. I seem to remember that it installs a code-oss .deb package which you could remove with apt-remove. Good luck on your project!

    • @darryng
      @darryng 2 роки тому +1

      @@JetsonHacks Thank you for the response, much appreciated.
      I used the following commands:
      sudo dpkg --remove code-oss
      sudo dpkg --purge code-oss
      I don't have any issues using the latest VS Code so far, so it seems to have worked fine!

    • @JetsonHacks
      @JetsonHacks  2 роки тому +1

      @@darryng I am glad you got it to work!

  • @pro_driver280
    @pro_driver280 3 роки тому

    Hey, quick question. I don’t have a Jetson Nano yet but I am going to buy one. Am I able to use a 2”5 SSD or m.2 on it?

    • @JetsonHacks
      @JetsonHacks  3 роки тому +1

      The M.2 slot is Key E, which is for wireless devices, not storage devices. You should be able to use a USB SSD however. Thanks for watching!

    • @pro_driver280
      @pro_driver280 3 роки тому +1

      @@JetsonHacks Thanks for the help!

    • @user-nq8ok1vl1z
      @user-nq8ok1vl1z 3 роки тому

      @@JetsonHacks Hello. I want to use NVIDIA Jetson Xavier NX Developer Kit with Azure Kinect DK for robot on wheels building with some features, like real time map creating and data streaming. Do you think is it good choice? thanks for your answering.

  • @marwanashraf5874
    @marwanashraf5874 3 роки тому

    Which is recommended VS or pycharm for jetson nano?

    • @JetsonHacks
      @JetsonHacks  3 роки тому

      Whichever one fits your needs. Thanks for watching!

  • @MarcoAntonio-wd2vp
    @MarcoAntonio-wd2vp Рік тому

    I get an error when trying to install visual studio, on line 23 "code", I still tried to install with the downloaded file, that file takes you to the software application, press the install button and it does not install, do you know how I could sort out?

    • @JetsonHacks
      @JetsonHacks  Рік тому

      I don't know how to fix your issue given your explanation. There appears to be some issue with line 23 that you'll need to investigate.

  • @kirkzhang6307
    @kirkzhang6307 3 роки тому

    Hi, what is the difference between it and Code OSS?

    • @JetsonHacks
      @JetsonHacks  3 роки тому +1

      They should be the same. Code OSS is a community build, so there's a couple of more steps involved in installation. I do not know if Code OSS updates automatically like the official version. Thanks for watching!

  • @smartassist9700
    @smartassist9700 3 роки тому

    Though I disagree with NVIDIA VP MARKETING ATTACKING VIDEO BLOGGERS ABOUT NVIDIA VIDEO CARDS.... MERRY CHRISTMAS TO “”YOU”” SIR!

    • @JetsonHacks
      @JetsonHacks  3 роки тому

      Thank you! Have a great new year.

  • @ahmedmk8227
    @ahmedmk8227 3 роки тому

    Hello Jim, so I have a problem facing me with my Jetson nano 2gb, put in note that I don’t know much about single board computers and AI. So what I’m currently facing is that when I updated my jetson nano(well I don’t know if that was a jetson nano update or if it was an ubuntu update, but it had me checking all the files and when it finished it asked me to restart)after I restarted the nano It just showed the nvidia logo and it didn’t boot, please if you know what is wrong let me know, and thanks for reading this whole article BTW, I mean if you did🙃.
    Sorry for spamming this question, I know I asked twice, once here, and once on your website, but its a nano life and death situation🙃🙃🙃

    • @JetsonHacks
      @JetsonHacks  3 роки тому

      My understanding is that the update tends to kill the poor little Nano 2GB. Check on the Jetson Nano Forum for help.

  • @DeepakSharma-kb9we
    @DeepakSharma-kb9we 3 роки тому

    hii JetsonHacks, it's Deepak from India. I have Nvidia Jetson tx1 with flashed jetpack 4.2. I don't have enough knowledge about jetson tx1 developer kit but I want to learn and do some projects. So can you please provide some social media link to chat with you to solve some my doubts?

    • @JetsonHacks
      @JetsonHacks  3 роки тому +1

      Please ask your questions on the official NVIDIA Jetson TX1 forum, where a large group of developers and NVIDIA engineers share their experience.

  • @TheRealFrankWizza
    @TheRealFrankWizza 3 роки тому

    Hey Jim. I noticed you haven't posted in a while. I hope all is well.

    • @JetsonHacks
      @JetsonHacks  3 роки тому

      I'm doing well, thank you for noticing. New post next week! Also, I've been doing livestreams with the NVIDIA folks every month. Last week: ua-cam.com/video/HQBqZEcMIrM/v-deo.html