我得到了错误
ImportError: No module named matplotlib
但是我把它安装在python2.7下,可以看到位置。如果我知道文件位置,有没有办法让 cygwin 识别它?当我问“哪个 matplotlib”时,它只是告诉我它不在像这样的奇怪文件夹位置链中
$ which matplotlib
which: no matplotlib in (/usr/local/bin:/usr/bin:/cygdrive/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/cygdrive/c/Program Files (x86)/Silverfrost/FTN95:/cygdrive/c/Program Files/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/Program Files (x86)/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/windows/system32:/cygdrive/c/windows:/cygdrive/c/windows/System32/Wbem:/cygdrive/c/windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/WIDCOMM/Bluetooth Software:/cygdrive/c/Program Files/WIDCOMM/Bluetooth Software/syswow64:/cygdrive/c/Program Files (x86)/Pinnacle/Shared Files:/cygdrive/c/Program Files (x86)/Pinnacle/Shared Files/Filter:/cygdrive/c/Program Files (x86)/Windows Live/Shared:/cygdrive/c/Program Files (x86)/QuickTime/QTSystem:%CYGWIN_HOME%/bin:%CYGWIN_HOME%/sbin:%CYGWIN_HOME%/usr/bin:%CYGWIN_HOME%/usr/sbin:%CYGWIN_HOME%/usr/local/bin:%CYGWIN_HOME%/usr/local/sbin:/cygdrive/c/Anaconda:/cygdrive/c/Anaconda/Scripts:/usr/lib/python2.7/user/scripts:/usr/lib/python2.7/User:/usr/lib/python2.7/User/Scripts:/usr/lib/lapack:/usr/openwin/bin:/cygdrive/c/python27:/cygdrive/c/Anaconda:/cygdrive/c/Anaconda/python:/c/Anaconda:/cygdrive/Anaconda:/cygdrive/c/Anaconda:/cygdrive/c/Anaconda:/cygdrive/c/Anaconda/Python27:/cygdrive/c/Python27:/cygdrive/c/Python27)
(有几次提到 Anaconda,但我相信这是我有一天在搞乱时试图将它放在 Cygwin 中的残余物)
谢谢您的帮助。