scikit-learn-contrib / category_encoders

A library of sklearn compatible categorical variable encoders
http://contrib.scikit-learn.org/category_encoders/
BSD 3-Clause "New" or "Revised" License
2.41k stars 395 forks source link

ModuleNotFoundError: No module named 'patsy' Bakward Differencing #294

Closed hiyamgh closed 3 years ago

hiyamgh commented 3 years ago

I am using Bakward Differencing, and I have patsy installed:

>>> import patsy
>>> patsy.__version__
'0.5.1'
>>> import category_encoders
>>> category_encoders.__version__
'2.2.2'
>>>

I am getting the error though:

ModuleNotFoundError: No module named 'patsy'
hiyamgh commented 3 years ago

I really don't know what happened but I did again pip install patsy and it worked (although I did this before.) I will close this issue.

Since 2020 everything is getting weird in this world :)