[SciPy-User] Build of scipy-0.12.0b1 under python3.3.0 fails

Sergio Rojas sergio_r@mail....
Mon Mar 25 08:21:21 CDT 2013


Thanks Pauli. Your hint

>
> The issue seems to that something is wrong with the combination of your
> Python installation and your C++ compiler:
>

send me to revise my python3.3.0 installation setup. In building python3.3.0
I passed to the configure script the option "--enable-big-digits"
which I was thinking to be the replacement of the option
"--with-wide-unicode" that I used when building python3.2.3.
(the configuration script of python3.3.0 does not recognize the option
"--with-wide-unicode").

So, I took out the option "--enable-big-digits" in building python3.3.0
and then the build of scipy-0.12.0b1 finalized without errors.

This time, however, I am getting a failing in the "test_mio.test_save_dict"
which did not happened in the building of scipy-0.12.0b1
under python 3.2.3. What might be the consequences of that failure
in using scipy? (Ralf has already shed some light on the consequences
of using scipy in spite of the other two test failures)

What follows is a summary of "scipy.test('full', verbose=2)" under both
 both python3.3.0 and python3.2.3:

Scipy scipy-0.12.0b1
NumPy version 1.7.0
Python version 3.3.0 (default, Mar 25 2013, 06:25:03) [GCC 4.6.1]
======================================================================
ERROR: Failure: ImportError (scipy.weave only supports Python 2.x)
----------------------------------------------------------------------
======================================================================
FAIL: test_mio.test_save_dict
----------------------------------------------------------------------
======================================================================
FAIL: test_mathieu_modsem2 (test_basic.TestCephes)
----------------------------------------------------------------------
----------------------------------------------------------------------
Ran 6426 tests in 277.767s
FAILED (KNOWNFAIL=15, SKIP=47, errors=1, failures=2)
nose version 1.2.1
<nose.result.TextTestResult run=6426 errors=1 failures=2>
****************

Scipy scipy-0.12.0b1
NumPy version 1.7.0
Python version 3.2.3 (default, Mar 23 2013, 07:28:36) [GCC 4.6.1]
======================================================================
ERROR: Failure: ImportError (scipy.weave only supports Python 2.x)
----------------------------------------------------------------------
======================================================================
FAIL: test_mathieu_modsem2 (test_basic.TestCephes)
----------------------------------------------------------------------
Ran 6426 tests in 277.812s
FAILED (KNOWNFAIL=15, SKIP=47, errors=1, failures=1)
nose version 1.2.1
<nose.result.TextTestResult run=6426 errors=1 failures=1>

Thanks again for your help,

Sergio


 ------------------------------ Message: 2 Date: Mon, 25 Mar 2013 01:31:15 +0200 From: Pauli Virtanen <pav@iki.fi> Subject: Re: [SciPy-User] Build of scipy-0.12.0b1 under python3.3.0 fails To: scipy-user@scipy.org Message-ID: <kio2bv$ev7$1@ger.gmane.org> Content-Type: text/plain; charset=ISO-8859-1 Hi, 25.03.2013 01:07, Sergio Rojas kirjoitti: > Thanks for replying Pauli. > > The output attempting to build scipy-0.12.0b1 under python3.3.0 fails > is at: > > https://gist.github.com/anonymous/5233970 The issue seems to that something is wrong with the combination of your Python installation and your C++ compiler: /home/myPROG/Python330GNU/Linux64b/include/python3.3m/longintrepr.h:47:2: error: #error "30-bit long digits requested, but the necessary types are not available on this platform" It's probably nothing Scipy-specific, just that your setup is not able to compile Python extension modules using C++. This is not a typical failure, and I don't know how to fix it. Does your g++ compiler version match your gcc version? OTOH, I don't have better suggestions than trying to google for the error message. -- Pauli Virtanen ------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20130325/d5296684/attachment.html 


More information about the SciPy-User mailing list