Tawfiq Ammari
Tawfiq Ammari

Reputation: 11

Error on importing eli5, Python 3.7, sklearn version 0.19.2'

When I import eli5, I get the following error:

    157 
    158 def get_cache_token():
--> 159     return ABCMeta._abc_invalidation_counter
    160 
    161 

AttributeError: type object 'ABCMeta' has no attribute '_abc_invalidation_counter'

What's this about?

Upvotes: 0

Views: 2542

Answers (1)

G.Min
G.Min

Reputation: 53

For your information, currently eli5 is not supported in python 3.7, fastest solution of the problem is to switch to different version of python, or look for alternative libraries (example: I needed make_moons from eli5, but it have implementation outside it, in sklearn)

Upvotes: 1

Related Questions