crosscat
crosscat copied to clipboard
pls help run on windows 10 machine with anaconda python 2.7
the error is
c:\Sander\my_code\crosscat-master>
c:\Sander\my_code\crosscat-master>python examples/dha_example.py www/data/dha.csv --num_chains 2 --num_transitions 2
Traceback (most recent call last):
File "examples/dha_example.py", line 78, in
c:\Sander\my_code\crosscat-master>
Hi, Sandy. As a temporary workaround, try editing line 95 of C:\Anaconda\lib\site-packages\crosscat\utils\general_utils.py
so that the argument to xrange
is 2**31
, or perhaps a smaller value.
Why not just change for _ in xrange(2**62)
to while True
?
You're right, that's a better solution. Can't remember why I wrote it that way.