ValueError: Unable to determine which files to ship inside the wheel using the following heuristics:

MRE

Python 3.9

Windows OS

On running the below command:

pip install kaggle

Complete error message:

Defaulting to user installation because normal site-packages is not writeable
Collecting kaggle
  Using cached kaggle-1.6.15.tar.gz (9.1 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'error'
WARNING: Ignoring invalid distribution -atplotlib (c:usersnavigatordevappdataroamingpythonpython39site-packages)
WARNING: Ignoring invalid distribution -atplotlib (c:usersnavigatordevappdataroamingpythonpython39site-packages)
  error: subprocess-exited-with-error
  
  Preparing metadata (pyproject.toml) did not run successfully.
  exit code: 1
  
  [35 lines of output]
  Traceback (most recent call last):
    File "C:UsersnavigatordevAppDataRoamingPythonPython39site-packagespip_vendorpyproject_hooks_in_process_in_process.py", line 353, in <module>
      main()
    File "C:UsersnavigatordevAppDataRoamingPythonPython39site-packagespip_vendorpyproject_hooks_in_process_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "C:UsersnavigatordevAppDataRoamingPythonPython39site-packagespip_vendorpyproject_hooks_in_process_in_process.py", line 152, in prepare_metadata_for_build_wheel
      whl_basename = backend.build_wheel(metadata_directory, config_settings)
    File "C:UsersnavigatordevAppDataLocalTemppip-build-env-oc6jw0q8overlayLibsite-packageshatchlingbuild.py", line 58, in build_wheel
      return os.path.basename(next(builder.build(directory=wheel_directory, versions=['standard'])))
    File "C:UsersnavigatordevAppDataLocalTemppip-build-env-oc6jw0q8overlayLibsite-packageshatchlingbuildersplugininterface.py", line 155, in build
      artifact = version_api[version](directory, **build_data)
    File "C:UsersnavigatordevAppDataLocalTemppip-build-env-oc6jw0q8overlayLibsite-packageshatchlingbuilderswheel.py", line 475, in build_standard
      for included_file in self.recurse_included_files():
    File "C:UsersnavigatordevAppDataLocalTemppip-build-env-oc6jw0q8overlayLibsite-packageshatchlingbuildersplugininterface.py", line 176, in recurse_included_files
      yield from self.recurse_selected_project_files()
    File "C:UsersnavigatordevAppDataLocalTemppip-build-env-oc6jw0q8overlayLibsite-packageshatchlingbuildersplugininterface.py", line 180, in recurse_selected_project_files
      if self.config.only_include:
    File "C:UsersnavigatordevAppDataLocalTemppip-build-env-oc6jw0q8overlayLibsite-packageshatchlingbuildersconfig.py", line 806, in only_include
      only_include = only_include_config.get('only-include', self.default_only_include()) or self.packages
    File "C:UsersnavigatordevAppDataLocalTemppip-build-env-oc6jw0q8overlayLibsite-packageshatchlingbuilderswheel.py", line 260, in default_only_include
      return self.default_file_selection_options.only_include
    File "c:program filespython39libfunctools.py", line 969, in __get__
      val = self.func(instance)
    File "C:UsersnavigatordevAppDataLocalTemppip-build-env-oc6jw0q8overlayLibsite-packageshatchlingbuilderswheel.py", line 248, in default_file_selection_options
      raise ValueError(message)
  ValueError: Unable to determine which files to ship inside the wheel using the following heuristics: https://hatch.pypa.io/latest/plugins/builder/wheel/#default-file-selection
  
  The most likely cause of this is that there is no directory that matches the name of your project (kaggle).
  
  At least one file selection option must be defined in the `tool.hatch.build.targets.wheel` table, see: https://hatch.pypa.io/latest/config/build/
  
  As an example, if you intend to ship a directory named `foo` that resides within a `src` directory located at the root of your project, you can define the following:
  
  [tool.hatch.build.targets.wheel]
  packages = ["src/foo"]
  [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.

Any idea whats going on?

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật