Рейтинг темы:
  • Голосов: 0 - Средняя оценка: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Установка АСИОУ 7.7 под линукс
#1
полная инструкция здесь:
http://forum.asiou.ru/showthread.php?tid...78#pid7578


# apt update && apt upgrade -y

#apt install python3 python3-pip build-essential unzip
#apt install libmysqlclient-dev python3-dev  apache2 python3-svn
libapache2-mod-wsgi-py3
libxml2-dev libxslt1-dev
python3-venv

python3 -m venv /opt/venv

source /opt/venv/bin/activate
cd bin/rsmev_swagger_client/
python3 setup.py install
pip install -r /var/www/requirements.txt


Код:
Collecting xlwt==1.3.0 (from -r /var/www/requirements.txt (line 70))
  Downloading https://files.pythonhosted.org/packages/44/48/def306413b25c3d01753603b1a222a011b8621aed27cd7f89cbc27e6b0f4/xlwt-1.3.0-py2.py3-none-any.whl (99kB)
    100% |████████████████████████████████| 102kB 1.8MB/s
Requirement already satisfied: setuptools in /opt/venv/lib/python3.6/site-packages (from odict==1.5.1->-r /var/www/requirements.txt (line 38))
Requirement already satisfied: pip>=1.4.1 in /opt/venv/lib/python3.6/site-packages (from reportlab==3.3.0->-r /var/www/requirements.txt (line 53))
Building wheels for collected packages: anyjson, billiard, coreschema, django-celery, django-ipware, django-kombu, django-markup-deprecated, django-rest-framework, django-treebeard, django-windows-tools, django-wkhtmltopdf, easyemail, ipaddress, jdcal, mod-wsgi, mysqlclient, odict, openapi-codec, openpyxl, ordereddict, pdfcrowd, pisa, pyasn1, pycparser, PyPDF2, python-docx, pytils, reportlab, smartencoding, sqlparse, suds-py3, wfastcgi, wkhtmltopdf, xhtml2pdf, xlrd
  Running setup.py bdist_wheel for anyjson ... error
  Complete output from command /opt/venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-kz32gbp1/anyjson/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpato7z8kjpip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
  Failed building wheel for anyjson
  Running setup.py clean for anyjson
  Running setup.py bdist_wheel for billiard ... error
  Complete output from command /opt/venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-kz32gbp1/billiard/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmp3w4lwhf2pip-wheel- --python-tag cp36:


  -----------------------------------------------------------------------
  WARNING: The C extensions could not be compiled
  -----------------------------------------------------------------------

  Maybe you do not have a C compiler installed on this system?
  The reason was:
    File "<string>", line 1, in <module>

    File "/tmp/pip-build-kz32gbp1/billiard/setup.py", line 267, in <module>
      print(BUILD_WARNING % '\n'.join(traceback.format_stack()),


  This is just a warning as most of the functionality will work even
  without the updated C extension.  It will simply fallback to the
  built-in _multiprocessing module.  Most notably you will not be able to use
  FORCE_EXECV on POSIX systems.  If this is a problem for you then please
  install a C compiler or fix the error(s) above.
  -----------------------------------------------------------------------


  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
  Failed building wheel for billiard
  Running setup.py clean for billiard
  Running setup.py bdist_wheel for coreschema ... error
  Complete output from command /opt/venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-kz32gbp1/coreschema/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpddv9dusspip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
  Failed building wheel for coreschema
  Running setup.py clean for coreschema
  Running setup.py bdist_wheel for django-celery ... error
  Complete output from command /opt/venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-kz32gbp1/django-celery/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmp8tf6fcgxpip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

pip install --upgrade git+https://github.com/sokolovs/django-piston.git
Ответить


Сообщения в этой теме
Установка АСИОУ 7.7 под линукс - Автор: Ruslan - 21-04-2021, 14:16

Переход:


Пользователи просматривают эту тему: 2 Гость(ей)