Comments (11)
@aalejoramirezz Hi, Seems like you have some missing libraries. You might be missing msgpack. Please install msgpack as part of your setup. That should fix the issue.
from insights-scripting-guide.
@aalejoramirezz I have updated the instructions on the conda in the readme. Please take a look :) Thanks.
from insights-scripting-guide.
thanks for replying @applecool
I tried: conda install -c conda-forge msgpack and failed
So I did: conda install msgpack-python and works.
But still getting the same errors :(
NameError: name '__get_column_types' is not defined
NameError: name 'insights_dict' is not defined
from insights-scripting-guide.
@aalejoramirezz I can make this change. I too see same behavior.
Are you using Mac or Windows?
from insights-scripting-guide.
@phpmaps hi, I'm using Windows and Anaconda
from insights-scripting-guide.
@aalejoramirezz That's right its msgpack-python
on conda. I updated that as well. Do you have shapely
and geopandas
installed?
These are the required libs - pandas
, geopandas
, numpy
, matplotlib
, msgpack
, shapely
and requests
.
Try conda list
and check if you have all these packages exist in the list. That will give you an idea if you are missing any packages mentioned above.
from insights-scripting-guide.
@applecool Yeah, I already installed all of them.
Versions
shapely 1.6.4, geopandas 0.6.1, pandas 0.25.1, numpy 1.16.5,
matplot 3.1.1, msgpack-python 0.6.1 , requests 2.22.0
The error still persists
from insights-scripting-guide.
Hello, any update on this error?
thanks for replying @applecool
I tried: conda install -c conda-forge msgpack and failed
So I did: conda install msgpack-python and works.But still getting the same errors :(
NameError: name '__get_column_types' is not defined
NameError: name 'insights_dict' is not defined
Iยดm also getting the "NameError: name 'insights_dict' is not defined"
I also have installed all the libraries that @applecool lists.
Thanks
from insights-scripting-guide.
@jnbaene That is strange. Which version of Insights are you using currently? And is it desktop or enterprise?
from insights-scripting-guide.
@applecool I'm using Insights Desktop
from insights-scripting-guide.
Hello @applecool , I have an update with this issue.
Just created a new environment from scratch and tried doing the same action, viewing a variable with the script and it worked. I've checked what were the differences between both environments and found 12 packages that weren't present on my original environment, so maybe some of them could cause this issue to pop up. I will list them and hope it helps
Name | Version | Build | Channel
-- | -- | -- | --
asn1crypto | 1.2.0 | py37_0 | anaconda
deprecated | 1.2.7 | pypi_0 | pypi
descartes | 1.1.0 | pypi_0 | pypi
joblib | 0.14.0 | pypi_0 | pypi
palettable | 3.3.0 | pypi_0 | pypi
pandoc | 2.2.3.2 | 0 | anaconda
pysal | 2.1.0 | pypi_0 | pypi
scikit-learn | 0.21.3 | pypi_0 | pypi
scipy | 1.3.3 | pypi_0 | pypi
seaborn | 0.9.0 | pypi_0 | pypi
tqdm | 4.39.0 | pypi_0 | pypi
wrapt | 1.11.2 | pypi_0 | pypi
from insights-scripting-guide.
Related Issues (13)
- cannot run the sample 'drag-n-drop-charting' HOT 2
- cannot setup the gateway - error installing rpy2 with conda HOT 1
- The ubuntu container won't handle windows authentication HOT 2
- Support for Plotly charts in R HOT 1
- Setup Scripting Environment to Connect via ArcGIS Pro Python Installation HOT 1
- Unable to use Insights data or bring in data from Jupyter Kernel Gateway to Insights HOT 3
- WebSocket connection failed: Error during WebSocket handshake HOT 1
- insights-2022.yml file takes a long time to complete HOT 1
- the latest jupyter gateway 2.4.0 does not work with Insights HOT 1
- Kernel not starting, Insights for Portal HOT 10
- Kernel not starting, localhost HOT 1
- Graph labeling problems HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from insights-scripting-guide.