2024-09-28 22:25:15 发布
网友
我试图在fedora19系统上安装statsmodelsPython库。我使用easy_install如下:
statsmodels
easy_install
easy_install -U statsmodels
但安装时出现以下错误:
这里怎么了?在
在设置.py在源代码中,添加
os.environ["MPLCONFIGDIR"] = "."
导入操作系统后 当我调用
从statsmodels目录。在
Traceback (most recent call last): File "setup.py", line 465, in <module> check_dependency_versions(min_versions) File "setup.py", line 124, in check_dependency_versions raise ImportError("statsmodels requires patsy. http://patsy.readthedocs.org")
系统中缺少pasty。所以我唯一要做的就是安装pasty。使用
easy_install upgrade patsy
然后我可以用正常的方式从源代码安装statsmodels。在
在设置.py在源代码中,添加
导入操作系统后 当我调用
^{pr2}$从statsmodels目录。在
系统中缺少pasty。所以我唯一要做的就是安装pasty。使用
然后我可以用正常的方式从源代码安装statsmodels。在
相关问题 更多 >
编程相关推荐