下载地址:https://www.jetbrains.com/pycharm/download/#section=linux
选择社区版Community
解压:进入下载文件目录,将下载的文件解压到根目录下opt文件夹内:
sudo tar xfz pycharm-community-2019.3.3.tar.gz -C /opt
运行:进入解压好的pycharm 目录,进入bin子目录,运行pycharm软件
./pycharm.sh
设置环境变量:
编辑文件: sudo gedit ~/.bashrc
在最后加入以下两条目录路径
export PyCharm=/opt/pycharm-community-2019.3.3
export PATH=$PyCharm/bin:$PATH
刷新配置文件:source ~/.bashrc,这样以后在哪个位置都可以启动pycharm了
但是启动pycharm时,提示下面情况,不知如何处理
OpenJDK Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
WARNING: An illegal reflective access operation has occurred
参考 :https://www.cnblogs.com/kimyeee/p/7250560.html
https://blog.csdn.net/guadang3845/article/details/80482271
给pycharm添加python环境
打开pycharm,菜单栏中找file–>settings,选择Project Interpreter。
进入下图所示的新页面,选择Add New Configuration –> python
1
网友评论