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

Install error on ubuntu / window - pip and conda #1741

Open
ladylazy9x opened this issue Sep 23, 2024 · 4 comments
Open

Install error on ubuntu / window - pip and conda #1741

ladylazy9x opened this issue Sep 23, 2024 · 4 comments

Comments

@ladylazy9x
Copy link

ladylazy9x commented Sep 23, 2024

I meet issue install this library on both window and ubuntu 24.04, and this is ubuntu, plz help! I try other library like TPOT, even successful but still cannot import.

with pip: error:

        File "<string>", line 293, in setup_package
      ModuleNotFoundError: No module named 'numpy.distutils'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

with conda: error:

    conda install conda-forge::auto-sklearn
Channels:
 - defaults
 - conda-forge
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: / warning  libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package auto-sklearn-0.12.5-pyhd8ed1ab_0 requires pyrfr >=0.8.1,<0.9, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ auto-sklearn is installable and it requires
│  └─ pyrfr >=0.8.1,<0.9  with the potential options
│     ├─ pyrfr [0.8.1|0.8.2] would require
│     │  └─ python >=3.6,<3.7.0a0 , which can be installed;
│     ├─ pyrfr [0.8.1|0.8.2|0.8.3] would require
│     │  └─ python >=3.7,<3.8.0a0 , which can be installed;
│     ├─ pyrfr [0.8.1|0.8.2|0.8.3] would require
│     │  └─ python >=3.8,<3.9.0a0 , which can be installed;
│     ├─ pyrfr [0.8.1|0.8.2|0.8.3] would require
│     │  └─ python >=3.9,<3.10.0a0 , which can be installed;
│     ├─ pyrfr [0.8.2|0.8.3] would require
│     │  └─ python >=3.10,<3.11.0a0 , which can be installed;
│     └─ pyrfr 0.8.3 would require
│        └─ python >=3.11,<3.12.0a0 , which can be installed;
└─ pin-1 is not installable because it requires
   └─ python 3.12.* , which conflicts with any installable versions previously reported.

@ladylazy9x ladylazy9x changed the title Install error on ubuntu / window - metadata generation failed Install error on ubuntu / window - pip and conda Sep 24, 2024
@AllenNa1337
Copy link

Did you ever find a fix for this?

@ImadSaddik
Copy link

I am experiencing the same issue on Ubuntu 24.04 LTS

@ImadSaddik
Copy link

ImadSaddik commented Nov 2, 2024

Hi @ladylazy9x and @AllenNa1337. I managed to solve the issue!

I created a new Conda environment with Python 3.7 and ran:

pip install auto-sklearn

At the end, I got a message saying Successfully built auto-sklearn.

@AllenNa1337
Copy link

@ImadSaddik yea it appears to be a python version problem. Python 3.9 worked for me

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

No branches or pull requests

3 participants