Novfensec / KvDeveloper

KvDeveloper is a PyPI module designed to streamline the development of Kivy and KivyMD applications. Inspired by Expo CLI for React Native, KvDeveloper provides starter templates and essential functionalities to kickstart your projects with ease.
https://novfensec.github.io/KvDeveloper.docs
MIT License
25 stars 1 forks source link

kdeveloper create fails on macos #4

Open hemna opened 2 hours ago

hemna commented 2 hours ago

I am trying to create a test project using kdeveloper

MacOS Sequoia 15.1

mine/hamradio/kivy via 🐍 v3.11.6 (kivy)
❯ uname -a
Darwin HFF2W62GTV 24.1.0 Darwin Kernel Version 24.1.0: Thu Oct 10 21:03:11 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T6020 arm64
mine/hamradio/kivy via 🐍 v3.11.6 (kivy)
❯ python --version
Python 3.11.6

mine/hamradio/kivy via 🐍 v3.11.6 (kivy)
❯ which python
/Users/I530566/devel/mine/hamradio/kivy/.venv/bin/python

This is the command I ran

kvdeveloper create TestProject --template nav_toolbar --structure MVC

results in some failures

❯ kvdeveloper create TestProject --template nav_toolbar --structure MVC > output.txt
[INFO   ] [Logger      ] Record log in /Users/I530566/.kivy/logs/kivy_24-10-30_20.txt
[INFO   ] [Kivy        ] v2.3.0
[INFO   ] [Kivy        ] Installed at "/Users/I530566/.pyenv/versions/3.11.6/lib/python3.11/site-packages/kivy/__init__.py"
[INFO   ] [Python      ] v3.11.6 (main, Nov 15 2023, 10:48:18) [Clang 15.0.0 (clang-1500.0.40.1)]
[INFO   ] [Python      ] Interpreter at "/Users/I530566/.pyenv/versions/3.11.6/bin/python"
[INFO   ] [Logger      ] Purge log fired. Processing...
[INFO   ] [Logger      ] Purge finished!
[INFO   ] [KivyMD      ] 2.0.1.dev0, git-5ff9d0d, 2024-10-30 (installed at "/Users/I530566/.pyenv/versions/3.11.6/lib/python3.11/site-packages/kivymd/__init__.py")
[INFO   ] [Factory     ] 195 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_imageio, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO   ] [Text        ] Provider: sdl2
[INFO   ] [Window      ] Provider: sdl2
[INFO   ] [GL          ] Using the "OpenGL ES 2" graphics system
[INFO   ] [GL          ] Backend used <sdl2>
[INFO   ] [GL          ] OpenGL version <b'2.1 Metal - 89.3'>
[INFO   ] [GL          ] OpenGL vendor <b'Apple'>
[INFO   ] [GL          ] OpenGL renderer <b'Apple M2 Pro'>
[INFO   ] [GL          ] OpenGL parsed version: 2, 1
[INFO   ] [GL          ] Shading version <b'1.20'>
[INFO   ] [GL          ] Texture max size <16384>
[INFO   ] [GL          ] Texture max units <16>
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
[INFO   ] [KivyMD      ] Project './TestProject' created
[INFO   ] [KivyMD      ] Create a virtual environment for './TestProject' project...
sh: python3.11.6: command not found
[INFO   ] [KivyMD      ] Install requirements for './TestProject' project...
      /private/var/folders/ly/nghswfcj397gj52vdsczbg580000gn/T/pip-install-sjl3qsil/kivy_abb3f4b4ddafng <path>
      ld: warning: duplicate -rpath '/Users/I530566/.pyenv/versions/3.11.6/lib' ignored
      ld: warning: duplicate -rpath '/opt/homebrew/lib' ignored
      ld: warning: search path '-L/Users/I530566/.pyenv/versions/3.11.6/lib' not found
      ld: library 'EGL' not found
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
       warning: kivy/graphics/cgl_backend/cgl_glew.pyx:17:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
       warning: kivy/graphics/cgl_backend/cgl_glew.pyx:26:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
       warning: kivy/graphics/cgl_backend/cgl_glew.pyx:40:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
      ld: warning: duplicate -rpath '/Users/I530566/.pyenv/versions/3.11.6/lib' ignored
      ld: warning: duplicate -rpath '/opt/homebrew/lib' ignored
      /private/var/folders/ly/nghswfcj397gj52vdsczbg580000gn/T/pip-install-sjl3qsil/kivy_abb3f4b4ddaf4e1ea18775664288f29d/kivy/graphics/vertex_instructions.c:97417:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
       97417 |                     CYTHON_FALLTHROUGH;
      ld: warning: duplicate -rpath '/Users/I530566/.pyenv/versions/3.11.6/lib' ignored
      ld: warning: duplicate -rpath '/opt/homebrew/lib' ignored
       error: command '/usr/bin/clang' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for kivy
