[NumPy-Tickets] [NumPy] #2115: asbytes function missed

NumPy Trac numpy-tickets@scipy....
Tue Apr 24 10:26:26 CDT 2012


#2115: asbytes function missed
-------------------------------+--------------------------------------------
 Reporter:  mcilfone           |       Owner:  rgommers   
     Type:  defect             |      Status:  new        
 Priority:  normal             |   Milestone:  Unscheduled
Component:  Official binaries  |     Version:  1.4.1      
 Keywords:  asbytes            |  
-------------------------------+--------------------------------------------
 Working with Scipy 0.9.0, stats module of Scipy, Numpy 1.4.1 and
 Python2.5, I get an import error on the following line

 from scipy import stats

 The error is

 '<type 'exceptions.ImportError'>: cannot import name asbytes
       args = ('cannot import name asbytes',)
       message = 'cannot import name asbytes'

 in file
  C:\Python25\lib\site-packages\scipy\optimize\linesearch.py in ()
     2 import numpy as np
     3 from numpy.compat import asbytes
     4
     5 __all__ = ['line_search_wolfe1', 'line_search_wolfe2',
     6 'scalar_search_wolfe1', 'scalar_search_wolfe2',
 numpy undefined, asbytes undefined

 In the source code of NumPy 1.4.1, I don't find this function.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/2115>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list