Closed wanjunling168 closed 1 year ago
It is @carlosedubarreto and @justinjohn0306 who creates this doc. Could you please make a pull request for this, by adding the --compiler=msvc
argument, and pointing out this hint in the tutorial as well? Thanks a lot.
Very interesting I didnt know that option @wanjunling168. 👏 I actually didnt do a pull request, I made a step by step on this issue https://github.com/YuliangXiu/ECON/issues/16
That is linked on the windows instructions, and there I talk about starting the vcvars64.bat
I can only build those two libs using
python setup.py build_ext --inplace --compiler=msvc
if I don't callvcvarsall.bat
in advance. Cython will call Distutils, and it will just pick upgcc
as C compiler when in a conda environment withm2w64-gcc
installed since Conda will put its dir at the top of PATH.May be we can add
--compiler=msvc
argument in the tutorial since we can only use Microsoft'scl.exe
with CUDA in Windows? Or just mention it there as a hint for those who want to reuse their existed PyTorch environment and only want to make least changes to make ECON work?