Собственно вопрос по установке своего магазина приложений.
По этой инструкции (
https://eltex-co.ru/upload/iblock/4c1/m ... 80-b21.pdf)
На ubuntu сервер после подачи команды:
Код: Выделить всё
sudo bash -c "
wget -O - 'https://cloud.eltex-co.ru/index.php/s/leeOxwq1PmNzyAW/download' > APPSTORE.zip &&
apt install unzip &&
unzip APPSTORE.zip &&
dpkg -i APPSTORE/appstore_*.deb ||
apt-get install -yf
"
Куча ошибок вываливается в консоли, связанных с установкой python 3.
Код: Выделить всё
ERROR: Command errored out with exit status 1:
command: /var/appstore/virtualenv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-lrf8djo9/pyyaml_48589217654e4ad495e7db81fa84f1eb/setup.py'"'"'; __file__='"'"'/tmp/pip-install-lrf8djo9/pyyaml_48589217654e4ad495e7db81fa84f1eb/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-rsrw25ih
cwd: /tmp/pip-install-lrf8djo9/pyyaml_48589217654e4ad495e7db81fa84f1eb/
Complete output (7 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-lrf8djo9/pyyaml_48589217654e4ad495e7db81fa84f1eb/setup.py", line 91, in <module>
from wheel.bdist_wheel import bdist_wheel
File "/var/appstore/virtualenv/lib/python3.5/site-packages/wheel/__init__.py", line 1
from __future__ import annotations
SyntaxError: future feature annotations is not defined
И как результат, appstore в конечном итоге не работает.
А при входе на
http://<HOST-ADDRESS>/
видим только заставку nginx.
Есть варианты решения данной проблемы?