gap_statistic icon indicating copy to clipboard operation
gap_statistic copied to clipboard

no module named 'wheel.wheelfile' - need to update required version of wheel

Open lebedov opened this issue 1 year ago • 3 comments

The version of wheel required by gap-stat for installation (0.31.1) doesn't seem to contain the module wheel.wheelfile; this breaks installation via pip.

        File "/private/var/folders/jt/c4z7qp7x3h137gz4c0wbzdyr0000gp/T/pip-build-env-glc3q1ra/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 686, in get_command_class
          from .command.bdist_wheel import bdist_wheel
        File "/private/var/folders/jt/c4z7qp7x3h137gz4c0wbzdyr0000gp/T/pip-build-env-glc3q1ra/overlay/lib/python3.10/site-packages/setuptools/command/bdist_wheel.py", line 29, in <module>
          from wheel.wheelfile import WheelFile
      ModuleNotFoundError: No module named 'wheel.wheelfile'

Updating the required wheel version to a more recent release seems to fix the problem. Will submit PR.

lebedov avatar Jul 30 '24 13:07 lebedov

Per the PR I submitted, I just updated the required wheel version in pyproject.toml and installed from my local source directory. Perhaps the old version of wheel is still present on your system; try uninstalling and reinstalling wheel, then install from source with my modification applied.

lebedov avatar Aug 12 '24 02:08 lebedov

This issue still happens to me both in Windows 10 and Ubuntu.

KautsarAqsa avatar Sep 28 '24 13:09 KautsarAqsa

The PR worked for me.

alvins82 avatar Dec 10 '24 01:12 alvins82