Failed to build kivy

[notice] A new release of pip is available: 24.2 -> 24.3.1
[notice] To update, run: python3 -m pip install --upgrade pip
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (kivy)
hemna commented 2 hours ago
hamradio/kivy/TestProject via 🐍 v3.11.6 (kivy)
❯ kvdeveloper add-screen Home Chat Profile Settings --structure MVC

  _  __      ____                 _
 | |/ /_   _|  _ \  _____   _____| | ___  _ __   ___ _ __
 | ' /\ \ / / | | |/ _ \ \ / / _ \ |/ _ \| '_ \ / _ \ '__|
 | . \ \ V /| |_| |  __/\ V /  __/ | (_) | |_) |  __/ |
 |_|\_\ \_/ |____/ \___| \_/ \___|_|\___/| .__/ \___|_|
                                         |_|

[INFO   ] [Logger      ] Record log in /Users/I530566/.kivy/logs/kivy_24-10-30_39.txt
[INFO   ] [Kivy        ] v2.3.0
[INFO   ] [Kivy        ] Installed at "/Users/I530566/.pyenv/versions/3.11.6/lib/python3.11/site-packages/kivy/__init__.py"
[INFO   ] [Python      ] v3.11.6 (main, Nov 15 2023, 10:48:18) [Clang 15.0.0 (clang-1500.0.40.1)]
[INFO   ] [Python      ] Interpreter at "/Users/I530566/.pyenv/versions/3.11.6/bin/python"
[INFO   ] [Logger      ] Purge log fired. Processing...
[INFO   ] [Logger      ] Purge finished!
[INFO   ] [KivyMD      ] 2.0.1.dev0, git-5ff9d0d, 2024-10-30 (installed at "/Users/I530566/.pyenv/versions/3.11.6/lib/python3.11/site-packages/kivymd/__init__.py")
[INFO   ] [Factory     ] 195 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_imageio, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO   ] [Text        ] Provider: sdl2
[INFO   ] [Window      ] Provider: sdl2
[INFO   ] [GL          ] Using the "OpenGL ES 2" graphics system
[INFO   ] [GL          ] Backend used <sdl2>
[INFO   ] [GL          ] OpenGL version <b'2.1 Metal - 89.3'>
[INFO   ] [GL          ] OpenGL vendor <b'Apple'>
[INFO   ] [GL          ] OpenGL renderer <b'Apple M2 Pro'>
[INFO   ] [GL          ] OpenGL parsed version: 2, 1
[INFO   ] [GL          ] Shading version <b'1.20'>
[INFO   ] [GL          ] Texture max size <16384>
[INFO   ] [GL          ] Texture max units <16>
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
Usage:
create_project.py [-h] [--use_responsive USE_RESPONSIVE] pattern directory name

positional arguments:
  pattern               the name of the pattern with which the project will be created.
  directory             the directory of the project to which you want to add a new view.
  name                  the name of the view to add to an existing project.

options:
  -h, --help            show this help message and exit
  --use_responsive USE_RESPONSIVE
                        whether to create a view with responsive behavior.

 Error: unrecognized arguments: ChatScreen ProfileScreen SettingsScreen

This project may not be following MVC architecture.

Want to add screen using structure [none: No specific structure] ? [y/n] (n): cd ..
Please select one of the available options
Want to add screen using structure [none: No specific structure] ? [y/n] (n): ^C
Aborted.

hamradio/kivy/TestProject via 🐍 v3.11.6 (kivy) took 1m33s
Novfensec commented 1 hour ago

Resolved with the latest release on pypi kvdeveloper 2024.1.6. If the issue still persists please inform.

