Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #49535

Need explanation of this error

Newsgroups comp.lang.python
Date 2013-07-01 02:13 -0700
Message-ID <b0e4a814-42df-4054-a3f2-9a41904d1ed2@googlegroups.com> (permalink)
Subject Need explanation of this error
From prerit86@gmail.com

Show all headers | View raw


Hi,

I'm new to Python and trying to run a already written code. Can someone please explain the error below? And if possible, how do I resolve this?

Traceback (most recent call last):
  File "c:\Project_1\regression_1.py", line 7, in <module>
    from sklearn import metrics, cross_validation, linear_model
  File "c:\Python27\lib\site-packages\sklearn\metrics\__init__.py", line 31, in
<module>
    from . import cluster
  File "c:\Python27\lib\site-packages\sklearn\metrics\cluster\__init__.py", line
 8, in <module>
    from .supervised import adjusted_mutual_info_score
  File "c:\Python27\lib\site-packages\sklearn\metrics\cluster\supervised.py", li
ne 19, in <module>
    from .expected_mutual_info_fast import expected_mutual_information
  File "expected_mutual_info_fast.pyx", line 10, in init sklearn.metrics.cluster
.expected_mutual_info_fast (sklearn\metrics\cluster\expected_mutual_info_fast.c:
4886)
  File "c:\Python27\lib\site-packages\scipy\special\__init__.py", line 529, in <
module>
    from ._ufuncs import *
ImportError: DLL load failed: The specified module could not be found.

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Need explanation of this error prerit86@gmail.com - 2013-07-01 02:13 -0700
  Re: Need explanation of this error Robert Kern <robert.kern@gmail.com> - 2013-07-01 10:23 +0100
  Re: Need explanation of this error Denis McMahon <denismfmcmahon@gmail.com> - 2013-07-01 09:33 +0000
    Re: Need explanation of this error prerit86@gmail.com - 2013-07-01 03:44 -0700

csiph-web