Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Required versions for python and pip #9

Closed
svenha opened this issue Apr 14, 2021 · 6 comments
Closed

Required versions for python and pip #9

svenha opened this issue Apr 14, 2021 · 6 comments

Comments

@svenha
Copy link

svenha commented Apr 14, 2021

I have a working setup on a recent linux box (with python 3.8). But now I have to use an older computer (python 3.5, pip 8.1.1) and I run into trouble:

 Using cached https://files.pythonhosted.org/packages/f8/4d/a2.../larynx-0.3.1.tar.gz
 Complete output from command python setup.py egg_info:
 Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-build-sbulg1mn/larynx/setup.py", line 13
    long_description: str = ""
                    ^
 SyntaxError: invalid syntax

What are the minimum versions required by larynx at the moment?

@alt131
Copy link

alt131 commented Apr 14, 2021

python >= 3.7
About Pip I use 21.0.1

@synesthesiam
Copy link
Contributor

Python 3.7 is going to be the minimum (3.6 may work, but I've never tested it).

You can install Python 3.7 on your older machine like this:

apt-get update && \
apt-get install --yes --no-install-recommends \
    wget \
    build-essential \
    git zlib1g-dev patchelf rsync \
    libncursesw5-dev libreadline-gplv2-dev libssl-dev \
    libgdbm-dev libc6-dev libsqlite3-dev libbz2-dev libffi-dev

wget -O 'Python-3.7.10.tar.xz' 'https://www.python.org/ftp/python/3.7.10/Python-3.7.10.tar.xz'
tar -xf Python-3.7.10.tar.xz
cd Python-3.7.10/
./configure
make -j 4
sudo make altinstall

And then you can just run /usr/local/bin/python3.7

@svenha
Copy link
Author

svenha commented Apr 15, 2021

So, now I have larynx working on a Ubuntu 16.04 device (to be more precise: UBports / Ubuntu Touch on a smartphone!) plus the locally installed Python 3.7. Great.

The real time factor is 0.37, but I will experiment to improve the speed.

@svenha svenha closed this as completed Apr 15, 2021
@koenvervloesem
Copy link
Member

Ubuntu Touch on a smartphone!

Nice! I'd love to hear more about your experiences with Rhasspy/Larynx on Ubuntu Touch. This is not relevant for this issue, but if you can tell us more about it elsewhere, for instance on the Rhasspy forum, that would be awesome.

@svenha
Copy link
Author

svenha commented Apr 15, 2021

I came to larynx without knowing Rhasspy :-) I joined the forum now, but which category would fit? I will collect some experiences before posting. Feel free to remind me if I am too slow :-)

@svenha svenha reopened this Apr 15, 2021
@koenvervloesem
Copy link
Member

The "Show us" category maybe? I'm koan on the forum, by the way.

@svenha svenha closed this as completed Apr 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants