打包tricks:
1:安装pywin32
https://m.meiwen.com.cn/subject/hjoigftx.html
2.pycrypto
PyCrypto Installation on Window 7 x64 with Python 3.6
- Install Visual Studio Community Edition 2017 with VC++ 2015 native toolset.
- Restart your comuter.
- Run vcvarsall.bat x86_amd64 (x86_amd64 is optional parament depended of your CPU)
- Run set VC2015INSTALLDIR=-FI"c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC"
- Run set CL=-FI"%VC2015INSTALLDIR%\include\stdint.h"
- pip install pycrypto
3.安装mingw64,msys2
https://www.gezila.com/ruanjian/yingyong/100836.html
http://down2.121down.com:8181/soft/msys2.rar
3.tagui
import tagui as t
t.init
需要拷贝scipy和tensorflow
需要写一个hook
hiddem import
set FLASK_APP=manage