Участник:StasFomin/Bookmarks/Stegano — различия между версиями

Материал из DISCOPAL
Перейти к: навигация, поиск
(Добавлена закладка Nuitka compiler can not be used with gunicorn · Issue #1555 · benoitc/gunicorn)
(Добавлена закладка nuitka compiles code successfuly but give SyntaxError: Non-UTF-8 code starting with '\x9d' in file on running · Issue #478 · Nuitka/Nuitka)
Строка 2: Строка 2:
 
=== 2020-07 ===
 
=== 2020-07 ===
  
 +
* 2020-07-25, 02:35:28: [https://github.com/Nuitka/Nuitka/issues/478 nuitka compiles code successfuly but give SyntaxError: Non-UTF-8 code starting with '\x9d' in file on running · Issue #478 · Nuitka/Nuitka]
 +
*: <html><em class="diigoHighlight id_17248e39bbaf83dbbd429304cebd5cfc type_0 yellow">I compiled my flask app as a standalone binary using the command :</em><br> <code><em class="diigoHighlight id_17248e39bbaf83dbbd429304cebd5cfc type_0 yellow">python3 -m nuitka --standalone --follow-imports --recurse-all --show-progress --show-scons run.py</em></code><br><em class="diigoHighlight id_17248e39bbaf83dbbd429304cebd5cfc type_0 yellow"> it compiles successfully everything but on running the binary it give:</em></html>
 +
<!-- NEXT BOOKMARK -->
 
* 2020-07-25, 02:32:36: [https://github.com/benoitc/gunicorn/issues/1555 Nuitka compiler can not be used with gunicorn · Issue #1555 · benoitc/gunicorn]
 
* 2020-07-25, 02:32:36: [https://github.com/benoitc/gunicorn/issues/1555 Nuitka compiler can not be used with gunicorn · Issue #1555 · benoitc/gunicorn]
 
*: <html>Alternatively, you may be able to use the <code>--module</code> <a href="http://nuitka.net/doc/user-manual.html#use-case-2-extension-module-compilation" rel="nofollow">form of Nuitka compilation</a> to compile your module or package. That should produce a standard shared object extension module that if you arrange to be on sys.path gunicorn should be able to find and import. This should be the same as compiling your module using Cython, and I would expect that to work under limited circumstances.</html>
 
*: <html>Alternatively, you may be able to use the <code>--module</code> <a href="http://nuitka.net/doc/user-manual.html#use-case-2-extension-module-compilation" rel="nofollow">form of Nuitka compilation</a> to compile your module or package. That should produce a standard shared object extension module that if you arrange to be on sys.path gunicorn should be able to find and import. This should be the same as compiling your module using Cython, and I would expect that to work under limited circumstances.</html>

Версия 23:35, 24 июля 2020

2020

2020-07

Навигация