Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 711568

Summary: dev-python/ipython-7.5.0 USE=doc - ModuleNotFoundError: No module named 'numpy'
Product: Gentoo Linux Reporter: Leonid Kopylov <leonchik1976>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED OBSOLETE    
Severity: normal CC: jstein, mgorny
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Leonid Kopylov 2020-03-05 07:35:28 UTC
# emerge -pqv '=dev-python/ipython-7.5.0::gentoo'
[ebuild   R   ] dev-python/ipython-7.5.0  USE="doc* examples qt5 smp -matplotlib -nbconvert -notebook -test" PYTHON_TARGETS="python3_6 -python3_7"

# emerge --info '=dev-python/ipython-7.5.0::gentoo'
Portage 2.3.92 (python 3.6.10-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-9.2.0, glibc-2.30-r4, 5.5.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.5.7-gentoo-x86_64-Intel-R-_Core-TM-_i7-8700B_CPU_@_3.20GHz-with-gentoo-2.7
KiB Mem:     8157464 total,   2463932 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Thu, 05 Mar 2020 06:30:01 +0000
Head commit of repository gentoo: 910e91a33ef086ec7811a7fc6692112b4731d280
sh bash 5.0_p16
ld GNU ld (Gentoo 2.34 p1) 2.34.0
ccache version 3.7.7 [disabled]
app-shells/bash:          5.0_p16::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17-r1::gentoo, 3.6.10::gentoo, 3.7.6::gentoo, 3.8.2::gentoo, 3.9.0_alpha4::gentoo
dev-util/ccache:          3.7.7-r1::gentoo
dev-util/cmake:           3.16.4::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.1-r2::gentoo
sys-devel/binutils:       2.34::gentoo
sys-devel/gcc:            9.2.0-r4::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.5::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r4::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE myspell-ru_RU-AlexanderLebedev linux-fw-redistributable no-source-code bh-luxi google-chrome dropbox CC-BY-ND-3.0 OPERA-2014 Sublime TeamViewer"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac accessibility acl acpi alsa amd64 audit berkdb bluetooth branding bzip2 cairo cdda cdr cgroup-hybrid cli colord crypt cryptsetup cups curl cxx dbus device-mapper doc dos dot drafts dri dts dvd dvdr eds emboss encode evo examples exif experimental flac fontconfig fortran gd gdbm geoip gif gles gnome gnome-keyring gnome-online-accounts go googledrive gpg gpm gstreamer gtk haptic html http iconv icu idn introspection ipv6 iscsi jadetex java jpeg kerberos latex lcms ldap libkms libnotify libsecret libtirpc logrotate mad math mbox mdadm minizip mng mount mp3 mp4 mpeg mpx multilib multimon mysql mysqli nautilus ncurses networkmanager nls nptl nscd offensive ogg opengl openmp openntpd pam pango pcap pcre pcre32 pdf pdfimport perl png policykit postgres postproc ppds pulseaudio python qrcode qt5 readline samba sasl sdl seccomp secure-delete slp smi spell split-usr sqlite sshdump ssl startup-notification svg symlink sync-plugin-portage systemd tcpd tfshark threads tiff tk tools tracker truetype udev udisks unicode upower usb vala vorbis wayland widgets winbind wininst wxwidgets x264 xa xattr xcb xinerama xkb xml xv xvid zlib" ABI_X86="64 32" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-US he ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell wiki-publisher scripting-javascript" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25 ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="vmware" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-python/ipython-7.5.0::gentoo was built with the following:
USE="examples qt5 smp -doc -matplotlib -nbconvert -notebook -test" ABI_X86="(64)" PYTHON_TARGETS="python3_6 -python3_7"
FEATURES="news binpkg-logs ipc-sandbox unmerge-orphans distlocks pid-sandbox unmerge-logs xattr preserve-libs config-protect-if-modified ebuild-locks assume-digests network-sandbox merge-sync sandbox binpkg-dostrip binpkg-docompress strict userfetch sfperms parallel-fetch usersync multilib-strict fixlafiles qa-unresolved-soname-deps usersandbox userpriv protect-owned unknown-features-warn"
Comment 1 Leonid Kopylov 2020-03-05 07:36:21 UTC
Created attachment 617144 [details]
build.log
Comment 2 Jan-Matthias Braun 2020-07-08 15:38:51 UTC
The build.log says
ModuleNotFoundError: No module named 'numpy'

This seems strange. I am guessing wildly, but was there a general python version change going on and not complete? ipython directly depends on numpy, therefore this seems strange to me.
Comment 3 Jan-Matthias Braun 2020-07-08 15:41:08 UTC
(In reply to Jan-Matthias Braun from comment #2)
> The build.log says
> ModuleNotFoundError: No module named 'numpy'
> 
> This seems strange. I am guessing wildly, but was there a general python
> version change going on and not complete? ipython directly depends on numpy,
> therefore this seems strange to me.

Just to elaborate on this. I have a similar problem, but in my case, dev-python/sphinx_rtd_theme was still sitting on the old PYTHON_TARGETS and was therefore unavailable.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-03-07 08:06:06 UTC
old version removed.