Showing posts with label Python. Show all posts
Showing posts with label Python. Show all posts

Friday, 30 August 2019

PyCharm 2019.2 IDE was not starting on MacOSX: missing jdk

PyCharm 2019.2  is looking for java8 and does not come with a jdk folder. So if you have java11 it will not even start. I have had this problem with the new PyCharm installed from the ToolBox, but also with the new manually installed

Solution:
Either install java8 or if you have a working app from JetBrains like a previous manual installation you can copy the jdk from there and paste itin your new copy.

The ToolBox apps are installed in


~/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/192.6262.63/PyCharm.app

In order to copy the previous jdk from a working pycharm (or other JetBrains app) you can navigate to a manually installed old app in "/Applications" and right click in the app and select "Show Package Content". In the "Contents" folder there would be a "jdk" folder. Copy it to your not working JetBrains app.


REFS:
https://intellij-support.jetbrains.com/hc/en-us/community/posts/360003340039-PyCharm-2019-1-won-t-open-through-Toolbox-App

Still a problem:

PyCharm2019.2 does not open the terminal (OSX 10.10.5)



Cannot open Local Terminal
Failed to start [/bin/bash, --rcfile, /Applications/PyCharm.app/Contents/plugins/terminal/jediterm-bash.in, -i]


Saturday, 17 November 2012

Looking for a Perl tool like Ipython notebook.



I have just recently discovered Ipython notebooks[1] they are fantastics and like R sweave[2] they are essential for Reproducible Research.

I use Perl and pdl for bioinformatics research. Being pdl a scientific tool these kind of reproducible research utilities seems a perfect match.

Some time ago in the bio(perl|python) communities they started to look to use a similar approach to sweave but I have not seen much progress on that. A cheap alternative (if your OS is called emacs ;-)) is to use org-mode babel[3]. I like to use babel because I almost always work under ssh connection to my servers using also screen session with emacs -nw . Babel could be a substitute for sweave, but Ipython notebook is a more advanced and interactive beast. You can see this fantastic presentation from Fernando PĂ©rez about scientific Python[4] where he demonstrates its powers.

I don't know yet any Perl tool similar for Ipython notebooks but if it exist I would like to find and use it.

Any comments on this topic and links would be more than wellcome.