hns - 日記自動生成システム - Version 2.19.9

先月 2021年01月
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2021年01月02日() 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#1 [pkgssrc] ImportError: cannot import name 'DistutilsSetupError'

=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for py36-obspy-1.1.1nb2

(cd /tmp/geography/py-obspy/work/obspy-1.1.1/ && /usr/bin/env
USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread
PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\ DL_LDFLAGS=\
-pthread DL_LIBS= PYTHON=/usr/pkg/bin/python3.6 CC=gcc CFLAGS=-O2\
-D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/usr/pkg/include/python3.6\
-I/usr/pkg/include CPPFLAGS=-I/usr/include\
-I/usr/pkg/include/python3.6\ -I/usr/pkg/include CXX=c++ CXXFLAGS=-O2\
-D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/usr/pkg/include/python3.6\
-I/usr/pkg/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran
FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C
LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/lib\
-Wl,-R/usr/lib\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib
LINKER_RPATH_FLAG=-R
PATH=/tmp/geography/py-obspy/work/.cwrapper/bin:/tmp/geography/py-obspy/work/.buildlink/bin:/tmp/geography/py-obspy/work/.gfortran/bin:/tmp/geography/py-obspy/work/.gcc/bin:/tmp/geography/py-obspy/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin
PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc
CXXCPP=cpp HOME=/tmp/geography/py-obspy/work/.home
CWRAPPERS_CONFIG_DIR=/tmp/geography/py-obspy/work/.cwrapper/config
CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man
PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF
USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\
-g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\
-g\ wheel\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\
-g\ wheel\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\
-g\ wheel\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\
-g\ wheel\ -m\ 644 BSD_INSTALL=/usr/bin/install
BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\
-m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\
wheel\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\
-g\ wheel\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\
pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\
-o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\
-s\ -o\ pbulk\ -g\ wheel\ -m\ 2555
BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\
664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\
-m\ 775 INSTALL_INFO=
MAKEINFO=/tmp/geography/py-obspy/work/.tools/bin/makeinfo FLEX= BISON=
PKG_CONFIG=
PKG_CONFIG_LIBDIR=/tmp/geography/py-obspy/work/.buildlink/lib/pkgconfig:/tmp/geography/py-obspy/work/.buildlink/share/pkgconfig
PKG_CONFIG_LOG=/tmp/geography/py-obspy/work/.pkg-config.log
PKG_CONFIG_PATH=
CWRAPPERS_CONFIG_DIR=/tmp/geography/py-obspy/work/.cwrapper/config
/usr/pkg/bin/python3.6 setup.py build -j4)


Traceback (most recent call last):
  File "setup.py", line 47, in <module>
    from numpy.distutils.core import DistutilsSetupError, setup
ImportError: cannot import name 'DistutilsSetupError'
*** Error code 1
Numpy released new version, 1.19, which broke the setup. The problem is that we are importing DistutilsSetupError through numpy and it just stopped working. It was working only due to the fact that <1.19 in numpy.core they were doing from distutils.core import *. In 1.19 they changed it to from distutils.core import Distribution in numpy/numpy#15465 So instead of going around, I just import DistutilsSetupError directly from distutils. Fixes #2640



最近の日記
2021年01月09日

2021年01月02日
ImportError: cannot import name 'DistutilsSetupError'
2021年01月01日
deve/R-roxygen2-7.1.1
2020年12月14日
NetBSD pkgsrc binary 生活
2020年12月12日
certificate expired :-(
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)