Compiling scipy 0.13.2 with Python 3.4 rc 1
Hi all, In case anyone wants to try scipy with the new Python 3.4, there is a problem with importlib in rc1 that results in import errors while building scipy. Basically f2py can't do its imports properly and some autogenerated code comes out with missing symbols. It can be hard to see this amidst the stream of build messages and warnings. They show up clearly though when starting python3.4 and running scipy.test(). First time through I got 174 failing tests. If you don't want to wait for Python 3.4 rc2, you can download the fixed version of importlib.__init__.py from here (updated on 12 Dec): http://hg.python.org/cpython/file/c1a7ba57b4ff/Lib/importlib/__init__.py After doing this, I removed numpy and scipy (sudo pip3.4 uninstall numpy etc), recompiled numpy and scipy, and got no test failures (using Linux Mint 14). Regards Stephen
On Fri, Dec 13, 2013 at 1:17 AM, Stephen Simmons <mail@stevesimmons.com>wrote:
Hi all,
In case anyone wants to try scipy with the new Python 3.4, there is a problem with importlib in rc1 that results in import errors while building scipy. Basically f2py can't do its imports properly and some autogenerated code comes out with missing symbols. It can be hard to see this amidst the stream of build messages and warnings. They show up clearly though when starting python3.4 and running scipy.test(). First time through I got 174 failing tests.
If you don't want to wait for Python 3.4 rc2, you can download the fixed version of importlib.__init__.py from here (updated on 12 Dec): http://hg.python.org/cpython/file/c1a7ba57b4ff/Lib/importlib/__init__.py
After doing this, I removed numpy and scipy (sudo pip3.4 uninstall numpy etc), recompiled numpy and scipy, and got no test failures (using Linux Mint 14).
Thanks for the report Stephen, quite helpful. Ralf
participants (2)
-
Ralf Gommers
-
Stephen Simmons