themill / wiz

Environment management framework
GNU Lesser General Public License v3.0
45 stars 4 forks source link

Windows support #30

Closed kirijiri closed 2 years ago

buddly27 commented 4 years ago

We run into some issues in installing ujson for Python 2.7 on Windows as there was no wheel available:

ERROR: Command errored out with exit status 1: 
command: 'c: . exe ' ' c : \virtualenv\wiz -packages s.py' build_wheel 'c: cwd: c: 
Complete output (5 lines): 
running bdist_wheel 
running build 
running build ext 
building 'ujson' extension 
error: Microsoft Visual C++ 9.0 is required. ERROR: Failed building wheel for ujson. Get it from http://aka.ms/vcpython27
---------------------------------------
Failed building wheel for ujson

The link http://aka.ms/vcpython27 provide a copy of Visual C++ 9.0 for Python 2.7, but we need to manually add the stdint.h library as described here: https://github.com/scrapinghub/python-crfsuite/issues/16

stdint.h is available to download there: https://github.com/mattn/gntp-send/blob/master/include/msinttypes/stdint.h