i have written a code ,and i have used matplotlib ,numpy external library,and from garden matplotlib
error shown below please help
#################################################################################################
[INFO]: -> running ndk-build V=1
[INFO]: <- directory context /home/sahil/python3/plotmsth2/.buildozer/android/platform/python-for-android
[INFO]: Building numpy for armeabi-v7a
[INFO]: Python package already exists in site-packages
[INFO]: numpy said it is already built, skipping
[INFO]: Building setuptools for armeabi-v7a
[INFO]: Python package already exists in site-packages
[INFO]: setuptools said it is already built, skipping
[INFO]: Building kiwisolver for armeabi-v7a
[INFO]: kiwisolver apparently isn't already in site-packages
[INFO]: Building compiled components in kiwisolver
[INFO]: -> directory context /home/sahil/python3/plotmsth2/.buildozer/android/platform/build/build/other_builds/kiwisolver-python3/armeabi-v7a__ndk_target_21/kiwisolver
[INFO]: -> running python setup.py build_ext -v
Exception in thread background thread for pid 22417:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/home/sahil/.local/lib/python3.6/site-packages/sh.py", line 1540, in wrap
fn(*args, **kwargs)
File "/home/sahil/.local/lib/python3.6/site-packages/sh.py", line 2459, in background_thread
handle_exit_code(exit_code)
File "/home/sahil/.local/lib/python3.6/site-packages/sh.py", line 2157, in fn
return self.command.handle_command_exit_code(exit_code)
File "/home/sahil/.local/lib/python3.6/site-packages/sh.py", line 815, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /home/sahil/python3/plotmsth2/.buildozer/android/platform/build/build/other_builds/hostpython3/desktop/hostpython3/native-build/python setup.py build_ext -v
STDOUT:
Download error on https://pypi.org/simple/cppy/: unknown url type: https -- Some packages may not be found!
Couldn't find index page for 'cppy' (maybe misspelled?)
Download error on https://pypi.org/simple/: unknown url type: https -- Some packages may not be found!
No local packages or working download links found for cppy
Traceback (most recent call last):
File "setup.py", line 80, in <module>
cmdclass={'build_ext': BuildExt},
File "/home/sahil/python3/plotmsth2/.buildozer/android/platform/build/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/setuptools/__init__.py", line 144, in
setup
_install_setup_requires(attrs)
File "/home/sahil/python3/plotmsth2/.buildozer/android/platform/build/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/setuptools/__init__.py", line 139, in
_install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/home/sahil/python3/plotmsth2/.buildozer/android/platform/build/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/setuptools/dist.py", line 724, in fetc
h_build_eggs
replace_conflicting=True,
File "/home/sahil/python3/plotmsth2/.buildozer/android/platform/build/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/pkg_resources/__init__.py", line 782,
in resolve
replace_conflicting=replace_conflicting
File "/home/sahil/python3/plotmsth2/.buildozer/android/platform/build/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/pkg_resources/__init__.py", line 1065,
in best_match
return self.obtain(req, installer)
File "/home/sahil/python3/plotmsth2/.buildozer/android/platform/build/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/pkg_resources/__init__.py", line 1077,
in obtain
return installer(requirement)
File "/home/sahil/python3/plotmsth2/.buildozer/android/platform/build/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/setuptools/dist.py", line 791, in fetc
h_build_egg
return cmd.easy_install(req)
File "/home/sahil/python3/plotmsth2/.buildozer/android/platform/build/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/setuptools/command/easy_install.py", l
ine 673, in easy_install
raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('cppy')
STDERR:
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/sahil/python3/plotmsth2/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 1192, in <module>
main()
File "/home/sahil/python3/plotmsth2/.buildozer/android/platform/python-for-android/pythonforandroid/entrypoints.py", line 18, in main
ToolchainCL()
File "/home/sahil/python3/plotmsth2/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 668, in __init__
getattr(self, args.subparser_name.replace('-', '_'))(args)
File "/home/sahil/python3/plotmsth2/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 153, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "/home/sahil/python3/plotmsth2/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 206, in build_dist_from_args
args, "ignore_setup_py", False
File "/home/sahil/python3/plotmsth2/.buildozer/android/platform/python-for-android/pythonforandroid/build.py", line 577, in build_recipes
recipe.build_arch(arch)
File "/home/sahil/python3/plotmsth2/.buildozer/android/platform/python-for-android/pythonforandroid/recipe.py", line 893, in build_arch
self.build_compiled_components(arch)
File "/home/sahil/python3/plotmsth2/.buildozer/android/platform/python-for-android/pythonforandroid/recipe.py", line 948, in build_compiled_components
super(CppCompiledComponentsPythonRecipe, self).build_compiled_components(arch)
File "/home/sahil/python3/plotmsth2/.buildozer/android/platform/python-for-android/pythonforandroid/recipe.py", line 905, in build_compiled_components
_env=env, *self.setup_extra_args)
File "/home/sahil/python3/plotmsth2/.buildozer/android/platform/python-for-android/pythonforandroid/logger.py", line 180, in shprint
for line in output:
File "/home/sahil/.local/lib/python3.6/site-packages/sh.py", line 863, in next
self.wait()
File "/home/sahil/.local/lib/python3.6/site-packages/sh.py", line 792, in wait
self.handle_command_exit_code(exit_code)
File "/home/sahil/.local/lib/python3.6/site-packages/sh.py", line 815, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /home/sahil/python3/plotmsth2/.buildozer/android/platform/build/build/other_builds/hostpython3/desktop/hostpython3/native-build/python setup.py build_ext -v
STDOUT:
Download error on https://pypi.org/simple/cppy/: unknown url type: https -- Some packages may not be found!
Couldn't find index page for 'cppy' (maybe misspelled?)
Download error on https://pypi.org/simple/: unknown url type: https -- Some packages may not be found!
No local packages or working download links found for cppy
Traceback (most recent call last):
File "setup.py", line 80, in <module>
cmdclass={'build_ext': BuildExt},
File "/home/sahil/python3/plotmsth2/.buildozer/android/platform/build/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/setuptools/__init__.py", line 144, in
setup
_install_setup_requires(attrs)
File "/home/sahil/python3/plotmsth2/.buildozer/android/platform/build/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/setuptools/__init__.py", line 139, in
_install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/home/sahil/python3/plotmsth2/.buildozer/android/platform/build/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/setuptools/dist.py", line 724, in fetc
h_build_eggs
replace_conflicting=True,
File "/home/sahil/python3/plotmsth2/.buildozer/android/platform/build/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/pkg_resources/__init__.py", line 782,
in resolve
replace_conflicting=replace_conflicting
File "/home/sahil/python3/plotmsth2/.buildozer/android/platform/build/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/pkg_resources/__init__.py", line 1065,
in best_match
return self.obtain(req, installer)
File "/home/sahil/python3/plotmsth2/.buildozer/android/platform/build/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/pkg_resources/__init__.py", line 1077,
in obtain
return installer(requirement)
File "/home/sahil/python3/plotmsth2/.buildozer/android/platform/build/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/setuptools/dist.py", line 791, in fetc
h_build_egg
return cmd.easy_install(req)
File "/home/sahil/python3/plotmsth2/.buildozer/android/platform/build/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/setuptools/command/easy_install.py", l
ine 673, in easy_install
raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('cppy')
STDERR:
# Command failed: /usr/bin/python3 -m pythonforandroid.toolchain create --dist_name=m --bootstrap=sdl2 --requirements=python3,kivy,numpy,matplotlib --arch armeabi-v7a --copy-libs --color=alway
s --storage-dir="/home/sahil/python3/plotmsth2/.buildozer/android/platform/build" --ndk-api=21
#
# Buildozer failed to execute the last command
# The error might be hidden in the log above this error
# Please read the full log, and search for it before
# raising an issue with buildozer itself.
# In case of a bug report, please add a full log with log_level = 2