hemna commented 22 minutes ago

I just installed python 3.12.7 with pyenv. then created a new virtualenv, then install the latest kivymd and kvdevelop

mine/hamradio/kivy via 🐍 v3.12.7 (kivy)
❯ pip install git+https://github.com/kivymd/KivyMD.git
Collecting git+https://github.com/kivymd/KivyMD.git
  Cloning https://github.com/kivymd/KivyMD.git to /private/var/folders/ly/nghswfcj397gj52vdsczbg580000gn/T/pip-req-build-tgltobxe
  Running command git clone --filter=blob:none --quiet https://github.com/kivymd/KivyMD.git /private/var/folders/ly/nghswfcj397gj52vdsczbg580000gn/T/pip-req-build-tgltobxe
  warning: templates not found in /Users/i530566/.git-template
  Resolved https://github.com/kivymd/KivyMD.git to commit 5ff9d0de78260383fae0737716879781257155a8
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting kivy>=2.3.0 (from kivymd==2.0.1.dev0)
  Using cached Kivy-2.3.0-cp312-cp312-macosx_10_9_universal2.whl.metadata (15 kB)
Collecting pillow (from kivymd==2.0.1.dev0)
  Downloading pillow-11.0.0-cp312-cp312-macosx_11_0_arm64.whl.metadata (9.1 kB)
Collecting materialyoucolor>=2.0.7 (from kivymd==2.0.1.dev0)
  Downloading materialyoucolor-2.0.9-cp312-cp312-macosx_10_9_universal2.whl.metadata (5.5 kB)
Collecting asynckivy<0.7,>=0.6 (from kivymd==2.0.1.dev0)
  Using cached asynckivy-0.6.4-py3-none-any.whl.metadata (5.9 kB)
Collecting asyncgui<0.7,>=0.6 (from asynckivy<0.7,>=0.6->kivymd==2.0.1.dev0)
  Using cached asyncgui-0.6.3-py3-none-any.whl.metadata (1.7 kB)
Collecting Kivy-Garden>=0.1.4 (from kivy>=2.3.0->kivymd==2.0.1.dev0)
  Using cached Kivy_Garden-0.1.5-py3-none-any.whl.metadata (159 bytes)
Collecting docutils (from kivy>=2.3.0->kivymd==2.0.1.dev0)
  Using cached docutils-0.21.2-py3-none-any.whl.metadata (2.8 kB)
Collecting pygments (from kivy>=2.3.0->kivymd==2.0.1.dev0)
  Using cached pygments-2.18.0-py3-none-any.whl.metadata (2.5 kB)
Collecting requests (from Kivy-Garden>=0.1.4->kivy>=2.3.0->kivymd==2.0.1.dev0)
  Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting charset-normalizer<4,>=2 (from requests->Kivy-Garden>=0.1.4->kivy>=2.3.0->kivymd==2.0.1.dev0)
  Downloading charset_normalizer-3.4.0-cp312-cp312-macosx_11_0_arm64.whl.metadata (34 kB)
Collecting idna<4,>=2.5 (from requests->Kivy-Garden>=0.1.4->kivy>=2.3.0->kivymd==2.0.1.dev0)
  Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting urllib3<3,>=1.21.1 (from requests->Kivy-Garden>=0.1.4->kivy>=2.3.0->kivymd==2.0.1.dev0)
  Using cached urllib3-2.2.3-py3-none-any.whl.metadata (6.5 kB)
Collecting certifi>=2017.4.17 (from requests->Kivy-Garden>=0.1.4->kivy>=2.3.0->kivymd==2.0.1.dev0)
  Using cached certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
Using cached asynckivy-0.6.4-py3-none-any.whl (18 kB)
Downloading Kivy-2.3.0-cp312-cp312-macosx_10_9_universal2.whl (11.3 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.3/11.3 MB 91.2 MB/s eta 0:00:00
Downloading materialyoucolor-2.0.9-cp312-cp312-macosx_10_9_universal2.whl (335 kB)
Downloading pillow-11.0.0-cp312-cp312-macosx_11_0_arm64.whl (3.0 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 84.7 MB/s eta 0:00:00
Using cached asyncgui-0.6.3-py3-none-any.whl (9.1 kB)
Using cached Kivy_Garden-0.1.5-py3-none-any.whl (4.6 kB)
Using cached docutils-0.21.2-py3-none-any.whl (587 kB)
Using cached pygments-2.18.0-py3-none-any.whl (1.2 MB)
Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Using cached certifi-2024.8.30-py3-none-any.whl (167 kB)
Downloading charset_normalizer-3.4.0-cp312-cp312-macosx_11_0_arm64.whl (119 kB)
Using cached idna-3.10-py3-none-any.whl (70 kB)
Using cached urllib3-2.2.3-py3-none-any.whl (126 kB)
Building wheels for collected packages: kivymd
  Building wheel for kivymd (pyproject.toml) ... done
  Created wheel for kivymd: filename=kivymd-2.0.1.dev0-py3-none-any.whl size=2147990 sha256=3bdfa5f3c4f81aa813df7286a62bbe9d054f4aade64abd6aac4ea7af86488487
  Stored in directory: /private/var/folders/ly/nghswfcj397gj52vdsczbg580000gn/T/pip-ephem-wheel-cache-bud8dg8m/wheels/e0/35/13/76bab1dfeb0734646f7bd460966bc0300e8e432027bf7ae6ec
Successfully built kivymd
Installing collected packages: materialyoucolor, urllib3, pygments, pillow, idna, docutils, charset-normalizer, certifi, asyncgui, requests, asynckivy, Kivy-Garden, kivy, kivymd
Successfully installed Kivy-Garden-0.1.5 asyncgui-0.6.3 asynckivy-0.6.4 certifi-2024.8.30 charset-normalizer-3.4.0 docutils-0.21.2 idna-3.10 kivy-2.3.0 kivymd-2.0.1.dev0 materialyoucolor-2.0.9 pillow-11.0.0 pygments-2.18.0 requests-2.32.3 urllib3-2.2.3

mine/hamradio/kivy via 🐍 v3.12.7 (kivy) took 9s
❯ pip install git+https://github.com/Novfensec/KvDeveloper.git@main
Collecting git+https://github.com/Novfensec/KvDeveloper.git@main
  Cloning https://github.com/Novfensec/KvDeveloper.git (to revision main) to /private/var/folders/ly/nghswfcj397gj52vdsczbg580000gn/T/pip-req-build-sw39liw6
  Running command git clone --filter=blob:none --quiet https://github.com/Novfensec/KvDeveloper.git /private/var/folders/ly/nghswfcj397gj52vdsczbg580000gn/T/pip-req-build-sw39liw6
  warning: templates not found in /Users/i530566/.git-template
  Resolved https://github.com/Novfensec/KvDeveloper.git to commit 7aad54822d2175a41b030e3cc8241a8e5d4c5359
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: kivy>=2.0.0 in ./.venv/lib/python3.12/site-packages (from kvdeveloper==2024.1.6.dev0) (2.3.0)
Requirement already satisfied: kivymd>=2.0.0 in ./.venv/lib/python3.12/site-packages (from kvdeveloper==2024.1.6.dev0) (2.0.1.dev0)
Requirement already satisfied: pillow>=10.0.0 in ./.venv/lib/python3.12/site-packages (from kvdeveloper==2024.1.6.dev0) (11.0.0)
Collecting typer>=0.12.3 (from kvdeveloper==2024.1.6.dev0)
  Using cached typer-0.12.5-py3-none-any.whl.metadata (15 kB)
Collecting rich>=13.7.1 (from kvdeveloper==2024.1.6.dev0)
  Using cached rich-13.9.3-py3-none-any.whl.metadata (18 kB)
Requirement already satisfied: Kivy-Garden>=0.1.4 in ./.venv/lib/python3.12/site-packages (from kivy>=2.0.0->kvdeveloper==2024.1.6.dev0) (0.1.5)
Requirement already satisfied: docutils in ./.venv/lib/python3.12/site-packages (from kivy>=2.0.0->kvdeveloper==2024.1.6.dev0) (0.21.2)
Requirement already satisfied: pygments in ./.venv/lib/python3.12/site-packages (from kivy>=2.0.0->kvdeveloper==2024.1.6.dev0) (2.18.0)
Requirement already satisfied: materialyoucolor>=2.0.7 in ./.venv/lib/python3.12/site-packages (from kivymd>=2.0.0->kvdeveloper==2024.1.6.dev0) (2.0.9)
Requirement already satisfied: asynckivy<0.7,>=0.6 in ./.venv/lib/python3.12/site-packages (from kivymd>=2.0.0->kvdeveloper==2024.1.6.dev0) (0.6.4)
Collecting markdown-it-py>=2.2.0 (from rich>=13.7.1->kvdeveloper==2024.1.6.dev0)
  Using cached markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)
Collecting click>=8.0.0 (from typer>=0.12.3->kvdeveloper==2024.1.6.dev0)
  Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting typing-extensions>=3.7.4.3 (from typer>=0.12.3->kvdeveloper==2024.1.6.dev0)
  Using cached typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
Collecting shellingham>=1.3.0 (from typer>=0.12.3->kvdeveloper==2024.1.6.dev0)
  Using cached shellingham-1.5.4-py2.py3-none-any.whl.metadata (3.5 kB)
Requirement already satisfied: asyncgui<0.7,>=0.6 in ./.venv/lib/python3.12/site-packages (from asynckivy<0.7,>=0.6->kivymd>=2.0.0->kvdeveloper==2024.1.6.dev0) (0.6.3)
Requirement already satisfied: requests in ./.venv/lib/python3.12/site-packages (from Kivy-Garden>=0.1.4->kivy>=2.0.0->kvdeveloper==2024.1.6.dev0) (2.32.3)
Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich>=13.7.1->kvdeveloper==2024.1.6.dev0)
  Using cached mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB)
