Getting Problems while using buildozer

172 views
Skip to first unread message

Aaryan Soni

unread,
Sep 26, 2023, 8:57:44 AM9/26/23
to Kivy users support
I am encountering some problems listed below, 
Topics are:
1) ssl module is not
2) ssl certificate
3) Could not find a version that satisfies the requirement Cython (from versions: none)
4) There was an error checking the latest version of pip.

can anyone suggest what I should do to remove the error

LOGs:
-------------------------------------------------------------------------------------------------------------------------------------------------
[WARNING]: install_libs called with no libraries to install!

[WARNING]: Context's python recipe found, skipping biglink (will this work?)
-------------------------------------------------------------------------------------------------------------------------------------------------
1)
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
[DEBUG]:   Requirement already satisfied: pip in ./venv/lib/python3.10/site-packages (22.3.1)
[DEBUG]:   WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None))
            after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module
            is not available.")': /simple/pip/

2)
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate:
HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/
(Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping

3)
Install Cython in case one of the modules needs it to build
[DEBUG]:   -> running bash -c venv/bin/pip install Cython
[DEBUG]:   Ignoring "sys._home = value" override
[DEBUG]:   WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
[DEBUG]:   WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection
            broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/cython/

Could not fetch URL https://pypi.org/simple/cython/: There was a problem confirming the ssl certificate:
HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/cython/
(Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping

[DEBUG]:   ERROR: Could not find a version that satisfies the requirement Cython (from versions: none)
[DEBUG]:   ERROR: No matching distribution found for Cython
[DEBUG]:   WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

4)
WARNING: There was an error checking the latest version of pip.
[DEBUG]:  
Exception in thread background thread for pid 143882:
Traceback (most recent call last):
  File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.10/threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "/home/das0206/Desktop/Kivy/app/lib/python3.10/site-packages/sh.py", line 1641, in wrap
    fn(*rgs, **kwargs)
  File "/home/das0206/Desktop/Kivy/app/lib/python3.10/site-packages/sh.py", line 2569, in background_thread
    handle_exit_code(exit_code)
  File "/home/das0206/Desktop/Kivy/app/lib/python3.10/site-packages/sh.py", line 2269, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/home/das0206/Desktop/Kivy/app/lib/python3.10/site-packages/sh.py", line 869, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1:

  RAN: /usr/bin/bash -c 'venv/bin/pip install Cython'

Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/das0206/Desktop/Kivy/android/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 1262, in <module>
    main()
  File "/home/das0206/Desktop/Kivy/android/.buildozer/android/platform/python-for-android/pythonforandroid/entrypoints.py", line 18, in main
    ToolchainCL()
  File "/home/das0206/Desktop/Kivy/android/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 680, in __init__
    getattr(self, command)(args)
  File "/home/das0206/Desktop/Kivy/android/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 99, in wrapper_func
    build_dist_from_args(ctx, dist, args)
  File "/home/das0206/Desktop/Kivy/android/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 158, in build_dist_from_args
    build_recipes(build_order, python_modules, ctx,
  File "/home/das0206/Desktop/Kivy/android/.buildozer/android/platform/python-for-android/pythonforandroid/build.py", line 528, in build_recipes
    run_pymodules_install(
  File "/home/das0206/Desktop/Kivy/android/.buildozer/android/platform/python-for-android/pythonforandroid/build.py", line 713, in run_pymodules_install
    shprint(sh.bash, '-c', (
  File "/home/das0206/Desktop/Kivy/android/.buildozer/android/platform/python-for-android/pythonforandroid/logger.py", line 167, in shprint
    for line in output:
  File "/home/das0206/Desktop/Kivy/app/lib/python3.10/site-packages/sh.py", line 915, in next
    self.wait()
  File "/home/das0206/Desktop/Kivy/app/lib/python3.10/site-packages/sh.py", line 845, in wait
    self.handle_command_exit_code(exit_code)
  File "/home/das0206/Desktop/Kivy/app/lib/python3.10/site-packages/sh.py", line 869, in handle_command_exit_code
    raise exc


Aaryan Soni

unread,
Sep 26, 2023, 9:00:49 AM9/26/23
to Kivy users support
If anyone can suggest a reference video or something that would be useful too.
thanks.

Sulaiman Micheal

unread,
Sep 26, 2023, 9:08:58 AM9/26/23
to Kivy users support

Aaryan Soni

unread,
Sep 26, 2023, 9:36:40 AM9/26/23
to kivy-...@googlegroups.com
Thanks

--
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/Q5Z7IrGaV_A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/777adbb8-5d34-49a5-a3b3-5c787d5bd883n%40googlegroups.com.

Robert

unread,
Sep 26, 2023, 12:54:08 PM9/26/23
to Kivy users support
Reply all
Reply to author
Forward
0 new messages