After installing Pynome in Windows 7 Home Premium 64 bits - following strictly the instructions available in "InstallingPyNomoOnWindows"
I tried to compile the BMI example. I got the following result:
IDLE 2.6.6
>>> ================================ RESTART ================================
>>>
Aligning with tag mass
Aligning with tag height
invalid value encountered in double_scalars
invalid value encountered in double_scalars
Traceback (most recent call last):
File "C:\Users\Marcio\Desktop\Pynomo\ex_BMI.py", line 116, in <module>
Nomographer(main_params)
File "C:\Python26\lib\site-packages\pynomo\nomographer.py", line 203, in __init__
wrapper.draw_nomogram(c,params['post_func'])
File "C:\Python26\lib\site-packages\pynomo\nomo_wrapper.py", line 213, in draw_nomogram
block.draw(canvas)
File "C:\Python26\lib\site-packages\pynomo\nomo_wrapper.py", line 445, in draw
atom.draw(canvas)
File "C:\Python26\lib\site-packages\pynomo\nomo_wrapper.py", line 2503, in draw
axis_appear=p,base_start=base_start,base_stop=base_stop)
File "C:\Python26\lib\site-packages\pynomo\nomo_axis.py", line 123, in __init__
self.draw_axis(canvas)
File "C:\Python26\lib\site-packages\pynomo\nomo_axis.py", line 1067, in draw_axis
c.text(x,y,ttext,attr+[text_color])
File "C:\Python26\lib\site-packages\pyx\canvas.py", line 268, in text
return self.insert(self.texrunner.text(x, y, atext, *args, **kwargs))
File "C:\Python26\lib\site-packages\pyx\text.py", line 1195, in text
self.execute(expr, self.defaulttexmessagesdefaultrun + self.texmessagesdefaultrun + texmessages)
File "C:\Python26\lib\site-packages\pyx\text.py", line 910, in execute
stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, close_fds=True)
File "C:\Python26\lib\subprocess.py", line 581, in __init__
raise ValueError("close_fds is not supported on Windows "
ValueError: close_fds is not supported on Windows platforms if you redirect stdin/stdout/stderr
>>>
None nomograph is generated. The tex file contains only one line: \relax%.
Looks like problem in using pyx library. Please run some pyx test files to check installation works.