Requirement already satisfied: charset-normalizer<4,>=2 in ./.venv/lib/python3.12/site-packages (from requests->Kivy-Garden>=0.1.4->kivy>=2.0.0->kvdeveloper==2024.1.6.dev0) (3.4.0)
Requirement already satisfied: idna<4,>=2.5 in ./.venv/lib/python3.12/site-packages (from requests->Kivy-Garden>=0.1.4->kivy>=2.0.0->kvdeveloper==2024.1.6.dev0) (3.10)
Requirement already satisfied: urllib3<3,>=1.21.1 in ./.venv/lib/python3.12/site-packages (from requests->Kivy-Garden>=0.1.4->kivy>=2.0.0->kvdeveloper==2024.1.6.dev0) (2.2.3)
Requirement already satisfied: certifi>=2017.4.17 in ./.venv/lib/python3.12/site-packages (from requests->Kivy-Garden>=0.1.4->kivy>=2.0.0->kvdeveloper==2024.1.6.dev0) (2024.8.30)
Using cached rich-13.9.3-py3-none-any.whl (242 kB)
Using cached typer-0.12.5-py3-none-any.whl (47 kB)
Using cached click-8.1.7-py3-none-any.whl (97 kB)
Using cached markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
Using cached shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB)
Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Building wheels for collected packages: kvdeveloper
  Building wheel for kvdeveloper (pyproject.toml) ... done
  Created wheel for kvdeveloper: filename=kvdeveloper-2024.1.6.dev0-py3-none-any.whl size=2589904 sha256=204fca520aee446803e5f5778670b47ea4dad12c7ec494e5287de2072cbbd224
  Stored in directory: /private/var/folders/ly/nghswfcj397gj52vdsczbg580000gn/T/pip-ephem-wheel-cache-isobgl_8/wheels/54/cd/37/f7f94a7eed4a160e2feb128f1c897fb9aa37459f95416ac86c
Successfully built kvdeveloper
Installing collected packages: typing-extensions, shellingham, mdurl, click, markdown-it-py, rich, typer, kvdeveloper
Successfully installed click-8.1.7 kvdeveloper-2024.1.6.dev0 markdown-it-py-3.0.0 mdurl-0.1.2 rich-13.9.3 shellingham-1.5.4 typer-0.12.5 typing-extensions-4.12.2

