当前位置:网站首页>[jetson][转载]jetson上安装pycharm
[jetson][转载]jetson上安装pycharm
2022-07-29 10:00:00 【FL1623863129】
一、引言
Pycharm是一个非常优秀的代码编辑、调试,开发软件。我平时在Windows系统学习编程时也比较喜欢使用Pycharm。这一次记录一下在Xavier上安装Pycharm的过程。
二、下载与配置环境
1、一般来说Pycharm社区版就足够使用了,基本的编辑、调试、运行功能都有。我们去官网下载Pycharm。

2、Xavier安装pycharm之前需要先安装java,因为是arm架构的设备,所以执行如下代码:
sudo apt-get install openjdk-11-jdk3、安装完成后查看安装结果:
java --version
which java![]()
4、配置环境变量,打开~/.bashrc文件,添加如下内容,更新环境变量:
sudo vim ~/.bashrcexport JAVA_HOME=/usr/lib/jvm/java-11-openjdk-arm64
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=:${JAVA_HOME}/lib:${JRE_HOME}/lib
export PATH=${JAVA_HOME}/bin:$PATH
source ~/.bashrc三、安装
1、这里以pycharm-community-2020.3.2为例,进入pychram.sh所在的路径,并执行安装。
cd /home/xxx/Downloads/pycharm-community-2020.3.2/bin
sh ./pycharm.sh
2、每次打开都要执行命令十分不方便,我们可以创建桌面快捷方式。在桌面打开终端:
gedit pycharm.desktop3、输入以下内容,自行更改文件路径,保存。
[Desktop Entry] Type=Application Name=Pycharm GenericName=Pycharm3 Comment=Pycharm3:The Python IDE Exec="/home/xxx/Downloads/pycharm-community-2020.3.2/pycharm-2020.3.2/bin/pycharm.sh" %f Icon=/home/xxx/Downloads/pycharm-community-2020.3.2/pycharm-2020.3.2/bin/pycharm.png Terminal=pycharm Categories=Pycharm;
四、总结
Pycharm在jetson设备上的安装还是比较简单的,但是回想起当初为TX2安装时,自己遇到的莫名其妙的坑,现在想起来实在好笑。
五、参考文章
边栏推荐
- 2021年CS保研经历(四):西交软院预推免、信工所三室预推免
- The purpose of DDD to divide domains, sub domains, core domains, and support domains
- Method of cocos2d-x sprite moving
- Is it safe to open an account online now? Do you want to know that you must go to the business hall to open an account now?
- Reasons for the rise of DDD and its relationship with microservices
- 开放原子开源基金会黄金捐赠人优博讯携手合作伙伴,助力OpenHarmony破圈!
- Manually build ABP framework from 0 -abp official complete solution and manually build simplified solution practice
- 机器学习之逻辑回归(Logistics Regression)
- Talk about multithreaded concurrent programming from a different perspective without heap concept
- What kind of framework is friendly to developers?
猜你喜欢

Explanation of C value type and reference type

Leetcode question brushing - sorting

Vector implementation

Virtual machines use host graphics cards (Hyper-V and wsl2)

English grammar_ Indefinite pronouns - Common Phrases

What kind of framework is friendly to developers?

怎么样的框架对于开发者是友好的?

Mysql database final review question bank

Read Plato farm's eplato and the reason for its high premium

数据库表结构生成excel工具
随机推荐
In simple terms, dependency injection and its application in Tiktok live broadcast
Geeer's happiness | is for the white whoring image! Analysis and mining, NDVI, unsupervised classification, etc
The function of that sentence
Shell notes (super complete)
Detailed explanation: what is the GPS Beidou time service server?
Intel joins hands with datawhale to launch learning projects!
Is the marginal old technology in its 40s weak in the future or rising from the ground?
CS research assurance experience in 2021 (VI): system filling + some thoughts
System architect learning
Several common design methods of test cases [easy to understand]
TMS320C6000_ Tms320f28035 Chinese data manual
[C language] minesweeping (recursive expansion + marking function)
How can Plato obtain premium income through elephant swap in a bear market?
Reasons for the rise of DDD and its relationship with microservices
Node (II)
MySQL infrastructure: SQL query statement execution process
This is an incomplete data competition Yearbook!
智慧解决问题
Skiasharp's WPF self drawn bouncing ball (case version)
JS temporary dead zone_ Temporary