Join us on Wednesday, June 3rd for a deep dive into Customer Predictive Analytics Learn more

Cannot install DSS on macOS Catalina

Level 2
Cannot install DSS on macOS Catalina

Hi,

I have now tried several times to install Data Science Studio (Free Edition) on my Mac (Catalina 10.15.4), unfortunately without success. First I tried the regular way https://www.dataiku.com/product/get-started/mac/  and get the error message "Java is required - DSS needs Java to be installed. Please go to http://java.com to install Java" and in the console: 

Starting Java check
/Applications/DataScienceStudio.app/Contents/Resources/kit/scripts/_find-java.sh
[Install] [*] Could not find suitable version of Java
[Java check] EOF reached
Java check terminated with status 1
Running DSS task for 'stop'

 

But I already have the following java versions in the directory /Library/Java/JavaVirtualMachines 

  • adoptopenjdk-8.jdk
  • adoptopenjdk-13.0.1.jdk
  • openjdk-11.0.2.jdk

So the error probably occurs because the correct java version cannot be found.  To fix this I have tried the following things.

  1. export JAVA_HOME=`/usr/libexec/java_home -v 1.8` when I enter  echo $JAVA_HOME I also get the right path /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home

  2. export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home and echo $JAVA_HOME

  3. Go into the app folder (DatascienceStudio.app/Contents/MacOS) and run DataScienceStudio. (https://community.dataiku.com/t5/Setup-Configuration/Where-does-DSS-expect-to-find-JAVA/m-p/1968)

 

(I followed these guides:

http://www.sajeconsultants.com/how-to-set-java_home-on-mac-os-x/?utm_source=rss&utm_medium=rss&utm_c... 

https://medium.com/@brunofrascino/working-with-multiple-java-versions-in-macos-9a9c4f15615a )

java -version returns the set version. But I still get the same error message.

 

While trying to follow this guide https://doc.dataiku.com/dss/latest/installation/java_env.html , I noticed that 

$HOME/Library/DataScienceStudio/dss_home  returns "No such file or directory".

 

I hope you might have an idea where my mistake is and how I can get DSS installed and opened. Otherwise I will probably have to look for another tool for data analysis.

9 Replies
Dataiker
Dataiker

Hi,

I suggest trying the following steps:

1. Ensure your JAVA_HOME export statement is added to your bash_profile:

 

vi ~/.bash_profile

 

1. Stop DSS by running this command: 

 

~/Library/DataScienceStudio/dss_home/bin/dss stop

 

2. Find your original .DMG installer (see this documentation), open it and drag and drop the application to the Applications folder to overwrite the existing one.

3. Restart DSS: search for the DataScienceStudio application with Spotlight and double-click to start it.

If that doesn't work, could you please send attach the log file ~/Library/DataScienceStudio/dss_home/run/install.log to this thread?

Cheers,

Alex

Level 2
Author

Hi,

thank you for your very fast answer!

I added the JAVA_HOME export statement to my bash_profil. 

But I couldn't stop DSS by running your command because in my Library folder is no DataScienceStudio folder.

So I just delete the DataScienceStudio application and reinstall it but unfortunately the same error occured and /Library/DataScienceStudio is still  "No such file or directory". Therefore I cannot send the log file. 

Is it possible to create the folder manually?

Cheers,

Kira

 

0 Kudos
Dataiker
Dataiker

Hi,

The correct path is ~/Library/DataScienceStudio/dss_home. In your last message, you mention using /Library without ~ at the beginning.

~ indicates your user home directory folder, with the absolute path /Users/<your-user-name>.

The procedure I explained above should work after specifying the right path with ~.

Hope it helps,

Alex

0 Kudos
Level 2
Author

Hi,

unfortunately it doesn't work that way either.

0 Kudos
Dataiker
Dataiker

Hi,

Could you please run

cd ~/Library && ls -la

and send us the output of this listing?

Cheers,

Alex 

0 Kudos
Level 2
Author

Hi,

The annex contains the output of this listing.

Cheers,

Kira

0 Kudos
Dataiker
Dataiker

Thanks. The listing seems correct and there is indeed no DataScienceStudio folder. Could you run again Step 1 of https://www.dataiku.com/product/get-started/mac/?  And then send us the same listing again, or any error message if any.

0 Kudos
Level 2
Author

Hi,

I have very good news! 😊

I run again Step 1, but the listing was still the same without the DataScienceStudio folder. I also couldn't open it - still get the error "Java is required - DSS needs Java to be installed."

Then I tried to open it on another way: I double clicked: /Applications/DataScienceStudio.app/Contents/MacOS/DataScienceStudio in the Finder and then DataScienceStudio opened. Now I also have the folder /Users/kira/Library/DataScienceStudio

 

I still can't open DSS directly via /Applications/DataScienceStudio.app, but now I know how to open it in a different way.

Thanks a lot, Alex for the quick answers and helpful tips! 👍

Cheers,
Kira

 

0 Kudos
Dataiker
Dataiker

Hi,

That's good to hear. It seems your issue was linked to the way you were opening the app (Step 2). The recommended way is through Spotlight.

To open DSS easily, I suggest:

1. removing the existing app from your Dock (assuming you have it already)

2. finding the new one from Spotlight ("DataScienceStudio") or from the Finder on /Applications/DataScienceStudio.app/Contents/MacOS/DataScienceStudio

3. dragging and dropping it to your Dock

Cheers,

Alex

0 Kudos