Then I ran the kvdeveloper to create a new project and it failed.

      [INFO   ] clang++ -bundle -undefined dynamic_lookup -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/I530566/.pyenv/versions/3.12.7/lib -Wl,-rpath,/Users/I530566/.pyenv/versions/3.12.7/lib -L/opt/homebrew/lib -Wl,-rpath,/opt/homebrew/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/I530566/.pyenv/versions/3.12.7/lib -Wl,-rpath,/Users/I530566/.pyenv/versions/3.12.7/lib -L/opt/homebrew/lib -Wl,-rpath,/opt/homebrew/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib build/temp.macosx-15.1-arm64-cpython-312/private/var/folders/ly/nghswfcj397gj52vdsczbg580000gn/T/pip-install-bavcq7b3/kivy_593a3d5688d04bebb04943761b81d37b/kivy/core/camera/camera_avfoundation.o -L/Users/I530566/.pyenv/versions/3.12.7/lib -o build/lib.macosx-15.1-arm64-cpython-312/kivy/core/camera/camera_avfoundation.cpython-312-darwin.so -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks -framework AVFoundation -lm
      ld: warning: duplicate -rpath '/Users/I530566/.pyenv/versions/3.12.7/lib' ignored
      ld: warning: duplicate -rpath '/opt/homebrew/lib' ignored
       error: command '/usr/bin/clang' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for kivy
Failed to build kivy
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (kivy)
      [INFO   ] building 'kivy.graphics.cgl_backend.cgl_debug' extension
      [INFO   ] clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -I/private/var/folders/ly/nghswfcj397gj52vdsczbg580000gn/T/pip-install-bavcq7b3/kivy_593a3d5688d04bebb04943761b81d37b/kivy/include -I/private/var/folders/ly/nghswfcj397gj52vdsczbg580000gn/T/pip-install-bavcq7b3/kivy_593a3d5688d04bebb04943761b81d37b/kivy/include -I/Users/I530566/devel/mine/hamradio/kivy/TestProject/venv/include -I/Users/I530566/.pyenv/versions/3.12.7/include/python3.12 -c /private/var/folders/ly/nghswfcj397gj52vdsczbg580000gn/T/pip-install-bavcq7b3/kivy_593a3d5688d04bebb04943761b81d37b/kivy/graphics/cgl_backend/cgl_debug.c -o build/temp.macosx-15.1-arm64-cpython-312/private/var/folders/ly/nghswfcj397gj52vdsczbg580000gn/T/pip-install-bavcq7b3/kivy_593a3d5688d04bebb04943761b81d37b/kivy/graphics/cgl_backend/cgl_debug.o -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks
      /private/var/folders/ly/nghswfcj397gj52vdsczbg580000gn/T/pip-install-bavcq7b3/kivy_593a3d5688d04bebb04943761b81d37b/kivy/graphics/cgl_backend/cgl_debug.c:36452:13: warning: code will never be executed [-Wunreachable-code]
       36452 |             goto bad;
             |             ^~~~~~~~
      [INFO   ] clang -bundle -undefined dynamic_lookup -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/I530566/.pyenv/versions/3.12.7/lib -Wl,-rpath,/Users/I530566/.pyenv/versions/3.12.7/lib -L/opt/homebrew/lib -Wl,-rpath,/opt/homebrew/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -L/opt/homebrew/opt/ncurses/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/I530566/.pyenv/versions/3.12.7/lib -Wl,-rpath,/Users/I530566/.pyenv/versions/3.12.7/lib -L/opt/homebrew/lib -Wl,-rpath,/opt/homebrew/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib build/temp.macosx-15.1-arm64-cpython-312/private/var/folders/ly/nghswfcj397gj52vdsczbg580000gn/T/pip-install-bavcq7b3/kivy_593a3d5688d04bebb04943761b81d37b/kivy/graphics/egl_backend/egl_angle.o -L -L/Users/I530566/.pyenv/versions/3.12.7/lib -lEGL -lGLESv2 -o build/lib.macosx-15.1-arm64-cpython-312/kivy/graphics/egl_backend/egl_angle.cpython-312-darwin.so -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks -Wl,-rpath, -lm
      ld: warning: -rpath missing <path>
      ld: warning: duplicate -rpath '/Users/I530566/.pyenv/versions/3.12.7/lib' ignored
      ld: warning: duplicate -rpath '/opt/homebrew/lib' ignored
      ld: warning: search path '-L/Users/I530566/.pyenv/versions/3.12.7/lib' not found
      ld: library 'EGL' not found
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
hemna commented 2 minutes ago

