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

Kaggle Installation Error - Failed to Build Wheel for Kaggle. #546

Open
john-james-ai opened this issue Feb 14, 2024 · 1 comment
Open
Labels
question Further information is requested

Comments

@john-james-ai
Copy link

john-james-ai commented Feb 14, 2024

When installing kaggle using pip, the following exception is raised.

===

Building wheel for kaggle (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
/home/*****/anaconda3/envs/bcd/lib/python3.10/site-packages/setuptools/dist.py:472: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

          ********************************************************************************
          Usage of dash-separated 'description-file' will not be supported in future
          versions. Please use the underscore name 'description_file' instead.
  
          By 2024-Sep-26, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.
  
          See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
          ********************************************************************************
  
  !!
    opt = self.warn_dash_deprecation(opt, section)
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help
  
  error: invalid command 'bdist_wheel'
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for kaggle
Running setup.py clean for kaggle
Failed to build kaggle
ERROR: Could not build wheels for kaggle, which is required to install pyproject.toml-based projects

===

I've checked my setup.cfg, and pyproject.toml and no dash separated variables are present. I've reinstalled setuptools, yet the error persists. Thanks in advance for your support on this one.

@Philmod
Copy link
Contributor

Philmod commented Feb 14, 2024

I'm not able to reproduce this error.

What's your OS, python, pip, ... versions?

@stevemessick stevemessick added the question Further information is requested label Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants