[SciPy-Dev] SciPy test error

Blake Griffith blake.a.griffith@gmail....
Thu Jun 20 16:58:55 CDT 2013


I'm on ubuntu 12.10, the second answer fixed it when I switched from
/usr/lib/lapack/liblapack.so.3  to /usr/lib/atlas-base/atlas/liblapack.so.3
.


On Thu, Jun 20, 2013 at 4:12 PM, Ralf Gommers <ralf.gommers@gmail.com>wrote:

>
>
>
> On Thu, Jun 20, 2013 at 10:52 PM, Blake Griffith <
> blake.a.griffith@gmail.com> wrote:
>
>> Hello scipy, I keep getting this error when I do scipy.test()
>>
>> ======================================================================
>> ERROR: Failure: ImportError
>> (/home/blake/scipy/build/testenv/lib/python3.2/site-packages/scipy/lib/lapack/
>> clapack.cpython-32mu.so: undefined symbol: clapack_sgesv)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>   File
>> "/home/blake/.virtualenvs/scipy3/lib/python3.2/site-packages/nose/failure.py",
>> line 38, in runTest
>>     raise self.exc_val.with_traceback(self.tb)
>>   File
>> "/home/blake/.virtualenvs/scipy3/lib/python3.2/site-packages/nose/loader.py",
>> line 413, in loadTestsFromName
>>     addr.filename, addr.module)
>>   File
>> "/home/blake/.virtualenvs/scipy3/lib/python3.2/site-packages/nose/importer.py",
>> line 47, in importFromPath
>>     return self.importFromDir(dir_path, fqname)
>>   File
>> "/home/blake/.virtualenvs/scipy3/lib/python3.2/site-packages/nose/importer.py",
>> line 94, in importFromDir
>>     mod = load_module(part_fqname, fh, filename, desc)
>>   File
>> "/home/blake/scipy/build/testenv/lib/python3.2/site-packages/scipy/lib/lapack/__init__.py",
>> line 163, in <module>
>>     from . import clapack
>> ImportError:
>> /home/blake/scipy/build/testenv/lib/python3.2/site-packages/scipy/lib/lapack/
>> clapack.cpython-32mu.so: undefined symbol: clapack_sgesv
>>
>> ----------------------------------------------------------------------
>> Ran 6900 tests in 101.388s
>>
>> FAILED (KNOWNFAIL=119, SKIP=228, errors=1)
>>
>>
>> I think I have all the proper libraries installed, so I don't know why
>> I'm getting this error.
>>
>
> It's a common problem, happens when there's an issues with your lapack
> install. See for example
> http://stackoverflow.com/questions/8823692/undefined-symbol-clapack-sgesv
>
> What blas/lapack do you use, and what OS?
>
> Ralf
>
>
>
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-dev/attachments/20130620/94f8bad2/attachment.html 


More information about the SciPy-Dev mailing list