kivy / buildozer

Generic Python packager for Android and iOS
https://buildozer.readthedocs.io
MIT License
1.75k stars 503 forks source link

No module named distutils.python version 3.12.3 and buildozer latest version. #1861

Open Orchid7270 opened 1 month ago

Orchid7270 commented 1 month ago

File "/home/orchid/.local/bin/buildozer", line 8, in sys.exit(main()) ^^^^^^ File "/home/orchid/.local/share/pipx/venvs/buildozer/lib/python3.12/site-packages/buildozer/scripts/client.py", line 13, in main Buildozer().run_command(sys.argv[1:]) File "/home/orchid/.local/share/pipx/venvs/buildozer/lib/python3.12/site-packages/buildozer/init.py", line 1018, in run_command targets = [x[0] for x in self.targets()] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/orchid/.local/share/pipx/venvs/buildozer/lib/python3.12/site-packages/buildozer/init.py", line 910, in targets m = import('buildozer.targets.{0}'.format(target), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/orchid/.local/share/pipx/venvs/buildozer/lib/python3.12/site-packages/buildozer/targets/android.py", line 40, in from distutils.version import LooseVersion ModuleNotFoundError: No module named 'distutils'. Can someone help me fix this.im using python 3.12.3

pmcstjean commented 1 month ago

install setuptools