I have updated the sources.list for repository. But still some issues.
[INSTALLING DEPENDENCIES]
E: Unable to locate package python-wxgtk3.0
E: Couldn't find any package by glob 'python-wxgtk3.0'
E: Couldn't find any package by regex 'python-wxgtk3.0'
Manually installing python-wxgtk3.0...
(Reading database ... 174072 files and directories currently installed.)
Removing python-is-python3 (3.9.2-1) ...
Selecting previously unselected package python-is-python2.
(Reading database ... 174067 files and directories currently installed.)
Preparing to unpack .../python-is-python2_2.7.18-9_all.deb ...
Unpacking python-is-python2 (2.7.18-9) ...
Setting up python-is-python2 (2.7.18-9) ...
Processing triggers for man-db (2.9.4-2) ...
Selecting previously unselected package libwxbase3.0-0v5:armhf.
(Reading database ... 174072 files and directories currently installed.)
Preparing to unpack .../libwxbase3.0-0v5_3.0.5.1+dfsg-2_armhf.deb ...
Unpacking libwxbase3.0-0v5:armhf (3.0.5.1+dfsg-2) ...
Selecting previously unselected package libwxgtk3.0-gtk3-0v5:armhf.
Preparing to unpack .../libwxgtk3.0-gtk3-0v5_3.0.5.1+dfsg-2_armhf.deb ...
Unpacking libwxgtk3.0-gtk3-0v5:armhf (3.0.5.1+dfsg-2) ...
Setting up libwxbase3.0-0v5:armhf (3.0.5.1+dfsg-2) ...
Setting up libwxgtk3.0-gtk3-0v5:armhf (3.0.5.1+dfsg-2) ...
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ...
(Reading database ... 174111 files and directories currently installed.)
Preparing to unpack .../python-wxversion_3.0.2.0+dfsg-8_all.deb ...
Unpacking python-wxversion (3.0.2.0+dfsg-8) over (3.0.2.0+dfsg-8) ...
Setting up python-wxversion (3.0.2.0+dfsg-8) ...
dpkg: error processing archive ./wxpython/python-wxgtk3.0_3.0.2.0+dfsg-8_amd64.deb (--install):
package architecture (amd64) does not match system (armhf)
Errors were encountered while processing:
./wxpython/python-wxgtk3.0_3.0.2.0+dfsg-8_amd64.deb
Selecting previously unselected package icu-devtools.
(Reading database ... 174111 files and directories currently installed.)
Preparing to unpack .../icu-devtools_67.1-7_armhf.deb ...
Unpacking icu-devtools (67.1-7) ...
Selecting previously unselected package libicu-dev:armhf.
Preparing to unpack .../libicu-dev_67.1-7_armhf.deb ...
Unpacking libicu-dev:armhf (67.1-7) ...
Selecting previously unselected package libxml2-dev:armhf.
Preparing to unpack .../libxml2-dev_2.9.10+dfsg-6.7+deb11u4_armhf.deb ...
Unpacking libxml2-dev:armhf (2.9.10+dfsg-6.7+deb11u4) ...
Selecting previously unselected package libxslt1-dev:armhf.
Preparing to unpack .../libxslt1-dev_1.1.34-4+deb11u1_armhf.deb ...
Unpacking libxslt1-dev:armhf (1.1.34-4+deb11u1) ...
Setting up icu-devtools (67.1-7) ...
Setting up libicu-dev:armhf (67.1-7) ...
Setting up libxml2-dev:armhf (2.9.10+dfsg-6.7+deb11u4) ...
Setting up libxslt1-dev:armhf (1.1.34-4+deb11u1) ...
Processing triggers for man-db (2.9.4-2) ...
Selecting previously unselected package libpython2-dev:armhf.
(Reading database ... 174567 files and directories currently installed.)
Preparing to unpack .../libpython2-dev_2.7.18-3_armhf.deb ...
Unpacking libpython2-dev:armhf (2.7.18-3) ...
Selecting previously unselected package python2-dev.
Preparing to unpack .../python2-dev_2.7.18-3_armhf.deb ...
Unpacking python2-dev (2.7.18-3) ...
Setting up libpython2-dev:armhf (2.7.18-3) ...
Setting up python2-dev (2.7.18-3) ...
Processing triggers for man-db (2.9.4-2) ...
E: Unable to locate package libpng
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1863k 100 1863k 0 0 1212k 0 0:00:01 0:00:01 --:--:-- 1212k
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at
https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Looking in indexes:
https://pypi.org/simple, https://www.piwheels.org/simple Collecting pip<21.0
Using cached pip-20.3.4-py2.py3-none-any.whl (1.5 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.3.4
Uninstalling pip-20.3.4:
Successfully uninstalled pip-20.3.4
Successfully installed pip-20.3.4
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at
https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes:
https://pypi.org/simple, https://www.piwheels.org/simple Collecting future
Using cached future-0.18.3.tar.gz (840 kB)
Collecting zeroconf==0.19.1
Using cached zeroconf-0.19.1-py2.py3-none-any.whl (27 kB)
Collecting numpy==1.16.5
Using cached numpy-1.16.5.zip (5.1 MB)
Collecting matplotlib==2.0.2
Using cached matplotlib-2.0.2.tar.gz (53.9 MB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python2.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-utMxkp/matplotlib/setup.py'"'"'; __file__='"'"'/tmp/pip-install-utMxkp/matplotlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-RRxBs7
cwd: /tmp/pip-install-utMxkp/matplotlib/
Complete output (64 lines):
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [2.0.2]
python: yes [2.7.18 (default, Jul 14 2021, 08:11:37) [GCC
10.2.1 20210110]]
platform: yes [linux2]
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [not found. pip may install it below.]
six: yes [six was not found.pip will attempt to install
it after matplotlib.]
dateutil: yes [dateutil was not found. It is required for date
axis support. pip/easy_install may attempt to
install it after matplotlib.]
functools32: yes [functools32 was not found. It is required
forPython versions prior to 3.2]
subprocess32: yes [subprocess32 was not found. It used for Python
versions prior to 3.2 to improves functionality on
Linux and OSX]
pytz: yes [pytz was not found. pip will attempt to install
it after matplotlib.]
cycler: yes [cycler was not found. pip will attempt to
install it after matplotlib.]
tornado: yes [tornado was not found. It is required for the
WebAgg backend. pip/easy_install may attempt to
install it after matplotlib.]
pyparsing: yes [pyparsing was not found. It is required for
mathtext support. pip/easy_install may attempt to
install it after matplotlib.]
libagg: yes [pkg-config information for 'libagg' could not
be found. Using local copy.]
freetype: yes [version unknown]
png: yes [version 1.6.37]
qhull: yes [pkg-config information for 'qhull' could not be
found. Using local copy.]
OPTIONAL SUBPACKAGES
sample_data: yes [installing]
toolkits: yes [installing]
tests: no [skipping due to configuration]
toolkits_tests: no [skipping due to configuration]
OPTIONAL BACKEND EXTENSIONS
macosx: no [Mac OS-X only]
qt5agg: no [PyQt5 not found]
qt4agg: no [PySide not found; PyQt4 not found]
gtk3agg: no [Requires pygobject to be installed.]
gtk3cairo: no [Requires cairocffi or pycairo to be installed.]
gtkagg: no [Requires pygtk]
tkagg: yes [installing; run-time loading from Python Tcl /
Tk]
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-utMxkp/matplotlib/setup.py", line 184, in <module>
result = package.check()
File "setupext.py", line 579, in check
additional_info = self.check_requirements()
File "setupext.py", line 1845, in check_requirements
wxversion.ensureMinimal('2.8')
File "/usr/lib/python2.7/dist-packages/wxversion.py", line 209, in ensureMinimal
import wx, webbrowser
ImportError: No module named wx
----------------------------------------
ERROR: Command errored out with exit status 1: python
setup.py egg_info Check the logs for full command output.