[ Python38 ][ 3.8.12.1 ] Programming Language

Discussion on apps, protocols, APIs, specifications, and more. You are welcome to join us as a TOS app developer!
User avatar
outkastm
Posts: 1185
Joined: 29 Dec 2020, 23:52

[ Python38 ][ 3.8.12.1 ] Programming Language

Post by outkastm »

Image

About : https://www.python.org

Python 3.8.x branch release

Last version: 3.8.12.1
Applicable models: TerraMaster x.64 series
Applicable TOS4: 4.1.27 or later versions
Applicable TOS5: 5.0.130 or later versions
App download: https://tmnascommunity.eu/download/python38

Module WebUI for additional settings can be accesses at

http(s)://yournasip:port/modules/Python38/www

The package is using the hashed certificates from TOS and fall back to bundle root certificate pulled from https://curl.se/ca/cacert.pem
The bundle root certificate will be pulled when NAS is rebooted or the Python38 is started manually.
And only if the local one available at /mnt/appdata/MOD_CONFIG/SSL_certs/cacert.pem is older than the remote one

How to manully install this app on TerraMaster application store?
User avatar
outkastm
Posts: 1185
Joined: 29 Dec 2020, 23:52

Re: [ Python3 ][ 3.8.7.1 ] Programming Language

Post by outkastm »

updated to 3.8.7.1
User avatar
iago1460
Posts: 7
Joined: 06 Sep 2020, 22:52

Re: [ Python3 ][ 3.8.7.1 ] Programming Language

Post by iago1460 »

Many thanks, seems to work well, only thing will be if it's possible to add it automatically to the path, seems to be only on /mnt/md0/application/Python38/sys/bin/python3
User avatar
outkastm
Posts: 1185
Joined: 29 Dec 2020, 23:52

Re: [ Python3 ][ 3.8.7.1 ] Programming Language

Post by outkastm »

Is not difficult to add it in the path, but do you really need this ? Do wyou want to start it from CLI ?
This package is used as based for other packages that depend on it, which are started automatically from WebUI
User avatar
outkastm
Posts: 1185
Joined: 29 Dec 2020, 23:52

Re: [ Python3 ][ 3.8.7.1 ] Programming Language

Post by outkastm »

simple way create a symbolic link in /usr/bin

Code: Select all

ln -sf /usr/local/Python38/sys/bin/python3 /usr/bin/python3
then run with

Code: Select all

python3
User avatar
outkastm
Posts: 1185
Joined: 29 Dec 2020, 23:52

Re: [ Python3 ][ 3.8.7.3 ] Programming Language

Post by outkastm »

Updated to 3.8.7.3
Also is added automatically in PATH if the app is started
User avatar
outkastm
Posts: 1185
Joined: 29 Dec 2020, 23:52

Re: [ Python3 ][ 3.8.12.1 ] Programming Language

Post by outkastm »

up to 3.8.12.1
User avatar
outkastm
Posts: 1185
Joined: 29 Dec 2020, 23:52

Re: [ Python38 ][ 3.8.12.1 ] Programming Language

Post by outkastm »

Added TOS5 version
User avatar
franco72
Posts: 8
Joined: 06 Aug 2022, 18:36

Re: [ Python38 ][ 3.8.12.1 ] Programming Language

Post by franco72 »

Not installed on TOS 5.0.152 :?
User avatar
Gandalf1369
Posts: 82
Joined: 26 Feb 2020, 01:34
United States of America

Re: [ Python38 ][ 3.8.12.1 ] Programming Language

Post by Gandalf1369 »

May sound silly but make sure you are installing the TOS5 version. I'm running 5.0.152 and have Python38 (3.8.12.1) up with no problems. Perhaps a re-install . .
F5-221 with 4x5TB drives in Raid 5 (Plex Media Server, TOS 4.2.40)
F4-220 with 2x8TB, 1x6TB in JBOD (Docker, PiHole, Uptime-Kuma, tnfsd-x64, TOS 5.1.123)
Post Reply