Esri / insights-scripting-guide

A guide and samples for working with the ArcGIS Insights scripting environment.
Apache License 2.0
29 stars 21 forks source link

Unable to use Insights data or bring in data from Jupyter Kernel Gateway to Insights #34

Closed consuelola closed 2 years ago

consuelola commented 2 years ago

Hi,

I'm trying to set up the scripting environment for Insights desktop, I followed the instructions in the scripting guide but when I try to connect o the Python kernel I get the message "Unable to use Insights data or bring in data from Jupyter Kernel Gateway to Insights. One or more libraries are missing from your Jupyter Kernel Gateway. Review the ArcGIS Insights Scripting Guide for more information". I checked that the dependencies are all installed, but I keep getting the same message. When I try to connect to the R kernel is all good however. Do you know what might be going on?

Thank you!

applecool commented 2 years ago

Hey,

Thank you so much for bringing this to our attention. Seems like one of the packages isn't getting installed properly during the environment creation. Let me try to reproduce this issue on my end to see what's going on before I provide you with my assessment or solution to the problem :)

Could you please provide the following information:

Thank you

consuelola commented 2 years ago

Hey,

Here is the info:

Insights desktop version: Insights 2022.2
Conda version: 22.9.0
Anaconda version: 2022.10
OS: Windows 11
List of packages installed in your created environment: this I cannot reproduce because I re installed both anaconda and Insights.

I solved the issue, I re installed anaconda and Insights, I tried setting the environment as described in the scripting guide, using this command "conda env create -f insights-base.yml". However it did not work, it took forever and every time I tried I got a message saying "Solving environment: *** picosat: out of memory in 'new'". Finally I installed all the packages manually and it worked. I don't know what happened, but still this information might be useful for you.

Thank you anyways!

applecool commented 2 years ago

Oh, that's great to hear that you got it working when installing the packages manually. By the way, if you are using Insights 2022.2, you should be using insights-latest.yml not the insights-base.yml :)

Thank you so much for the information. Appreciate it :)