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

Build failure on Windows 11 #2

Open
dineshbvadhia opened this issue Nov 21, 2023 · 0 comments
Open

Build failure on Windows 11 #2

dineshbvadhia opened this issue Nov 21, 2023 · 0 comments

Comments

@dineshbvadhia
Copy link

dineshbvadhia commented Nov 21, 2023

Hi. Got a build error installing with pip on Windows 11. Using kivy 2.2.1 and Python 11.x

PS > pip install kivy-garden.tickmarker
Collecting kivy-garden.tickmarker
  Using cached kivy_garden.tickmarker-3.0.1.tar.gz (10 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: kivy in ...\appdata\local\programs\python\python311\lib\site-packages (from kivy-garden.tickmarker) (2.2.1)
Requirement already satisfied: Kivy-Garden>=0.1.4 in ...\appdata\local\programs\python\python311\lib\site-packages (from kivy->kivy-garden.tickmarker) (0.1.5)
Requirement already satisfied: docutils in ...\appdata\local\programs\python\python311\lib\site-packages (from kivy->kivy-garden.tickmarker) (0.20.1)
Requirement already satisfied: pygments in ...\appdata\local\programs\python\python311\lib\site-packages (from kivy->kivy-garden.tickmarker) (2.15.1)
Requirement already satisfied: kivy-deps.angle~=0.3.3 in ...\appdata\local\programs\python\python311\lib\site-packages (from kivy->kivy-garden.tickmarker) (0.3.3)
Requirement already satisfied: kivy-deps.sdl2~=0.6.0 in ...\appdata\local\programs\python\python311\lib\site-packages (from kivy->kivy-garden.tickmarker) (0.6.0)
Requirement already satisfied: kivy-deps.glew~=0.3.1 in ...\appdata\local\programs\python\python311\lib\site-packages (from kivy->kivy-garden.tickmarker) (0.3.1)
Requirement already satisfied: pypiwin32 in ...\appdata\local\programs\python\python311\lib\site-packages (from kivy->kivy-garden.tickmarker) (223)
Requirement already satisfied: requests in ...\appdata\local\programs\python\python311\lib\site-packages (from Kivy-Garden>=0.1.4->kivy->kivy-garden.tickmarker) (2.31.0)
Requirement already satisfied: pywin32>=223 in ...\appdata\local\programs\python\python311\lib\site-packages (from pypiwin32->kivy->kivy-garden.tickmarker) (306)
Requirement already satisfied: charset-normalizer<4,>=2 in ...\appdata\local\programs\python\python311\lib\site-packages (from requests->Kivy-Garden>=0.1.4->kivy->kivy-garden.tickmarker) (3.1.0)
Requirement already satisfied: idna<4,>=2.5 in ...\appdata\local\programs\python\python311\lib\site-packages (from requests->Kivy-Garden>=0.1.4->kivy->kivy-garden.tickmarker) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in ...\appdata\local\programs\python\python311\lib\site-packages (from requests->Kivy-Garden>=0.1.4->kivy->kivy-garden.tickmarker) (1.26.16)
Requirement already satisfied: certifi>=2017.4.17 in ...\appdata\local\programs\python\python311\lib\site-packages (from requests->Kivy-Garden>=0.1.4->kivy->kivy-garden.tickmarker) (2023.5.7)
Building wheels for collected packages: kivy-garden.tickmarker
  Building wheel for kivy-garden.tickmarker (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for kivy-garden.tickmarker (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [27 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-311
      creating build\lib.win-amd64-cpython-311\kivy_garden
      creating build\lib.win-amd64-cpython-311\kivy_garden\tickmarker
      copying kivy_garden\tickmarker\_version.py -> build\lib.win-amd64-cpython-311\kivy_garden\tickmarker
      copying kivy_garden\tickmarker\__init__.py -> build\lib.win-amd64-cpython-311\kivy_garden\tickmarker
      creating build\lib.win-amd64-cpython-311\kivy_garden\tickmarker\tests
      copying kivy_garden\tickmarker\tests\test_import.py -> build\lib.win-amd64-cpython-311\kivy_garden\tickmarker\tests
      running build_ext
      C:\Users\...\AppData\Local\Temp\pip-build-env-ztgc9s02\overlay\Lib\site-packages\Cython\Compiler\Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: C:\Users\...\AppData\Local\Temp\pip-install-xnu8gelt\kivy-garden-tickmarker_3b3d8f94a35a4dbebb3049689d0692b5\kivy_garden\tickmarker\ticks.pyx
        tree = Parsing.p_module(s, pxd, full_module_name)
      Compiling C:\Users\...\AppData\Local\Temp\pip-install-xnu8gelt\kivy-garden-tickmarker_3b3d8f94a35a4dbebb3049689d0692b5\kivy_garden\tickmarker\ticks.pyx because it changed.
      [1/1] Cythonizing C:\Users\...\AppData\Local\Temp\pip-install-xnu8gelt\kivy-garden-tickmarker_3b3d8f94a35a4dbebb3049689d0692b5\kivy_garden\tickmarker\ticks.pyx
      building 'kivy_garden.tickmarker.ticks' extension
      creating build\temp.win-amd64-cpython-311
      creating build\temp.win-amd64-cpython-311\Release
      creating build\temp.win-amd64-cpython-311\Release\Users
      creating build\temp.win-amd64-cpython-311\Release\Users\...
      creating build\temp.win-amd64-cpython-311\Release\Users\...\AppData
      creating build\temp.win-amd64-cpython-311\Release\Users\...\AppData\Local
      creating build\temp.win-amd64-cpython-311\Release\Users\...\AppData\Local\Temp
      creating build\temp.win-amd64-cpython-311\Release\Users\...\AppData\Local\Temp\pip-install-xnu8gelt
      creating build\temp.win-amd64-cpython-311\Release\Users\...\AppData\Local\Temp\pip-install-xnu8gelt\kivy-garden-tickmarker_3b3d8f94a35a4dbebb3049689d0692b5
      error: could not create 'build\temp.win-amd64-cpython-311\Release\Users\...\AppData\Local\Temp\pip-install-xnu8gelt\kivy-garden-tickmarker_3b3d8f94a35a4dbebb3049689d0692b5': The filename or extension is too long
      [end of output]

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

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

1 participant