当前位置:网站首页>[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安装时,自己遇到的莫名其妙的坑,现在想起来实在好笑。
五、参考文章
边栏推荐
- 不堆概念、换个角度聊多线程并发编程
- Node (II)
- Method of cocos2d-x sprite moving
- 熊市下PLATO如何通过Elephant Swap,获得溢价收益?
- TCP failure model
- Unity3d空包打apk报错汇总
- Modulenotfounderror: no module named 'pywt' solution
- How to integrate Google APIs with Google's application system (3) -- call the restful service of Google discovery API
- 手动从0搭建ABP框架-ABP官方完整解决方案和手动搭建简化解决方案实践
- shell编程之sed,正则表达式
猜你喜欢

Comprehensively design an oppe home page -- the bottom of the page

How to customize the opportunity closing form in dynamics 365online

引入redis缓存出现的问题以及解决方式

【微信小程序】接口生成自定义首页二维码

7.9-7.17 new features and grammar of learning plan ES6

Why does the system we developed have concurrent bugs? What is the root cause of concurrent bugs?

i. Mx6ull driver development | 32 - manually write a virtual network card device

Intel joins hands with datawhale to launch learning projects!

Yin Yi: my learning and growth path

机器学习入门的百科全书-2018年“机器学习初学者”公众号文章汇总
随机推荐
Sublime Text3 set different indents for different files
造型科幻、标配6安全气囊,风行·游艇11.99万起售
Youboxun, the gold donor of the open atom open source foundation, joined hands with partners to help openharmony break the circle!
【C语言】扫雷(递归展开 + 标记功能)
QoS服务质量五QoS边界行为之流量整形
综合设计一个OPPE主页--页面的底部
最新翻译的官方PyTorch简易入门教程(PyTorch1.0版本)
Several common design methods of test cases [easy to understand]
div 水平排列
Anfulai embedded weekly report no. 273: 2022.07.04--2022.07.10
TMS320C6000_ Tms320f28035 Chinese data manual
【C语言】三子棋(智能下棋 + 阻拦玩家)
ModuleNotFoundError: No module named ‘pywt‘解决方法
My problem solving record 1: the @component annotation is used on the class. If you want to use the methods in this class, you can't directly new, but should use @autowired for injection, otherwise an
上海交大牵手淘宝成立媒体计算实验室:推动视频超分等关键技术发展
C# 值类型和引用类型讲解
What is Cartland number? What are the applications?
On memory computing integrated chip technology
Selenium series 5-xpath path expression
Reasons for the rise of DDD and its relationship with microservices