如何在Enthought Python下安装'pysparse'包,Windows XP SP3?
我现在在使用Windows XP SP3,刚刚安装了以下软件:
- Enthought Python 发行版,版本 7.1-2(32位) --> 这安装了Python 2.7.2
- 从这个链接下载的 pysparse-1.1.1.win32-py2.7.exe - http://www.lfd.uci.edu/~gohlke/pythonlibs/#pysparse
- 微软的Visual Studio 2010
我需要pysparse来安装和使用'fiPy'。
但不知为什么,每次尝试包含pysparse的.pyd文件时,例如:
>>> from pysparse import jdsym
都会以以下内容结束:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: DLL load failed: The specified module could not be found.
我想指出的是,从同一个链接安装其他包并包含.pyd文件是没问题的。
如果能得到帮助,那真是太好了。
1 个回答
0
你可以从以下网站下载适用于Windows系统的Pysparse库的编译版本:http://www.lfd.uci.edu/~gohlke/pythonlibs/。下载后,只需运行相关的EXE文件,就可以安装Pysparse,并在你的代码中使用它。