在Mac OS Lion上使用Scipy for Python 2.6时出现问题

时间:2015-06-13 16:50:28

标签: python macos numpy scipy

我使用以下说明在Mac OS Lion上安装了预装的python 2.6上的numpy和scipy: numpy and scipy for preinstalled python 2.6.7 on mac OS Lion Numpy工作得很好;但是,对于from scipy.sparse import csr_matrix,我收到以下错误。我有什么需要做的来解决这个问题吗?

/Library/Python/2.6/site-packages/scipy/sparse/lil.py:21: RuntimeWarning: compiletime version 2.6 of module 'scipy.sparse._csparsetools' does not match runtime version 2.7
  from . import _csparsetools
/Library/Python/2.6/site-packages/scipy/sparse/csgraph/__init__.py:150: RuntimeWarning: compiletime version 2.6 of module 'scipy.sparse.csgraph._shortest_path' does not match runtime version 2.7
  from ._shortest_path import shortest_path, floyd_warshall, dijkstra,\
/Library/Python/2.6/site-packages/scipy/sparse/csgraph/_validation.py:5: RuntimeWarning: compiletime version 2.6 of module 'scipy.sparse.csgraph._tools' does not match runtime version 2.7
  from ._tools import csgraph_to_dense, csgraph_from_dense,\
/Library/Python/2.6/site-packages/scipy/sparse/csgraph/__init__.py:152: RuntimeWarning: compiletime version 2.6 of module 'scipy.sparse.csgraph._traversal' does not match runtime version 2.7
  from ._traversal import breadth_first_order, depth_first_order, \
/Library/Python/2.6/site-packages/scipy/sparse/csgraph/__init__.py:154: RuntimeWarning: compiletime version 2.6 of module 'scipy.sparse.csgraph._min_spanning_tree' does not match runtime version 2.7
  from ._min_spanning_tree import minimum_spanning_tree
/Library/Python/2.6/site-packages/scipy/sparse/csgraph/__init__.py:155: RuntimeWarning: compiletime version 2.6 of module 'scipy.sparse.csgraph._reordering' does not match runtime version 2.7
  from ._reordering import reverse_cuthill_mckee, maximum_bipartite_matching

0 个答案:

没有答案