
Hoshino
-
Content Count
4 -
Joined
-
Last visited
Posts posted by Hoshino
-
-
I referred to https://www.rosehosting.com/blog/how-to-install-python-3-6-4-on-debian-9/
Using apt:
E: The value 'stable' is invalid for APT::Default-Release as such a release is not available in the sources
> sudo apt -t testing install python3.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'python3.6-2to3' for regex 'python3.6'
Note, selecting 'libpython3.6-stdlib' for regex 'python3.6'
0 upgraded, 0 newly installed, o to remove and 943 not upgraded.
How could I do next?
Compiling Python3.6.4:
> sudo apt install llvm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
llvm : Depends: llvm-runtime (=1:3.8-36) but it is not going to be installed
Depends: llvm-3.8 (>= 3.8 ~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
How could I do next?
-
Python 3.5 became obslute.
Is there any useful information to update python 3.6 or later.
1. update Debian stretch to buster?
or 2. add repository to apt?
or 3. compile python 3.6?
-
I could not start Tinker Edge R.
Flushing Failed.
What should I do?
How to update python 3.5 => 3.6
in Software
Posted
Thank you for your comment.
Using apt:
The version stretch is former version. After I replaced the word "stable" to "stretch", apt was worked well.
But python3.9 was installed which is not for machine learning.
So, I flushing image again.
Compiling Python 3.6 or later:
In the rknn-toolkit-1.3.2 python 3.7 might be supported.
I will continue compiling python.