IBMDataScience / DSx-Desktop

IBM Data Science Experience Desktop was built for those who want to download and play locally. Analyze, learn, and build with the tools you love, right on your desktop.
33 stars 18 forks source link

DSX Desktop on Windows 10 saying "You don't currently have Jupyter Notebooks", though it is installed #73

Closed mpaulis1 closed 5 years ago

mpaulis1 commented 6 years ago

DSX Desktop 1.2.4 (up to date, as per settings/version) Windows 10 with admin permissions.

DSX was initially installed with Jupyter/Python3.5/Spark option. Trying to load a .ipynb file results in a screen with the following messages/buttons: "Looking for Jupyter Notebooks? You don't currently have Jupyter Notebooks Download it now [Get Jupyter Notebooks]"

If I select to [Get Jupyter Notebooks] it quickly indicates that it is installed successfully. Then, going back to try to access a notebook again, the same message occurs.

I didn't see any notable errors in the dsx-desktop.log file.

jorgerojaspizarro commented 6 years ago

Hi there, had you can solve this issue? I'm in the same situation.

regards

jerry1100 commented 6 years ago

Sounds like your definition files could be missing, which is what we check to see if you have an image installed or not. Typically Windows users have issues with this, but since I think both of you are Mac users, this is interesting.

To verify, run the command below. If there is no jupyter-server.json file then you are experiencing this issue.

ls ~/Library/Application\ Support/ibm-dsx-desktop/user-home/_global_/re/ibm/definitions/

To resolve it, you should remove that definitions directory and for good measure, restart the core container. Afterwards, the app will think you don't have jupyter installed. Go to the settings and install jupyter, which should be very quick since we did not actually delete the image.

rm -rf ~/Library/Application\ Support/ibm-dsx-desktop/user-home/_global_/re/ibm/definitions/
docker rm -f dsx-desktop

Let me know if this helps.

jorgerojaspizarro commented 6 years ago

Hi, I'm a windows user, anyway I tried installing DSX on a computer with Ubuntu and the result was the same.

Please help me solve it in Windows 10 PRO 👍

mpaulis1 commented 6 years ago

@jerry1100 , I am on Windows, not MAC. Where is that definitions directory on Windows? I couldn't find that particular JSON file on another Windows machine which is working properly.

jerry1100 commented 6 years ago

Sorry @jorgerojaspizarro, I mistook you for one of my coworkers, which is why I assumed you were running OS X.

For Windows, the definition files are located in (enter this in your file explorer's address bar):

%AppData%\Roaming\ibm-dsx-desktop\user-home\_global_\re\ibm\definitions

If you're using Docker for Windows, you should see a .json file in the definitions directory.

Also some more questions:

We've had a lot of issues with Docker for Windows playing nicely with Windows 10, especially when Microsoft Azure AD and Symantec Endpoint Protection are installed. Fortunately, we know how to resolve them (with a bit of work).

jerry1100 commented 6 years ago

@mpaulis1 just following up, is this still an issue for you?

jerry1100 commented 5 years ago

Closing due to lack of activity. If you want to pursue this further, feel free to reopen.

Venkatesh6840 commented 5 years ago

Hi @jerry1100 i tried to follow the below steps

"To resolve it, you should remove that definitions directory and for good measure, restart the core container. Afterwards, the app will think you don't have jupyter installed. Go to the settings and install jupyter, which should be very quick since we did not actually delete the image.

rm -rf ~/Library/Application\ Support/ibm-dsx-desktop/user-home/global/re/ibm/definitions/ docker rm -f dsx-desktop "

but still not able to resolve the issue , im not able to open the notebook from IBM DSX , can you please provide any more suggestions on this

jerry1100 commented 5 years ago

Hey @Venkatesh6840,

If you haven't already, take a look at the troubleshooting section in the project's README.

It's been a while since I worked with DSX Desktop so I don't really have any other suggestions. You can try removing every trace of DSX Desktop and start fresh:

  1. Uninstall DSX Desktop via Control Panel (Windows) or drag the app to the trash (Mac)
  2. Delete %AppData%\Roaming\ibm-dsx-desktop (Windows) or ~/Library/Application\ Support/ibm-dsx-desktop (Mac)
  3. Remove all dsx-desktop docker containers