打包tricks

打包tricks:

1:安裝pywin32

https://m.meiwen.com.cn/subject/hjoigftx.html

2.pycrypto

https://raw.githubusercontent.com/M-O-Z-G/Various-Stuff/master/Python/Wheels/pycrypto-2.6.1-cp36-cp36m-win_amd64.whl

PyCrypto Installation on Window 7 x64 with Python 3.6

  1. Install Visual Studio Community Edition 2017 with VC++ 2015 native toolset.
  2. Restart your comuter.
  3. Run vcvarsall.bat x86_amd64 (x86_amd64 is optional parament depended of your CPU)
  4. Run set VC2015INSTALLDIR=-FI"c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC"
  5. Run set CL=-FI"%VC2015INSTALLDIR%\include\stdint.h"
  6. 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
 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章