Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How long is the installation supposed to take #1330

Open
Luigiboard opened this issue Nov 28, 2023 · 3 comments · Fixed by #1337
Open

How long is the installation supposed to take #1330

Luigiboard opened this issue Nov 28, 2023 · 3 comments · Fixed by #1337

Comments

@Luigiboard
Copy link

[provide general introduction to the issue and why it is relevant to this repository]

Context of the issue

Because mine first went for 10 min, deleted it then tried to install again and waited half an hour before deleting again. is it supposed to take that long?
[provide more detailed introduction to the issue itself and why it is relevant]

[the remaining entries are only necessary if you are reporting a bug]

Process to reproduce the issue

[ordered list the process to finding and recreating the issue, example below]

  1. User creates TPOT instance
  2. User calls TPOT fit() function with training data
  3. TPOT crashes with a KeyError after 5 generations

Expected result

[describe what you would expect to have resulted from this process]

Current result

[describe what you currently experience from this process, and thereby explain the bug]

Possible fix

[not necessary, but suggest fixes or reasons for the bug]

name of issue screenshot

[if relevant, include a screenshot]

@perib
Copy link
Contributor

perib commented Nov 28, 2023

how are you installing tpot?

When creating a new environment with anaconda, and installing with pip, I'm able to install the package very quickly with

conda create -n myenv python
conda activate myenv
pip install tpot

Note that this installs the latest Python version, which breaks the current version tpot (#1327), but PR #1331 fixes this. In the meantime, manually installing the fix or using an older version of python should work.

@Luigiboard
Copy link
Author

ImportError: cannot import name 'get_scorer_names' from 'sklearn.metrics'

@perib
Copy link
Contributor

perib commented Dec 8, 2023

This could be due to an old version of scikit learn being used. I updated the minimum requirements for TPOT. Try updating your sklearn version to the latest and let us know if that resolved the issue.

@perib perib reopened this Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants