install_deps.sh - numpy build fails on linux #52952

Closed
opened 2017-09-29 21:00:16 +02:00 by interlichtspielhaus · 9 comments

System Information
ubuntu 14.04

Blender Version
latest git checkout ( running latest install_deps.sh )

Short description of error
numpy fails to build, so is not added to installation

Exact steps for others to reproduce the error
completely clean /opt/lib/
run install_deps.sh

build output:

..
Done compiling Python-3.6.2!

Building Numpy-1.13.1
Ensuring /opt/lib exists and is writable by us
--2017-09-29 20:47:09--  https://github.com/numpy/numpy/releases/download/v1.13.1/numpy-1.13.1.tar.gz
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/908607/c59edc4a-6283-11e7-9319-2b3c3dda2059?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20170929%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170929T184710Z&X-Amz-Expires=300&X-Amz-Signature=92e35a15439c639dfe46a96930a3c7737095714819201c557a2ebd840596b1e9&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dnumpy-1.13.1.tar.gz&response-content-type=application%2Foctet-stream [following]
--2017-09-29 20:47:10--  https://github-production-release-asset-2e65be.s3.amazonaws.com/908607/c59edc4a-6283-11e7-9319-2b3c3dda2059?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20170929%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170929T184710Z&X-Amz-Expires=300&X-Amz-Signature=92e35a15439c639dfe46a96930a3c7737095714819201c557a2ebd840596b1e9&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dnumpy-1.13.1.tar.gz&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.0.64
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.0.64|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4466475 (4.3M) [application/octet-stream]
Saving to: '/home/ins/src/blender-deps/numpy-1.13.1.tar.gz'

100%[================================================================================================================>] 4,466,475   2.98MB/s   in 1.4s   

2017-09-29 20:47:12 (2.98 MB/s) - '/home/ins/src/blender-deps/numpy-1.13.1.tar.gz' saved [4466475/4466475]

Unpacking Numpy-1.13.1
Running from numpy source directory.

Note: if you need reliable uninstall behavior, then install
with pip instead of using `setup.py install`:

  - `pip install .`       (from a git repo or downloaded source
                           release)
  - `pip install numpy`   (last NumPy release on PyPi)


