Installing newest Python on Trisquel 8?

8 Antworten [Letzter Beitrag]
ao
ao
Offline
Beigetreten: 07/20/2017

Hi fellow Trisquel users,

In need of new Python, I downloaded the source tarball from [1] and read the readme.
At the moment I still have the Python 2.7 from Trisquel installed.
Before making a big mistake I would like to ask you what you would do next.
Thank you.

[1] https://www.python.org/downloads/release/python-373/

jxself
Offline
Beigetreten: 09/13/2010

Python 3 is also available in Trisquel.

ao
ao
Offline
Beigetreten: 07/20/2017

Yes, you're right, and I have both python and python3 packages installed.

Let's say I want to install Electrum, after having downloaded it.

sudo python3 -m pip install --user Electrum-3.3.6.tar.gz[fast]
then I get back (among other things):

Processing ./Electrum-3.3.0.tar.gz
Complete output from command python setup.py egg_info:
Error: Electrum requires Python version >= 3.6.1...

jxself
Offline
Beigetreten: 09/13/2010

You're stuck with either looking for an older version of Electrum that will work with your version of Python or installing a new Python. Good luck.

Magic Banana

I am a member!

I am a translator!

Offline
Beigetreten: 07/24/2010
ADFENO
Offline
Beigetreten: 12/31/2012

Em 8 de julho de 2019 23:59:11 BRT, name at domain escreveu:
>There is this PPA:
>https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa

I would probably avoid PPAs and point to .DEB files (as long as they don't change the repository list) unless there is a main page of the repository stating its commitment to the GNU FSDG.

As for the .DEB files, they can be found at https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa/+sourcepub/10348665/+listing-archive-extra see "Package files".

--
- Página com formas de contato:
https://libreplanet.org/wiki/User:Adfeno#vCard
- Ativista do software livre (não confundir com o gratuito). Avaliador
da liberdade de software e de sites.
- Página com lista de contribuições:
https://libreplanet.org/wiki/User:Adfeno#Contribs
- Para uso em escritórios e trabalhos, favor enviar arquivos do padrão
internacional OpenDocument/ODF 1.2 (ISO/IEC 26300-1:2015 e
correlatos). São os .odt/.ods/.odp/odg. O LibreOffice é a suíte de
escritório recomendada para editar tais arquivos.
- Para outros formatos de arquivos, veja:
https://libreplanet.org/wiki/User:Adfeno#Arquivos
- Gosta do meu trabalho? Contrate-me ou doe algo para mim!
https://libreplanet.org/wiki/User:Adfeno#Suporte
- Use comunicações sociais federadas padronizadas, onde o "social"
permanece independente do fornecedor. #DeleteWhatsApp. Use #XMPP
(https://libreplanet.org/wiki/XMPP.pt), #DeleteFacebook
#DeleteInstagram #DeleteTwitter #DeleteYouTube. Use #ActivityPub via
#Mastodon (https://joinmastodon.org/).
- #DeleteNetflix #CancelNetflix. Evite #DRM:
https://www.defectivebydesign.org/

ao
ao
Offline
Beigetreten: 07/20/2017

Solved!

I tried Electrum 3.0 [1], and that worked with the Python that comes with Trisquel.

[1] https://download.electrum.org/3.0/

ao
ao
Offline
Beigetreten: 07/20/2017

Back to square 1.
Electrum doesn't allow me to transfer because that requires Electrum version 4.

1. Installing new Python
Source for this: https://electrum.readthedocs.io/en/latest/faq.html (Step 4)
python3 -m pip install --user pyqt5
-> Successfully installed PyQt5-sip-4.19.18 pyqt5-5.13.0

2. Installation of Electrum from Python sources
Source for this: https://electrumapp.info/#download
Downloaded and untarred Electrum-4.0.0.tar.gz
In the electrum directory, I ran: 'python3 run_electrum'
-> File "run_electrum", line 53
sys.exit(f"Error: {str(e)}. Try 'sudo python3 -m pip install '")
^
SyntaxError: invalid syntax

Please help, thank you very much in advance.

ao
ao
Offline
Beigetreten: 07/20/2017

Solved with installing the AppImage
https://electrum.org/#download