holgern / pyRdatasets

2293 datasets from various R packages packed as DataFrames through compressed pickle files
http://vincentarelbundock.github.io/Rdatasets/datasets.html
GNU General Public License v3.0
8 stars 4 forks source link

ModuleNotFoundError: No module named 'imp' #1

Closed pniau7 closed 6 months ago

pniau7 commented 6 months ago

I'm getting the following error when pip installing rdatasets ModuleNotFoundError: No module named 'imp'

I'm using Python 3.12. Looking around for similar issues, I found that the 'imp' module was deprecated.

Thanks for you module, and I hope to be able to use it in the future.

holgern commented 6 months ago

Can you try again? It should be fixed in the latest release.

holgern commented 6 months ago

The wheels before 0.2.8 are broken, please try again when you have installed an version < 0.2.8

holgern commented 6 months ago

The package is now also on conda-forge: https://anaconda.org/conda-forge/rdatasets/badges