[SciPy-User] Problems with weave under windows

laughingrice laughingrice at gmail.com
Sun Dec 22 11:59:25 EST 2013


I've been fighting with getting weave working under windows 8.1 using Canopy
(scipy 0.13.2-1)
Turned out that compilation errors were Microsoft complaining that the
command like is too long.

Changing line 95 in scipy/weave/catalog.py from 
    return base + sha256(expr).hexdigest()
to
    return base + sha256(expr).hexdigest()[:-30]

or doing the same in line 126 of scipy/weave/platform_info.py
    chk_sum = check_sum(exe_path)
to
    chk_sum = check_sum(exe_path)[:-30]

Solved the problem for me (a combination of them also worked removing less
characters in each, although this would depend on user name length as well)

This is with both visual studio 2010 and 2012 (had to set VS90COMNTOOLS to
point to either VS100COMNTOOLS or VS110COMNTOOLS for weave to find
vcvarsall.bat as well).

Anyone else see this problem and has a better solution?
Thanks



--
View this message in context: http://scipy-user.10969.n7.nabble.com/Problems-with-weave-under-windows-tp19020.html
Sent from the Scipy-User mailing list archive at Nabble.com.



More information about the SciPy-User mailing list