麻烦安装SimpleCV [英] Trouble Installing SimpleCV
问题描述
我正在使用Eclipse Indigo在Windows 7上安装SimpleCV。我使用了Python,Numpy等的superpack-installer。除SimpleCV之外,一切正常,当我尝试导入SimpleCV时,我得到以下错误输出:
I am trying to install SimpleCV on Windows 7 with Eclipse Indigo. I used the superpack-installer with Python, Numpy etc. Everything works fine except for SimpleCV, when I try to import SimpleCV I get the following error output:
import SimpleCV
import SimpleCV
文件build\bdist.win32\egg\SimpleCV_init.py,第3行,#$ Id $ Filebuild\bdist.win32\ \SimpleCV\base.py,第31行,在文件C:\Python27\lib\site-packages\scipy\spatial_init.py中,第25行,从kdtree import * File C:\Python27\lib\site-packages\scipy\spatial\kdtree.py,第6行,导入scipy.sparse文件C:\Python27\lib\site-packages\\ \\ scipy\sparse_init_.py,第182行,来自csgraph import * AttributeError:'module'对象没有属性'csgraph_to_masked'
File "build\bdist.win32\egg\SimpleCV_init.py", line 3, in # $Id$ File "build\bdist.win32\egg\SimpleCV\base.py", line 31, in File "C:\Python27\lib\site-packages\scipy\spatial_init.py", line 25, in from kdtree import * File "C:\Python27\lib\site-packages\scipy\spatial\kdtree.py", line 6, in import scipy.sparse File "C:\Python27\lib\site-packages\scipy\sparse_init_.py", line 182, in from csgraph import * AttributeError: 'module' object has no attribute 'csgraph_to_masked'
在安装过程?我在互联网上找不到任何关于csgraph_to_masked的帮助。 (实际上,搜索simplecv csgraph_to_masked没有返回单个搜索结果)SimpleCV被宣布为非常容易安装,所以当我早日遇到问题时,我感到有些惊讶。
Did something go wrong during the installation process? I can't find any help on "csgraph_to_masked" on the internet. (In fact, searching for "simplecv csgraph_to_masked" didn't return a single search result) SimpleCV is proclaimed to be very easy to install, so I was a little surprised when I ran into issues so early.
谢谢!
推荐答案
错误似乎来自scipy。
The error appears to be coming from scipy.
您可以尝试只是重新安装scipy来查看是否修复任何内容,或者从头开始重新安装simplecv。
You could try just re-installing scipy to see if that fixes anything, or just re-install simplecv from scratch.
您可以在这里:
http://sourceforge.net/projects/scipy /files/scipy/0.10.1/
只需确保抓取python 2.7
Just make sure to grab for python 2.7
这篇关于麻烦安装SimpleCV的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!