microsoft / vivainsights-py

Python package for Analyzing and Visualizing data from Viva Insights
https://microsoft.github.io/vivainsights-py/
Other
13 stars 2 forks source link

Issue with 'ImportError: No module named pkg_resources' #23

Open martinctc opened 9 months ago

martinctc commented 9 months ago

When loading the vivainsights package with:

import vivainsights as vi

A warning/error has been reported, which goes:

Issue with 'ImportError: No module named pkg_resources'

This can be resolved by running the following in Command Prompt:

pip install setuptools

and then running the following again in a new Python terminal:

import vivainsights as vi

However, it would be good to identify the solution so that this is automatically resolved, perhaps through updating 'requirements.txt' in the package.