blas_opt_info:
blas_mkl_info:
  libraries mkl_rt not found in ['/opt/lib/python-3.6.2/lib', '/usr/local/lib', '/opt/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE

blis_info:
  libraries blis not found in ['/opt/lib/python-3.6.2/lib', '/usr/local/lib', '/opt/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE

openblas_info:
  FOUND:
    libraries = ['openblas', 'openblas']
    library_dirs = ['/usr/lib']
    language = c
    define_macros = [('HAVE_CBLAS', None)]

  FOUND:
    libraries = ['openblas', 'openblas']
    library_dirs = ['/usr/lib']
    language = c
    define_macros = [('HAVE_CBLAS', None)]

non-existing path in 'numpy/distutils': 'site.cfg'
F2PY Version 2
lapack_opt_info:
lapack_mkl_info:
  libraries mkl_rt not found in ['/opt/lib/python-3.6.2/lib', '/usr/local/lib', '/opt/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE

openblas_lapack_info:
customize UnixCCompiler
C compiler: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC

creating /tmp/tmp28ryyvg9/tmp
creating /tmp/tmp28ryyvg9/tmp/tmp28ryyvg9
compile options: '-c'
gcc: /tmp/tmp28ryyvg9/source.c
/tmp/tmp28ryyvg9/source.c:1:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void zungqr();
 ^
/tmp/tmp28ryyvg9/source.c: In function 'main':
/tmp/tmp28ryyvg9/source.c:4:13: warning: implicit declaration of function 'zungqr_' [-Wimplicit-function-declaration]
             zungqr_();
             ^
gcc -pthread /tmp/tmp28ryyvg9/tmp/tmp28ryyvg9/source.o -L/usr/lib -lopenblas -o /tmp/tmp28ryyvg9/a.out
/tmp/tmp28ryyvg9/tmp/tmp28ryyvg9/source.o: In function `main':
/tmp/tmp28ryyvg9/source.c:4: undefined reference to `zungqr_'
collect2: error: ld returned 1 exit status
/tmp/tmp28ryyvg9/tmp/tmp28ryyvg9/source.o: In function `main':
/tmp/tmp28ryyvg9/source.c:4: undefined reference to `zungqr_'
collect2: error: ld returned 1 exit status
  NOT AVAILABLE

atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
  libraries tatlas,tatlas not found in /opt/lib/python-3.6.2/lib
  libraries lapack_atlas not found in /opt/lib/python-3.6.2/lib
  libraries tatlas,tatlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries tatlas,tatlas not found in /opt/lib
  libraries lapack_atlas not found in /opt/lib
  libraries tatlas,tatlas not found in /usr/lib/atlas-base
  libraries tatlas,tatlas not found in /usr/lib
  libraries tatlas,tatlas not found in /usr/lib/x86_64-linux-gnu
  libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
  NOT AVAILABLE

atlas_3_10_info:
  libraries satlas,satlas not found in /opt/lib/python-3.6.2/lib
  libraries lapack_atlas not found in /opt/lib/python-3.6.2/lib
  libraries satlas,satlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries satlas,satlas not found in /opt/lib
  libraries lapack_atlas not found in /opt/lib
  libraries satlas,satlas not found in /usr/lib/atlas-base
  libraries satlas,satlas not found in /usr/lib
  libraries satlas,satlas not found in /usr/lib/x86_64-linux-gnu
  libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
<class 'numpy.distutils.system_info.atlas_3_10_info'>
  NOT AVAILABLE

atlas_threads_info:
Setting PTATLAS=ATLAS
  libraries ptf77blas,ptcblas,atlas not found in /opt/lib/python-3.6.2/lib
  libraries lapack_atlas not found in /opt/lib/python-3.6.2/lib
  libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries ptf77blas,ptcblas,atlas not found in /opt/lib
  libraries lapack_atlas not found in /opt/lib
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib/atlas-base
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib/x86_64-linux-gnu
  libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
<class 'numpy.distutils.system_info.atlas_threads_info'>
  NOT AVAILABLE

atlas_info:
  libraries f77blas,cblas,atlas not found in /opt/lib/python-3.6.2/lib
  libraries lapack_atlas not found in /opt/lib/python-3.6.2/lib
  libraries f77blas,cblas,atlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries f77blas,cblas,atlas not found in /opt/lib
  libraries lapack_atlas not found in /opt/lib
<class 'numpy.distutils.system_info.atlas_info'>
customize Gnu95FCompiler
Found executable /usr/bin/gfortran
customize Gnu95FCompiler
customize Gnu95FCompiler using config
compiling '_configtest.c':

/* This file is generated from numpy/distutils/system_info.py */
void ATL_buildinfo(void);
int main(void) {
  ATL_buildinfo();
  return 0;
}

C compiler: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC

compile options: '-c'
gcc: _configtest.c
gcc -pthread _configtest.o -L/usr/lib/atlas-base -lf77blas -lcblas -latlas -o _configtest
ATLAS version 3.10.1 built by buildd on Mon Feb  3 23:10:50 UTC 2014:
   UNAME    : Linux toyol 3.2.0-54-generic #82-Ubuntu SMP Tue Sep 10 20:08:42 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
   INSTFLG  : -1 0 -a 1 -l 1
   ARCHDEFS : -DATL_OS_Linux -DATL_ARCH_x86SSE2 -DATL_CPUMHZ=1596 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS -DATL_GAS_x8664
   F2CDEFS  : -DAdd_ -DF77_INTEGER=int -DStringSunStyle
   CACHEEDGE: 1048576
   F77      : /usr/bin/x86_64-linux-gnu-gfortran, version GNU Fortran (Ubuntu/Linaro 4.8.2-14ubuntu4) 4.8.2
   F77FLAGS : -fomit-frame-pointer -mfpmath=sse -O2 -msse2 -fPIC -m64
   SMC      : /usr/bin/c99-gcc, version gcc (Ubuntu/Linaro 4.8.2-14ubuntu4) 4.8.2
   SMCFLAGS : -fomit-frame-pointer -mfpmath=sse -O2 -msse2 -fPIC -m64
   SKC      : /usr/bin/c99-gcc, version gcc (Ubuntu/Linaro 4.8.2-14ubuntu4) 4.8.2
   SKCFLAGS : -fomit-frame-pointer -mfpmath=sse -O2 -msse2 -fPIC -m64
success!
removing: _configtest.c _configtest.o _configtest
  FOUND:
    include_dirs = ['/usr/include/atlas']
    language = f77
    libraries = ['lapack', 'f77blas', 'cblas', 'atlas', 'f77blas', 'cblas']
    library_dirs = ['/usr/lib/atlas-base/atlas', '/usr/lib/atlas-base']
    define_macros = [('ATLAS_INFO', '"\\"3.10.1\\""')]

  FOUND:
    include_dirs = ['/usr/include/atlas']
    language = f77
    libraries = ['lapack', 'f77blas', 'cblas', 'atlas', 'f77blas', 'cblas']
    library_dirs = ['/usr/lib/atlas-base/atlas', '/usr/lib/atlas-base']
    define_macros = [('ATLAS_INFO', '"\\"3.10.1\\""')]

/opt/lib/python-3.6.2/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'define_macros'
  warnings.warn(msg)
running install
Checking .pth file support in /opt/lib/numpy-1.13.1/lib/python3.6/site-packages
/opt/lib/python-3.6.2/bin/python3 -E -c pass
TEST FAILED: /opt/lib/numpy-1.13.1/lib/python3.6/site-packages does NOT support .pth files
error: bad install directory or PYTHONPATH

You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from.  The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

    /opt/lib/numpy-1.13.1/lib/python3.6/site-packages

and your PYTHONPATH environment variable currently contains:

    ''

Here are some of your options for correcting the problem:

* You can choose a different installation directory, i.e., one that is
  on PYTHONPATH or supports .pth files

* You can add the installation directory to the PYTHONPATH environment
  variable.  (It must then also be on PYTHONPATH whenever you run
  Python and want to use the package(s) you are installing.)

* You can set up the installation directory to support ".pth" files by
  using one of the approaches described here:

  https://setuptools.readthedocs.io/en/latest/easy_install.html#custom-installation-locations


Please make the appropriate changes for your system and try again.
Done compiling Numpy-1.13.1!
**System Information** ubuntu 14.04 **Blender Version** latest git checkout ( running latest install_deps.sh ) **Short description of error** numpy fails to build, so is not added to installation **Exact steps for others to reproduce the error** completely clean /opt/lib/ run install_deps.sh build output: ``` .. Done compiling Python-3.6.2! Building Numpy-1.13.1 Ensuring /opt/lib exists and is writable by us --2017-09-29 20:47:09-- https://github.com/numpy/numpy/releases/download/v1.13.1/numpy-1.13.1.tar.gz Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113 Connecting to github.com (github.com)|192.30.253.112|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/908607/c59edc4a-6283-11e7-9319-2b3c3dda2059?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20170929%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170929T184710Z&X-Amz-Expires=300&X-Amz-Signature=92e35a15439c639dfe46a96930a3c7737095714819201c557a2ebd840596b1e9&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dnumpy-1.13.1.tar.gz&response-content-type=application%2Foctet-stream [following] --2017-09-29 20:47:10-- https://github-production-release-asset-2e65be.s3.amazonaws.com/908607/c59edc4a-6283-11e7-9319-2b3c3dda2059?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20170929%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170929T184710Z&X-Amz-Expires=300&X-Amz-Signature=92e35a15439c639dfe46a96930a3c7737095714819201c557a2ebd840596b1e9&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dnumpy-1.13.1.tar.gz&response-content-type=application%2Foctet-stream Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.0.64 Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.0.64|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 4466475 (4.3M) [application/octet-stream] Saving to: '/home/ins/src/blender-deps/numpy-1.13.1.tar.gz' 100%[================================================================================================================>] 4,466,475 2.98MB/s in 1.4s 2017-09-29 20:47:12 (2.98 MB/s) - '/home/ins/src/blender-deps/numpy-1.13.1.tar.gz' saved [4466475/4466475] Unpacking Numpy-1.13.1 Running from numpy source directory. Note: if you need reliable uninstall behavior, then install with pip instead of using `setup.py install`: - `pip install .` (from a git repo or downloaded source release) - `pip install numpy` (last NumPy release on PyPi) blas_opt_info: blas_mkl_info: libraries mkl_rt not found in ['/opt/lib/python-3.6.2/lib', '/usr/local/lib', '/opt/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu'] NOT AVAILABLE blis_info: libraries blis not found in ['/opt/lib/python-3.6.2/lib', '/usr/local/lib', '/opt/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu'] NOT AVAILABLE openblas_info: FOUND: libraries = ['openblas', 'openblas'] library_dirs = ['/usr/lib'] language = c define_macros = [('HAVE_CBLAS', None)] FOUND: libraries = ['openblas', 'openblas'] library_dirs = ['/usr/lib'] language = c define_macros = [('HAVE_CBLAS', None)] non-existing path in 'numpy/distutils': 'site.cfg' F2PY Version 2 lapack_opt_info: lapack_mkl_info: libraries mkl_rt not found in ['/opt/lib/python-3.6.2/lib', '/usr/local/lib', '/opt/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu'] NOT AVAILABLE openblas_lapack_info: customize UnixCCompiler C compiler: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC creating /tmp/tmp28ryyvg9/tmp creating /tmp/tmp28ryyvg9/tmp/tmp28ryyvg9 compile options: '-c' gcc: /tmp/tmp28ryyvg9/source.c /tmp/tmp28ryyvg9/source.c:1:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void zungqr(); ^ /tmp/tmp28ryyvg9/source.c: In function 'main': /tmp/tmp28ryyvg9/source.c:4:13: warning: implicit declaration of function 'zungqr_' [-Wimplicit-function-declaration] zungqr_(); ^ gcc -pthread /tmp/tmp28ryyvg9/tmp/tmp28ryyvg9/source.o -L/usr/lib -lopenblas -o /tmp/tmp28ryyvg9/a.out /tmp/tmp28ryyvg9/tmp/tmp28ryyvg9/source.o: In function `main': /tmp/tmp28ryyvg9/source.c:4: undefined reference to `zungqr_' collect2: error: ld returned 1 exit status /tmp/tmp28ryyvg9/tmp/tmp28ryyvg9/source.o: In function `main': /tmp/tmp28ryyvg9/source.c:4: undefined reference to `zungqr_' collect2: error: ld returned 1 exit status NOT AVAILABLE atlas_3_10_threads_info: Setting PTATLAS=ATLAS libraries tatlas,tatlas not found in /opt/lib/python-3.6.2/lib libraries lapack_atlas not found in /opt/lib/python-3.6.2/lib libraries tatlas,tatlas not found in /usr/local/lib libraries lapack_atlas not found in /usr/local/lib libraries tatlas,tatlas not found in /opt/lib libraries lapack_atlas not found in /opt/lib libraries tatlas,tatlas not found in /usr/lib/atlas-base libraries tatlas,tatlas not found in /usr/lib libraries tatlas,tatlas not found in /usr/lib/x86_64-linux-gnu libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu <class 'numpy.distutils.system_info.atlas_3_10_threads_info'> NOT AVAILABLE atlas_3_10_info: libraries satlas,satlas not found in /opt/lib/python-3.6.2/lib libraries lapack_atlas not found in /opt/lib/python-3.6.2/lib libraries satlas,satlas not found in /usr/local/lib libraries lapack_atlas not found in /usr/local/lib libraries satlas,satlas not found in /opt/lib libraries lapack_atlas not found in /opt/lib libraries satlas,satlas not found in /usr/lib/atlas-base libraries satlas,satlas not found in /usr/lib libraries satlas,satlas not found in /usr/lib/x86_64-linux-gnu libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu <class 'numpy.distutils.system_info.atlas_3_10_info'> NOT AVAILABLE atlas_threads_info: Setting PTATLAS=ATLAS libraries ptf77blas,ptcblas,atlas not found in /opt/lib/python-3.6.2/lib libraries lapack_atlas not found in /opt/lib/python-3.6.2/lib libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib libraries lapack_atlas not found in /usr/local/lib libraries ptf77blas,ptcblas,atlas not found in /opt/lib libraries lapack_atlas not found in /opt/lib libraries ptf77blas,ptcblas,atlas not found in /usr/lib/atlas-base libraries ptf77blas,ptcblas,atlas not found in /usr/lib libraries ptf77blas,ptcblas,atlas not found in /usr/lib/x86_64-linux-gnu libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu <class 'numpy.distutils.system_info.atlas_threads_info'> NOT AVAILABLE atlas_info: libraries f77blas,cblas,atlas not found in /opt/lib/python-3.6.2/lib libraries lapack_atlas not found in /opt/lib/python-3.6.2/lib libraries f77blas,cblas,atlas not found in /usr/local/lib libraries lapack_atlas not found in /usr/local/lib libraries f77blas,cblas,atlas not found in /opt/lib libraries lapack_atlas not found in /opt/lib <class 'numpy.distutils.system_info.atlas_info'> customize Gnu95FCompiler Found executable /usr/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using config compiling '_configtest.c': /* This file is generated from numpy/distutils/system_info.py */ void ATL_buildinfo(void); int main(void) { ATL_buildinfo(); return 0; } C compiler: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC compile options: '-c' gcc: _configtest.c gcc -pthread _configtest.o -L/usr/lib/atlas-base -lf77blas -lcblas -latlas -o _configtest ATLAS version 3.10.1 built by buildd on Mon Feb 3 23:10:50 UTC 2014: UNAME : Linux toyol 3.2.0-54-generic #82-Ubuntu SMP Tue Sep 10 20:08:42 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux INSTFLG : -1 0 -a 1 -l 1 ARCHDEFS : -DATL_OS_Linux -DATL_ARCH_x86SSE2 -DATL_CPUMHZ=1596 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS -DATL_GAS_x8664 F2CDEFS : -DAdd_ -DF77_INTEGER=int -DStringSunStyle CACHEEDGE: 1048576 F77 : /usr/bin/x86_64-linux-gnu-gfortran, version GNU Fortran (Ubuntu/Linaro 4.8.2-14ubuntu4) 4.8.2 F77FLAGS : -fomit-frame-pointer -mfpmath=sse -O2 -msse2 -fPIC -m64 SMC : /usr/bin/c99-gcc, version gcc (Ubuntu/Linaro 4.8.2-14ubuntu4) 4.8.2 SMCFLAGS : -fomit-frame-pointer -mfpmath=sse -O2 -msse2 -fPIC -m64 SKC : /usr/bin/c99-gcc, version gcc (Ubuntu/Linaro 4.8.2-14ubuntu4) 4.8.2 SKCFLAGS : -fomit-frame-pointer -mfpmath=sse -O2 -msse2 -fPIC -m64 success! removing: _configtest.c _configtest.o _configtest FOUND: include_dirs = ['/usr/include/atlas'] language = f77 libraries = ['lapack', 'f77blas', 'cblas', 'atlas', 'f77blas', 'cblas'] library_dirs = ['/usr/lib/atlas-base/atlas', '/usr/lib/atlas-base'] define_macros = [('ATLAS_INFO', '"\\"3.10.1\\""')] FOUND: include_dirs = ['/usr/include/atlas'] language = f77 libraries = ['lapack', 'f77blas', 'cblas', 'atlas', 'f77blas', 'cblas'] library_dirs = ['/usr/lib/atlas-base/atlas', '/usr/lib/atlas-base'] define_macros = [('ATLAS_INFO', '"\\"3.10.1\\""')] /opt/lib/python-3.6.2/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'define_macros' warnings.warn(msg) running install Checking .pth file support in /opt/lib/numpy-1.13.1/lib/python3.6/site-packages /opt/lib/python-3.6.2/bin/python3 -E -c pass TEST FAILED: /opt/lib/numpy-1.13.1/lib/python3.6/site-packages does NOT support .pth files error: bad install directory or PYTHONPATH You are attempting to install a package to a directory that is not on PYTHONPATH and which Python does not read ".pth" files from. The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was: /opt/lib/numpy-1.13.1/lib/python3.6/site-packages and your PYTHONPATH environment variable currently contains: '' Here are some of your options for correcting the problem: * You can choose a different installation directory, i.e., one that is on PYTHONPATH or supports .pth files * You can add the installation directory to the PYTHONPATH environment variable. (It must then also be on PYTHONPATH whenever you run Python and want to use the package(s) you are installing.) * You can set up the installation directory to support ".pth" files by using one of the approaches described here: https://setuptools.readthedocs.io/en/latest/easy_install.html#custom-installation-locations Please make the appropriate changes for your system and try again. Done compiling Numpy-1.13.1! ```

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @intrah

Added subscriber: @intrah
Member

Added subscriber: @LazyDodo

Added subscriber: @LazyDodo
Bastien Montagne was assigned by Ray molenkamp 2017-09-29 21:12:53 +02:00
Member

Can you take a look here?

Can you take a look here?

Added subscriber: @EvertonSchneider

Added subscriber: @EvertonSchneider

I have the same problem on Ubuntu 17.10, I was able to build without problems before the commit that upgrades numpy.
I also have this warning when building blender that was not present before some recent python related commits:

CMake Warning at build_files/cmake/macros.cmake:1508 (message):
  Python package 'requests' path could not be found in:

  '/opt/lib/python-3.6/lib/python3.6/site-packages/requests',
  '/opt/lib/python-3.6/lib/python3/site-packages/requests',
  '/opt/lib/python-3.6/lib/python3.6/dist-packages/requests',
  '/opt/lib/python-3.6/lib/python3/dist-packages/requests',

  The 'WITH_PYTHON_INSTALL_REQUESTS' option will be ignored when installing
  Python.

  The build will be usable, only add-ons that depend on this package won't be
  functional.
Call Stack (most recent call first):
  CMakeLists.txt:1512 (find_python_package
I have the same problem on Ubuntu 17.10, I was able to build without problems before the commit that upgrades numpy. I also have this warning when building blender that was not present before some recent python related commits: ``` CMake Warning at build_files/cmake/macros.cmake:1508 (message): Python package 'requests' path could not be found in: '/opt/lib/python-3.6/lib/python3.6/site-packages/requests', '/opt/lib/python-3.6/lib/python3/site-packages/requests', '/opt/lib/python-3.6/lib/python3.6/dist-packages/requests', '/opt/lib/python-3.6/lib/python3/dist-packages/requests', The 'WITH_PYTHON_INSTALL_REQUESTS' option will be ignored when installing Python. The build will be usable, only add-ons that depend on this package won't be functional. Call Stack (most recent call first): CMakeLists.txt:1512 (find_python_package ```

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Fixed by 754f5d39c5.

Fixed by 754f5d39c5.

Added subscriber: @machnic

Added subscriber: @machnic
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#52952
No description provided.