您好,登錄后才能下訂單哦!
小編給大家分享一下解決mac環境下無法打開pycharm的問題,相信大部分人都還不怎么了解,因此分享這邊文章給大家學習,希望大家閱讀完這篇文章后大所收獲,下面讓我們一起去學習方法吧!
mac環境下無法打開pycharm的解決方法:1、打開終端;2、進入目錄/Users/用戶名/Library/Application\Support/JetBrains/PyCharm/;3、刪除pycharm.vmoptions文件即可。
解決步驟:
1、首先打開終端,執行命令
cd /Applications/PyCharm.app/Contents/MacOS
2、查看無法打開pycharm的原因,執行命令
c./pycharm
下面就是展示的分析日志
2020-04-26 22:14:15.680 pycharm[21588:9354544] allVms required 1.8*,1.8+ 2020-04-26 22:14:15.685 pycharm[21588:9354552] Current Directory: /Applications/PyCharm.app/Contents/MacOS 2020-04-26 22:14:15.685 pycharm[21588:9354552] Value of PYCHARM_VM_OPTIONS is (null) 2020-04-26 22:14:15.685 pycharm[21588:9354552] Processing VMOptions file at /Users/liuxiaoming/Library/Application Support/JetBrains/PyCharm2020.1/pycharm.vmoptions 2020-04-26 22:14:15.686 pycharm[21588:9354552] Done Error: could not find libjava.dylib Failed to GetJREPath() OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release. Error opening zip file or JAR manifest missing : ?/Applications/PyCharm.app/Contents/bin/jetbrains-agent.jar Error occurred during initialization of VM agent library failed to init: instrument
3、進入目錄/Users/用戶名/Library/Application\ Support/JetBrains/PyCharm2020.1/
cd /Users/用戶名/Library/Application\ Support/JetBrains/PyCharm2020.1/
4、刪除pycharm.vmoptions即可
rm -f pycharm.vmoptions
刪除之后pycharm就可以重新打開了。
以上是解決mac環境下無法打開pycharm的問題的所有內容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內容對大家有所幫助,如果還想學習更多知識,歡迎關注億速云行業資訊頻道!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。