installed from pypi same issue.

hamradio/kivy/TestProject via 🐍 v3.12.7 (kivy)
❯ kvdeveloper --version

  _  __      ____                 _
 | |/ /_   _|  _ \  _____   _____| | ___  _ __   ___ _ __
 | ' /\ \ / / | | |/ _ \ \ / / _ \ |/ _ \| '_ \ / _ \ '__|
 | . \ \ V /| |_| |  __/\ V /  __/ | (_) | |_) |  __/ |
 |_|\_\ \_/ |____/ \___| \_/ \___|_|\___/| .__/ \___|_|
                                         |_|

kvdeveloper v2024.1.6

hamradio/kivy/TestProject via 🐍 v3.12.7 (kivy)
❯ kvdeveloper add-screen Home Chat Profile Settings --structure MVC

  _  __      ____                 _
 | |/ /_   _|  _ \  _____   _____| | ___  _ __   ___ _ __
 | ' /\ \ / / | | |/ _ \ \ / / _ \ |/ _ \| '_ \ / _ \ '__|
 | . \ \ V /| |_| |  __/\ V /  __/ | (_) | |_) |  __/ |
 |_|\_\ \_/ |____/ \___| \_/ \___|_|\___/| .__/ \___|_|
                                         |_|

[INFO   ] [Logger      ] Record log in /Users/I530566/.kivy/logs/kivy_24-10-30_56.txt
[INFO   ] [Kivy        ] v2.3.0
[INFO   ] [Kivy        ] Installed at "/Users/I530566/devel/mine/hamradio/kivy/.venv/lib/python3.12/site-packages/kivy/__init__.py"
[INFO   ] [Python      ] v3.12.7 (main, Oct 30 2024, 20:49:59) [Clang 16.0.0 (clang-1600.0.26.4)]
[INFO   ] [Python      ] Interpreter at "/Users/I530566/devel/mine/hamradio/kivy/.venv/bin/python"
[INFO   ] [Logger      ] Purge log fired. Processing...
[INFO   ] [Logger      ] Purge finished!
[INFO   ] [KivyMD      ] 2.0.1.dev0, git-5ff9d0d, 2024-10-31 (installed at "/Users/I530566/devel/mine/hamradio/kivy/.venv/lib/python3.12/site-packages/kivymd/__init__.py")
[INFO   ] [Factory     ] 195 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_imageio, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO   ] [Text        ] Provider: sdl2
[INFO   ] [Window      ] Provider: sdl2
[INFO   ] [GL          ] Using the "OpenGL ES 2" graphics system
[INFO   ] [GL          ] Backend used <sdl2>
[INFO   ] [GL          ] OpenGL version <b'2.1 Metal - 89.3'>
[INFO   ] [GL          ] OpenGL vendor <b'Apple'>
[INFO   ] [GL          ] OpenGL renderer <b'Apple M2 Pro'>
[INFO   ] [GL          ] OpenGL parsed version: 2, 1
[INFO   ] [GL          ] Shading version <b'1.20'>
[INFO   ] [GL          ] Texture max size <16384>
[INFO   ] [GL          ] Texture max units <16>
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
Usage:
create_project.py [-h] [--use_responsive USE_RESPONSIVE] pattern directory name

positional arguments:
  pattern               the name of the pattern with which the project will be created.
  directory             the directory of the project to which you want to add a new view.
  name                  the name of the view to add to an existing project.

options:
  -h, --help            show this help message and exit
  --use_responsive USE_RESPONSIVE
                        whether to create a view with responsive behavior.

 Error: unrecognized arguments: ChatScreen ProfileScreen SettingsScreen

This project may not be following MVC architecture.

Want to add screen using structure [none: No specific structure] ? [y/n] (n): y

Creating Screen with name HomeScreen.

Screen with name HomeScreen already exists. Try a different name.

Creating Screen with name ChatScreen.
Error: join() argument must be str, bytes, or os.PathLike object, not 'NoneType'

Creating Screen with name ProfileScreen.
Error: join() argument must be str, bytes, or os.PathLike object, not 'NoneType'

Creating Screen with name SettingsScreen.
Error: join() argument must be str, bytes, or os.PathLike object, not 'NoneType'