hykilpikonna / hyfetch

🏳️‍🌈 🏳️‍⚧️ Neofetch with LGBTQ+ pride flags!
MIT License
1.18k stars 93 forks source link

Master branch fails to compile on Windows #178

Closed RuiNtD closed 10 months ago

RuiNtD commented 10 months ago

Describe the bug

The master branch fails to compile on Windows.

Expected behavior

It compiles.

Screenshots

Config file

Don't have a config.

Additional context

> pip install .
Processing e:\dev\hyfetch
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [32 lines of output]
      Traceback (most recent call last):
        File "C:\Users\ethan\scoop\apps\python\current\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
        File "C:\Users\ethan\scoop\apps\python\current\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\ethan\scoop\apps\python\current\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\ethan\AppData\Local\Temp\pip-build-env-5pbwfzgy\overlay\Lib\site-packages\setuptools\build_meta.py", line 355, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\ethan\AppData\Local\Temp\pip-build-env-5pbwfzgy\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in _get_build_requires
          self.run_setup()
        File "C:\Users\ethan\AppData\Local\Temp\pip-build-env-5pbwfzgy\overlay\Lib\site-packages\setuptools\build_meta.py", line 507, in run_setup
          super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
        File "C:\Users\ethan\AppData\Local\Temp\pip-build-env-5pbwfzgy\overlay\Lib\site-packages\setuptools\build_meta.py", line 341, in run_setup
          exec(code, locals())
        File "<string>", line 6, in <module>
        File "E:\dev\hyfetch\hyfetch\__init__.py", line 3, in <module>
          from . import main, constants
        File "E:\dev\hyfetch\hyfetch\main.py", line 12, in <module>
          from . import termenv, neofetch_util, pride_month
        File "E:\dev\hyfetch\hyfetch\termenv.py", line 7, in <module>
          from .color_util import RGB, AnsiMode
        File "E:\dev\hyfetch\hyfetch\color_util.py", line 6, in <module>
          from .constants import GLOBAL_CFG
        File "E:\dev\hyfetch\hyfetch\constants.py", line 8, in <module>
          from .types import LightDark
        File "E:\dev\hyfetch\hyfetch\types.py", line 1, in <module>
          from typing_extensions import Literal
      ModuleNotFoundError: No module named 'typing_extensions'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
RuiNtD commented 10 months ago

I fixed it by manually installing wheel lol