Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
consuelola opened this issue Oct 27, 2022 · 3 comments

Comments

@consuelola
Copy link

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
Copy link
Member

applecool commented Oct 27, 2022

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:

  • Insights desktop version
  • Conda version (You can find this by running conda info in your Anaconda prompt (if you are on Windows) or in your Terminal (if you are on MacOS))
  • Anaconda version (You can find this by running conda list anaconda$ in your Anaconda prompt (if you are on Windows) or in your Terminal (if you are on MacOS))
  • OS
  • List of packages installed in your created environment (You can find this by running conda list -n insights-latest in your Anaconda prompt (if you are on Windows) or in your Terminal (if you are on MacOS))

Thank you

@consuelola
Copy link
Author

consuelola commented Oct 27, 2022

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
Copy link
Member

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants