diff --git a/ProjectAlice.yaml b/ProjectAlice.yaml index 5f3e1e12..ee48e0c1 100644 --- a/ProjectAlice.yaml +++ b/ProjectAlice.yaml @@ -13,7 +13,7 @@ # # ################################################ # DON'T CHANGE ME # -version: 1.27 +version: 1.28 installSound: yes ################################################ diff --git a/core/Initializer.py b/core/Initializer.py index e5f62146..40927027 100644 --- a/core/Initializer.py +++ b/core/Initializer.py @@ -1,6 +1,6 @@ import shutil -VERSION = 1.27 +VERSION = 1.28 # Copyright (c) 2021 # @@ -39,7 +39,7 @@ TEMP = Path('/tmp/service') ALLOWED_LANGUAGES = {'en', 'de', 'fr', 'it', 'pt', 'pl'} FALLBACK_ASR = 'coqui' -PYTHON = 'python3.7' +PYTHON = 'python3.11' class InitDict(dict): @@ -145,7 +145,7 @@ def start(self): def informUser(self): - self._logger.logInfo('I am now restarting and will use my service file. To continue checking what I do, please type "tail -f /var/log/syslog"') + self._logger.logInfo('I am now restarting and will use my service file. To continue checking what I do, please type "journalctl -u ProjectAlice.service -f"') def installSystemDependencies(self): @@ -160,7 +160,7 @@ def loadConfig(self) -> dict: except: subprocess.run(['sudo', 'apt-get', 'update']) subprocess.run(['sudo', 'apt-get', 'install', 'python3-pip', 'python3-wheel', '-y']) - subprocess.run(['pip3', 'install', 'PyYAML==5.3.1']) + subprocess.run(['pip3', 'install', 'PyYAML==6.0.1', '--break-system-packages']) self.setServiceFileTo('system') subprocess.run(['sudo', 'systemctl', 'enable', 'ProjectAlice']) @@ -342,7 +342,7 @@ def checkVenv(self) -> bool: def updateVenv(self): subprocess.run([self.PIP, 'uninstall', '-y', '-r', str(Path(self.rootDir, 'pipuninstalls.txt'))]) subprocess.run([self.PIP, 'install', 'wheel']) - subprocess.run([self.PIP, 'install', 'https://www.piwheels.org/simple/numpy/numpy-1.21.4-cp39-cp39-linux_armv7l.whl']) + #subprocess.run([self.PIP, 'install', 'https://www.piwheels.org/simple/numpy/numpy-1.21.4-cp39-cp39-linux_armv7l.whl']) subprocess.run([self.PIP, 'install', '-r', str(Path(self.rootDir, 'requirements.txt')), '--upgrade', '--no-cache-dir']) diff --git a/requirements.txt b/requirements.txt index 04ea8b90..1e4d7ce5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -25,4 +25,5 @@ scipy~=1.7.3 webrtcvad~=2.0.10 Werkzeug~=2.1.1 Jinja2~=3.1.1 +numpy~=1.26 projectalice-sk