美文网首页
Centos7安装Pycharm

Centos7安装Pycharm

作者: 风筝flying | 来源:发表于2019-02-28 10:07 被阅读0次

下载Pycharm并解压

wget https://download.jetbrains.8686c.com/python/pycharm-professional-2018.1.4.tar.gz
tar -xf pycharm-professional-2018.1.4.tar.gz

安装

进入解压后的bin目录执行./pycharm.sh
该命令需要在图形模式下才可以执行,否则会报如下错误:
Startup Error: Unable to detect graphics environment
解决办法:设置默认图形界面启动
systemctl set-default graphical.target
如果没有图形界面则需要安装图形界面,然后重启
yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
shutdown -r now

安装图形界面时可能会遇到如下错误:

  • Transaction check error:
    file /boot/efi/EFI/redhat from install of fwupdate-efi-12-5.el7.x86_64 conflicts with file from package grub2-common-1:2.02-0.65.el7_4.2.noarch
    file /boot/efi/EFI/redhat from install of fwupdate-efi-12-5.el7.x86_64 conflicts with file from package grub2-efi-1:2.02-0.65.el7_4.2.x86_64
  • 解决办法:包的版本有冲突,貌似是系统bug;执行yum update grub2-common、yum install grub2-efi、yum install fwupdate 后再重新执行即可

序列号验证及快捷方式设置

相关文章

网友评论

      本文标题:Centos7安装Pycharm

      本文链接:https://www.haomeiwen.com/subject/jcocuqtx.html