Ubuntu配置PyCharm for Houdini

Posted mlcg

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ubuntu配置PyCharm for Houdini相关的知识,希望对你有一定的参考价值。

安装

下载

下载PyCharm

技术图片

Ubuntu可以直接在终端执行以下代码进行安装:

sudo snap install [pycharm-professional | pycharm-community] --classic

技术图片

安装

如果使用代码安装失败,可以使用上面的链接下载对应的PyCharm版本,如"pycharm-professional-2019.2.3.tar.gz";
然后将"pycharm-professional-2019.2.3.tar.gz"解压到 /opt 路径下

技术图片

然后打开终端

cd /opt/pycharm-2019.2.3/bin
./pycharm.sh

激活

然后就是一顿设置,最后输入激活码时,将下面的激活码复制进去就可以了

MTW881U3Z5-eyJsaWNlbnNlSWQiOiJNVFc4ODFVM1o1IiwibGljZW5zZWVOYW1lIjoiTnNzIEltIiwiYXNzaWduZWVOYW1lIjoiIiwiYXNzaWduZWVFbWFpbCI6IiIsImxpY2Vuc2VSZXN0cmljdGlvbiI6IkZvciBlZHVjYXRpb25hbCB1c2Ugb25seSIsImNoZWNrQ29uY3VycmVudFVzZSI6ZmFsc2UsInByb2R1Y3RzIjpbeyJjb2RlIjoiSUkiLCJwYWlkVXBUbyI6IjIwMTktMTEtMDYifSx7ImNvZGUiOiJBQyIsInBhaWRVcFRvIjoiMjAxOS0xMS0wNiJ9LHsiY29kZSI6IkRQTiIsInBhaWRVcFRvIjoiMjAxOS0xMS0wNiJ9LHsiY29kZSI6IlBTIiwicGFpZFVwVG8iOiIyMDE5LTExLTA2In0seyJjb2RlIjoiR08iLCJwYWlkVXBUbyI6IjIwMTktMTEtMDYifSx7ImNvZGUiOiJETSIsInBhaWRVcFRvIjoiMjAxOS0xMS0wNiJ9LHsiY29kZSI6IkNMIiwicGFpZFVwVG8iOiIyMDE5LTExLTA2In0seyJjb2RlIjoiUlMwIiwicGFpZFVwVG8iOiIyMDE5LTExLTA2In0seyJjb2RlIjoiUkMiLCJwYWlkVXBUbyI6IjIwMTktMTEtMDYifSx7ImN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zf3qH5mkphtg6ksjKgKjmx1cXfZAAX6wcDBNaCL+Ortep1Dh8xDUbqbBVNBL4jbiL3i3xsfNiyJgaZ5sX7i8tmStEpLbPwvHcByuf59qJhV/bZOl8KqJBETCDJcY6O2aqhTUy+9x93ThKs1GKrRPePrWPluud7ttlgtRveit/pcBrnQcXOl1rHq7ByB8CFAxNotRUYL9IF5n3wJOgkPojMy6jetQA5Ogc8Sm7RG6vg1yow==

设置快捷图标

技术图片

最后是设置PyChram的启动图标
使用文本编辑器新建一个名字为PyChram.desktop的文件内容为

[Desktop Entry]
Name = PyCharm
Type = Application
Exec = /opt/pycharm-2019.2.3/bin/pycharm.sh    #pycharm.sh文件的绝对路径,一般就在软件安装目录bin文件夹下
Icon = /opt/pycharm-2019.2.3/bin/pycharm.svg    #图标图片文件路径
Terminal = False

现将PyChram.desktop保存在桌面上,然后使用

sudo cp PyChram.desktop /usr/share/applications

完成PyCharm的安装激活

配置

以上是关于Ubuntu配置PyCharm for Houdini的主要内容,如果未能解决你的问题,请参考以下文章

Pycharm 4.5.4 for ubuntu 16.04 下载与安装教程

Ubuntu 16.04 + PyCharm + spark 运行环境配置

Ubuntu 16.04 + PyCharm + spark 运行环境配置

ubuntu下Pycharm安装及配置

ubuntu创建pycharm图标&在终端中使用命令行启动pycharm的配置

ubuntu中pycharm配置opencv2环境