I am trying to build some data using matplotlib. When importing a library, I get an error:
ImportError: matplotlib requires pyparsing
I installed pyparsing with easy_install pyparsing , but the error continues to appear.
How can I solve this problem? Alternatively, is there an alternative to matplotlib for creating stuff using Python?
Edit: sys.path returns:
['', 'C:\\Python27\\lib\\site-packages\\spyderlib\\utils\\external', 'C:\\Windows\\system32\\python27.zip', 'C:\\Python27\\lib\\site-packages\\Orange\\orng', 'C:\\Python27\\DLLs', 'C:\\Python27\\lib', 'C:\\Python27\\lib\\plat-win', 'C:\\Python27\\lib\\lib-tk', 'C:\\Python27', 'C:\\Python27\\lib\\site-packages', 'C:\\Python27\\lib\\site-packages\\win32', 'C:\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\Python27\\lib\\site-packages\\Pythonwin', 'C:\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode', 'C:\\Python27\\lib\\site-packages\\IPython\\extensions']
Attempting to import pyparsing returns an error:
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Python27\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 540, in runfile execfile(filename, namespace) File "C:/Python27/Lib/site-packages/xy/simulation.py", line 4, in <module> import pyparsing ImportError: No module named pyparsing