Dear all,
A fresh compilation of Sage 8.1.beta9 (with profiling enabled) failed on
my computer with
Traceback (most recent call last):
...
ImportError: No module named IPython.core.profiledir
Running setup.py install for ipykernel: finished with status 'error'
The complete log is attached and the command I used is
$ MAKE="make -j3" SAGE_PROFILE="yes" make build
Vincent
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.
Found local metadata for ipykernel-4.6.1
Using cached file /opt/sage/upstream/ipykernel-4.6.1.tar.gz
ipykernel-4.6.1
====================================================
Setting up build directory for ipykernel-4.6.1
Finished extraction
No patch files found in ../patches
****************************************************
Host system:
Linux mangouste 4.13.5-1-ARCH #1 SMP PREEMPT Fri Oct 6 09:58:47 CEST 2017 x86_64 GNU/Linux
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp
Thread model: posix
gcc version 7.2.0 (GCC)
****************************************************
Installing package ipykernel using pip2
Ignoring indexes: https://pypi.python.org/simple
Processing /opt/sage/local/var/tmp/sage/build/ipykernel-4.6.1/src
Running setup.py (path:/tmp/pip-upann7-build/setup.py) egg_info for package from file:///opt/sage/local/var/tmp/sage/build/ipykernel-4.6.1/src
Running command python setup.py egg_info
running egg_info
creating pip-egg-info/ipykernel.egg-info
writing requirements to pip-egg-info/ipykernel.egg-info/requires.txt
writing pip-egg-info/ipykernel.egg-info/PKG-INFO
writing top-level names to pip-egg-info/ipykernel.egg-info/top_level.txt
writing dependency_links to pip-egg-info/ipykernel.egg-info/dependency_links.txt
writing manifest file 'pip-egg-info/ipykernel.egg-info/SOURCES.txt'
reading manifest file 'pip-egg-info/ipykernel.egg-info/SOURCES.txt'
writing manifest file 'pip-egg-info/ipykernel.egg-info/SOURCES.txt'
Source in /tmp/pip-upann7-build has version 4.6.1, which satisfies requirement ipykernel==4.6.1 from file:///opt/sage/local/var/tmp/sage/build/ipykernel-4.6.1/src
Installing collected packages: ipykernel
Running setup.py install for ipykernel: started
Running command /opt/sage/local/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-upann7-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" --no-user-cfg install --record /tmp/pip-coHO3j-record/install-record.txt --single-version-externally-managed --compile
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-upann7-build/setup.py", line 91, in <module>
from ipykernel.kernelspec import write_kernel_spec, make_ipkernel_cmd, KERNEL_NAME
File "ipykernel/__init__.py", line 2, in <module>
from .connect import *
File "ipykernel/connect.py", line 13, in <module>
from IPython.core.profiledir import ProfileDir
ImportError: No module named IPython.core.profiledir
Running setup.py install for ipykernel: finished with status 'error'
Cleaning up...
Removing source in /tmp/pip-upann7-build
Command "/opt/sage/local/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-upann7-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" --no-user-cfg install --record /tmp/pip-coHO3j-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-upann7-build/
Exception information:
Traceback (most recent call last):
File "/opt/sage/local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/opt/sage/local/lib/python2.7/site-packages/pip/commands/install.py", line 342, in run
prefix=options.prefix_path,
File "/opt/sage/local/lib/python2.7/site-packages/pip/req/req_set.py", line 784, in install
**kwargs
File "/opt/sage/local/lib/python2.7/site-packages/pip/req/req_install.py", line 878, in install
spinner=spinner,
File "/opt/sage/local/lib/python2.7/site-packages/pip/utils/__init__.py", line 707, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command "/opt/sage/local/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-upann7-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" --no-user-cfg install --record /tmp/pip-coHO3j-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-upann7-build/
Error: installing with pip2 failed
Error installing ipykernel-4.6.1
real 0m1.333s
user 0m1.194s
sys 0m0.140s
************************************************************************
Error installing package ipykernel-4.6.1
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the log file
/opt/sage/logs/pkgs/ipykernel-4.6.1.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/opt/sage/local/var/tmp/sage/build/ipykernel-4.6.1 and type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/opt/sage/local/var/tmp/sage/build/ipykernel-4.6.1' && '/opt/sage/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************