Open abdrysdale opened 3 months ago
This seems to be due to setuptools
not being installed. A simple pip install setuptools
or poetry add setuptools
solves the issue.
I've created a pull request for the fix which includes setuptools
in the requirements.
However, it is worth noting that pkg_resources
is being slowly depreciated in favor of importlib.resources and there is also a really handy migration guide on the subject matter.
It's worth noting that importlib.resources
only supports the following APIs:
pkg_resources.resource_filename()
pkg_resources.resource_stream()
pkg_resources.resource_string()
pkg_resources.resource_listdir()
pkg_resources.resource_isdir()
so importlib.resources
may not be an appropriate.
Current Behaviour
Thanks for the great repository!
Currently fails on the import with
Resulting in:
Expected Behaviour
The library should be successfully imported.
Data Description
Currently not using any data as it fails on the import.
Code that reproduces the bug
pandas-profiling version
4.8.3
Dependencies
OS
Windows 11
Checklist