This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Upgrading Python3.5 to latest 3.8
#1
Has anyone had luck upgrading Python 3.5 to latest 3.7/3.8?
I started doing it but then just got caught up in so many package conflicts.

//Upgrade Python to 3.8.3 https://installvirtual.com/install-pytho...-raspbian/
apt-get install build-essential tk-dev libncurses5-dev libncursesw5-dev libreadline6-dev libdb5.3-dev libgdbm-dev libsqlite3-dev libssl-dev libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev libffi-dev tar wget vim
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc && echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
source ~/.bashrc
pyenv install 3.8.3

According to the tutorial I followed I should now be on 3.8.3, but checking python3 -v I was still on 3.5.3
Updating some more packages...
wget -O /home/linaro/openssl_1.1.1g-1_armhf.deb http://ftp.ca.debian.org/debian/pool/mai..._armhf.deb
dpkg -i /home/linaro/openssl_1.1.1g-1_armhf.deb
wget -O /home/linaro/libc6_2.28-10_armhf.deb http://ftp.ca.debian.org/debian/pool/mai..._armhf.deb
dpkg -i /home/linaro/libc6_2.28-10_armhf.deb
wget -O /home/linaro/locales_2.28-10_all.deb http://ftp.ca.debian.org/debian/pool/mai...10_all.deb
dpkg -i /home/linaro/locales_2.28-10_all.deb
wget -O /home/linaro/lighttpd_1.4.53-4_armhf.deb http://ftp.ca.debian.org/debian/pool/mai..._armhf.deb
dpkg -i /home/linaro/lighttpd_1.4.53-4_armhf.deb

Things stopped working around here.

wget -O /home/linaro/python3-minimal_3.7.3-1_armhf.deb http://ftp.ca.debian.org/debian/pool/mai..._armhf.deb
dpkg -i /home/linaro/python3-minimal_3.7.3-1_armhf.deb
wget -O /home/linaro/python3_3.7.3-1_armhf.deb http://ftp.ca.debian.org/debian/pool/mai..._armhf.deb
dpkg -i /home/linaro/python3_3.7.3-1_armhf.deb


I gave up near the end as the package conflicts started snowballing. apt wasn't detecting these updates and I had to start manually downloading the .deb files and installing it. Every package I upgraded started breaking more and eventually had to roll back to a backup.

How about some official TinkerBoard Python 3.8.3 support guys?
Debian officially supports at least 3.7.3 but TinkerBoard only supporting 3.5 officially...
Reply
#2
oops...Python3 only up to 3.5.3 on Debian 9 Stretch...
https://packages.debian.org/stretch/python3
Reply
#3
No such limitations with Armbian https://www.armbian.com/tinkerboard/#ker...rchive-all
Armbian. Lightweight Debian Stretch or Ubuntu Bionic for Tinker Board.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)