rodrigo-arenas / Sklearn-genetic-opt

ML hyperparameters tuning and features selection, using evolutionary algorithms.
https://sklearn-genetic-opt.readthedocs.io
MIT License
307 stars 77 forks source link

Version attribute does not seem to work #80

Closed rasbt closed 2 years ago

rasbt commented 2 years ago

System information OS Platform and Distribution (e.g., macOS 12.0.1): Sklearn-genetic-opt version: Unknown Scikit-learn version: 1.0 Python version: 3.9

Describe the bug The version attribute does not seem to work

To Reproduce

import sklearn_genetic
print(sklearn_genetic.__version__)

Expected behavior Should show version number.

Screenshots Screen Shot 2021-11-21 at 8 18 01 AM

Additional context Installed package as described in the docs, i.e.,

pip install sklearn-genetic-opt
rasbt commented 2 years ago

Nvm. Pip installed an old version from pypi which didn't have the version attribute. Downloading the source code and installing it from the local location fixed it.

rodrigo-arenas commented 2 years ago

The self-solving bugs are the best, let me know if you have any questions!