Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3141 by [email protected]: issue with the plotting capabilities in windows 7 32 & 64 bit
http://code.google.com/p/sympy/issues/detail?id=3141

I use python 2.7.2 ans sympy 0.7.1.
I have tryed to use the plotting capabilities of sympy and I always ends up in getting the same error:

Traceback (most recent call last):
File "C:\Projects\Wind\Engineering\PythonTools\Materials_PreProcessing\testgraph.py", line 12, in <module>
    figa.Plot()
File "C:\Program Files\Python27\lib\site-packages\sympy\plotting\__init__.py", line 130, in Plot
    import plot
File "C:\Program Files\Python27\lib\site-packages\sympy\plotting\plot.py", line 13, in <module>
    from plot_axes import PlotAxes
File "C:\Program Files\Python27\lib\site-packages\sympy\plotting\plot_axes.py", line 5, in <module>
    from util import strided_range, billboard_matrix
File "C:\Program Files\Python27\lib\site-packages\sympy\plotting\util.py", line 4, in <module>
    def get_model_matrix(array_type=c_float, glGetMethod=glGetFloatv):
NameError: name 'c_float' is not defined

I get this error with every example and even with the code:

import sympy as sym
sym.Plot()

I have tryed to use the solution proposed here:

https://github.com/smichr/sympy/commit/768cc0f367614df7c48759ad96d2866b9fc1fe53

but it didn't work out...and more in detail I think I do have a different folder path.
Can someone help me?

Bye
Luca

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to