Re: [SciPy-User] Build of scipy-0.12.0b1 under python3.3.0 fails
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 ------------------------------
On 25 March 2013 13:21, Sergio Rojas <sergio_r@mail.com> wrote:
(the configuration script of python3.3.0 does not recognize the option "--with-wide-unicode").
'Wide unicode' is no longer necessary - all builds of 3.3 will behave mostly like wide unicode builds, but with less memory use. For details, see: http://docs.python.org/3/whatsnew/3.3.html#pep-393-flexible-string-represent...
From a quick search, 'big digits' seems to relate to how large integers are stored.
Thomas
On Mon, Mar 25, 2013 at 2:21 PM, Sergio Rojas <sergio_r@mail.com> wrote:
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)
I'm seeing that failure as well on 3.2, will investigate for 0.12. It looks like saving Matlab files is partially broken on 3.x by this. No further impact. Ralf
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:
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
------------------------------
_______________________________________________ SciPy-User mailing list SciPy-User@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-user
On Mon, Mar 25, 2013 at 8:38 PM, Ralf Gommers <ralf.gommers@gmail.com>wrote:
On Mon, Mar 25, 2013 at 2:21 PM, Sergio Rojas <sergio_r@mail.com> wrote:
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)
I'm seeing that failure as well on 3.2, will investigate for 0.12. It looks like saving Matlab files is partially broken on 3.x by this. No further impact.
fixed in commit 31db7fc
Ralf
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:
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
------------------------------
_______________________________________________ SciPy-User mailing list SciPy-User@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-user
participants (3)
-
Ralf Gommers -
Sergio Rojas -
Thomas Kluyver