i was following the
Installing TensorFlow for Jetson Platform :: NVIDIA Deep Learning Frameworks Documentation
and when i typed
sudo pip3 install --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v461 tensorflow==2.7.0+nv22.01
#define HAVE___BUILTIN_MUL_OVERFLOW 1
#define HAVE___BUILTIN_PREFETCH 1
#define HAVE_ATTRIBUTE_OPTIMIZE_UNROLL_LOOPS 1
#define HAVE_ATTRIBUTE_OPTIMIZE_OPT_3 1
#define HAVE_ATTRIBUTE_NONNULL 1
#define HAVE___THREAD 1
#define HAVE_SINF 1
#define HAVE_COSF 1
#define HAVE_TANF 1
#define HAVE_SINHF 1
#define HAVE_COSHF 1
#define HAVE_TANHF 1
#define HAVE_FABSF 1
#define HAVE_FLOORF 1
#define HAVE_CEILF 1
#define HAVE_RINTF 1
#define HAVE_TRUNCF 1
#define HAVE_SQRTF 1
#define HAVE_LOG10F 1
#define HAVE_LOGF 1
#define HAVE_LOG1PF 1
#define HAVE_EXPF 1
#define HAVE_EXPM1F 1
#define HAVE_ASINF 1
#define HAVE_ACOSF 1
#define HAVE_ATANF 1
#define HAVE_ASINHF 1
#define HAVE_ACOSHF 1
#define HAVE_ATANHF 1
#define HAVE_HYPOTF 1
#define HAVE_ATAN2F 1
#define HAVE_POWF 1
#define HAVE_FMODF 1
#define HAVE_MODFF 1
#define HAVE_FREXPF 1
#define HAVE_LDEXPF 1
#define HAVE_EXP2F 1
#define HAVE_LOG2F 1
#define HAVE_COPYSIGNF 1
#define HAVE_NEXTAFTERF 1
#define HAVE_CBRTF 1
#define HAVE_SINL 1
#define HAVE_COSL 1
#define HAVE_TANL 1
#define HAVE_SINHL 1
#define HAVE_COSHL 1
#define HAVE_TANHL 1
#define HAVE_FABSL 1
#define HAVE_FLOORL 1
#define HAVE_CEILL 1
#define HAVE_RINTL 1
#define HAVE_TRUNCL 1
#define HAVE_SQRTL 1
#define HAVE_LOG10L 1
#define HAVE_LOGL 1
#define HAVE_LOG1PL 1
#define HAVE_EXPL 1
#define HAVE_EXPM1L 1
#define HAVE_ASINL 1
#define HAVE_ACOSL 1
#define HAVE_ATANL 1
#define HAVE_ASINHL 1
#define HAVE_ACOSHL 1
#define HAVE_ATANHL 1
#define HAVE_HYPOTL 1
#define HAVE_ATAN2L 1
#define HAVE_POWL 1
#define HAVE_FMODL 1
#define HAVE_MODFL 1
#define HAVE_FREXPL 1
#define HAVE_LDEXPL 1
#define HAVE_EXP2L 1
#define HAVE_LOG2L 1
#define HAVE_COPYSIGNL 1
#define HAVE_NEXTAFTERL 1
#define HAVE_CBRTL 1
#define HAVE_DECL_SIGNBIT
#define HAVE_COMPLEX_H 1
#define HAVE_CABS 1
#define HAVE_CACOS 1
#define HAVE_CACOSH 1
#define HAVE_CARG 1
#define HAVE_CASIN 1
#define HAVE_CASINH 1
#define HAVE_CATAN 1
#define HAVE_CATANH 1
#define HAVE_CCOS 1
#define HAVE_CCOSH 1
#define HAVE_CEXP 1
#define HAVE_CIMAG 1
#define HAVE_CLOG 1
#define HAVE_CONJ 1
#define HAVE_CPOW 1
#define HAVE_CPROJ 1
#define HAVE_CREAL 1
#define HAVE_CSIN 1
#define HAVE_CSINH 1
#define HAVE_CSQRT 1
#define HAVE_CTAN 1
#define HAVE_CTANH 1
#define HAVE_CABSF 1
#define HAVE_CACOSF 1
#define HAVE_CACOSHF 1
#define HAVE_CARGF 1
#define HAVE_CASINF 1
#define HAVE_CASINHF 1
#define HAVE_CATANF 1
#define HAVE_CATANHF 1
#define HAVE_CCOSF 1
#define HAVE_CCOSHF 1
#define HAVE_CEXPF 1
#define HAVE_CIMAGF 1
#define HAVE_CLOGF 1
#define HAVE_CONJF 1
#define HAVE_CPOWF 1
#define HAVE_CPROJF 1
#define HAVE_CREALF 1
#define HAVE_CSINF 1
#define HAVE_CSINHF 1
#define HAVE_CSQRTF 1
#define HAVE_CTANF 1
#define HAVE_CTANHF 1
#define HAVE_CABSL 1
#define HAVE_CACOSL 1
#define HAVE_CACOSHL 1
#define HAVE_CARGL 1
#define HAVE_CASINL 1
#define HAVE_CASINHL 1
#define HAVE_CATANL 1
#define HAVE_CATANHL 1
#define HAVE_CCOSL 1
#define HAVE_CCOSHL 1
#define HAVE_CEXPL 1
#define HAVE_CIMAGL 1
#define HAVE_CLOGL 1
#define HAVE_CONJL 1
#define HAVE_CPOWL 1
#define HAVE_CPROJL 1
#define HAVE_CREALL 1
#define HAVE_CSINL 1
#define HAVE_CSINHL 1
#define HAVE_CSQRTL 1
#define HAVE_CTANL 1
#define HAVE_CTANHL 1
#define NPY_RESTRICT restrict
#define NPY_RELAXED_STRIDES_CHECKING 1
#define HAVE_LDOUBLE_IEEE_QUAD_LE 1
#define NPY_PY3K 1
#ifndef __cplusplus
/* #undef inline */
#endif
#ifndef _NPY_NPY_CONFIG_H_
#error config.h should never be included directly, include npy_config.h instead
#endif
adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h' to sources.
Generating build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [-Wbuiltin-declaration-mismatch]
int exp (void);
aarch64-linux-gnu-gcc -pthread _configtest.o -o _configtest
_configtest.o: In function `main':
/tmp/pip-install-71zbi5c3/numpy_1640d39fefef4e5ea12ab4cbebf94846/_configtest.c:6: undefined reference to `exp'
collect2: error: ld returned 1 exit status
_configtest.o: In function `main':
/tmp/pip-install-71zbi5c3/numpy_1640d39fefef4e5ea12ab4cbebf94846/_configtest.c:6: undefined reference to `exp'
collect2: error: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [-Wbuiltin-declaration-mismatch]
int exp (void);
aarch64-linux-gnu-gcc -pthread _configtest.o -lm -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
success!
removing: _configtest.c _configtest.o
File: build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h
#define NPY_HAVE_ENDIAN_H 1
#define NPY_SIZEOF_SHORT SIZEOF_SHORT
#define NPY_SIZEOF_INT SIZEOF_INT
#define NPY_SIZEOF_LONG SIZEOF_LONG
#define NPY_SIZEOF_FLOAT 4
#define NPY_SIZEOF_COMPLEX_FLOAT 8
#define NPY_SIZEOF_DOUBLE 8
#define NPY_SIZEOF_COMPLEX_DOUBLE 16
#define NPY_SIZEOF_LONGDOUBLE 16
#define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32
#define NPY_SIZEOF_PY_INTPTR_T 8
#define NPY_SIZEOF_OFF_T 8
#define NPY_SIZEOF_PY_LONG_LONG 8
#define NPY_SIZEOF_LONGLONG 8
#define NPY_NO_SMP 0
#define NPY_HAVE_DECL_ISNAN
#define NPY_HAVE_DECL_ISINF
#define NPY_HAVE_DECL_ISFINITE
#define NPY_HAVE_DECL_SIGNBIT
#define NPY_USE_C99_COMPLEX 1
#define NPY_HAVE_COMPLEX_DOUBLE 1
#define NPY_HAVE_COMPLEX_FLOAT 1
#define NPY_HAVE_COMPLEX_LONG_DOUBLE 1
#define NPY_RELAXED_STRIDES_CHECKING 1
#define NPY_USE_C99_FORMATS 1
#define NPY_VISIBILITY_HIDDEN __attribute__((visibility("hidden")))
#define NPY_ABI_VERSION 0x01000009
#define NPY_API_VERSION 0x0000000A
#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS 1
#endif
adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h' to sources.
executing numpy/core/code_generators/generate_numpy_api.py
adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/__multiarray_api.h' to sources.
numpy.core - nothing done with h_files = ['build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/__multiarray_api.h']
building extension "numpy.core.multiarray" sources
adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h' to sources.
adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h' to sources.
executing numpy/core/code_generators/generate_numpy_api.py
adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/__multiarray_api.h' to sources.
creating build/src.linux-aarch64-3.6/numpy/core/src/multiarray
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/multiarray/arraytypes.c
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/multiarray/einsum.c
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/multiarray/lowlevel_strided_loops.c
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/multiarray/nditer_templ.c
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/multiarray/scalartypes.c
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/private/templ_common.h
adding 'build/src.linux-aarch64-3.6/numpy/core/src/private' to include_dirs.
numpy.core - nothing done with h_files = ['build/src.linux-aarch64-3.6/numpy/core/src/private/templ_common.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/__multiarray_api.h']
building extension "numpy.core.umath" sources
adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h' to sources.
adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h' to sources.
executing numpy/core/code_generators/generate_ufunc_api.py
adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/__ufunc_api.h' to sources.
creating build/src.linux-aarch64-3.6/numpy/core/src/umath
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/umath/funcs.inc
adding 'build/src.linux-aarch64-3.6/numpy/core/src/umath' to include_dirs.
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/umath/simd.inc
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/umath/loops.h
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/umath/loops.c
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/umath/scalarmath.c
numpy.core - nothing done with h_files = ['build/src.linux-aarch64-3.6/numpy/core/src/umath/funcs.inc', 'build/src.linux-aarch64-3.6/numpy/core/src/umath/simd.inc', 'build/src.linux-aarch64-3.6/numpy/core/src/umath/loops.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/__ufunc_api.h']
building extension "numpy.core.umath_tests" sources
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/umath/umath_tests.c
building extension "numpy.core.test_rational" sources
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/umath/test_rational.c
building extension "numpy.core.struct_ufunc_test" sources
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/umath/struct_ufunc_test.c
building extension "numpy.core.multiarray_tests" sources
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/multiarray/multiarray_tests.c
building extension "numpy.core.operand_flag_tests" sources
conv_template:> build/src.linux-aarch64-3.6/numpy/core/src/umath/operand_flag_tests.c
building extension "numpy.fft.fftpack_lite" sources
building extension "numpy.linalg.lapack_lite" sources
creating build/src.linux-aarch64-3.6/numpy/linalg
adding 'numpy/linalg/lapack_lite/python_xerbla.c' to sources.
building extension "numpy.linalg._umath_linalg" sources
adding 'numpy/linalg/lapack_lite/python_xerbla.c' to sources.
conv_template:> build/src.linux-aarch64-3.6/numpy/linalg/umath_linalg.c
building extension "numpy.random.mtrand" sources
creating build/src.linux-aarch64-3.6/numpy/random
building data_files sources
build_src: building npy-pkg config files
/usr/local/lib/python3.6/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
running build_py
creating build/lib.linux-aarch64-3.6
creating build/lib.linux-aarch64-3.6/numpy
copying numpy/ctypeslib.py -> build/lib.linux-aarch64-3.6/numpy
copying numpy/add_newdocs.py -> build/lib.linux-aarch64-3.6/numpy
copying numpy/__init__.py -> build/lib.linux-aarch64-3.6/numpy
copying numpy/dual.py -> build/lib.linux-aarch64-3.6/numpy
copying numpy/version.py -> build/lib.linux-aarch64-3.6/numpy
copying numpy/setup.py -> build/lib.linux-aarch64-3.6/numpy
copying numpy/_import_tools.py -> build/lib.linux-aarch64-3.6/numpy
copying numpy/_distributor_init.py -> build/lib.linux-aarch64-3.6/numpy
copying numpy/matlib.py -> build/lib.linux-aarch64-3.6/numpy
copying numpy/_globals.py -> build/lib.linux-aarch64-3.6/numpy
copying build/src.linux-aarch64-3.6/numpy/__config__.py -> build/lib.linux-aarch64-3.6/numpy
creating build/lib.linux-aarch64-3.6/numpy/compat
copying numpy/compat/__init__.py -> build/lib.linux-aarch64-3.6/numpy/compat
copying numpy/compat/setup.py -> build/lib.linux-aarch64-3.6/numpy/compat
copying numpy/compat/py3k.py -> build/lib.linux-aarch64-3.6/numpy/compat
copying numpy/compat/_inspect.py -> build/lib.linux-aarch64-3.6/numpy/compat
creating build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/_internal.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/function_base.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/shape_base.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/fromnumeric.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/info.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/numerictypes.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/einsumfunc.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/machar.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/__init__.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/setup_common.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/arrayprint.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/setup.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/numeric.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/defchararray.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/cversions.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/getlimits.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/memmap.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/_methods.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/records.py -> build/lib.linux-aarch64-3.6/numpy/core
copying numpy/core/code_generators/generate_numpy_api.py -> build/lib.linux-aarch64-3.6/numpy/core
creating build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/cpuinfo.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/msvccompiler.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/pathccompiler.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/extension.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/from_template.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/line_endings.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/exec_command.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/info.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/__version__.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/system_info.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/numpy_distribution.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/__init__.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/npy_pkg_config.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/environment.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/misc_util.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/conv_template.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/ccompiler.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/mingw32ccompiler.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/setup.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/compat.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/lib2def.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/core.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/log.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/unixccompiler.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/msvc9compiler.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying numpy/distutils/intelccompiler.py -> build/lib.linux-aarch64-3.6/numpy/distutils
copying build/src.linux-aarch64-3.6/numpy/distutils/__config__.py -> build/lib.linux-aarch64-3.6/numpy/distutils
creating build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/install_clib.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/build_clib.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/autodist.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/build_src.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/develop.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/install_headers.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/sdist.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/__init__.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/build_py.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/build_ext.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/bdist_rpm.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/build.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/install.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/build_scripts.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/config.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/egg_info.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/config_compiler.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
copying numpy/distutils/command/install_data.py -> build/lib.linux-aarch64-3.6/numpy/distutils/command
creating build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/hpux.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/pathf95.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/sun.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/intel.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/pg.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/vast.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/__init__.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/mips.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/ibm.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/none.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/absoft.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/compaq.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/nag.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/g95.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/lahey.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/gnu.py -> build/lib.linux-aarch64-3.6/numpy/distutils/fcompiler
creating build/lib.linux-aarch64-3.6/numpy/doc
copying numpy/doc/creation.py -> build/lib.linux-aarch64-3.6/numpy/doc
copying numpy/doc/broadcasting.py -> build/lib.linux-aarch64-3.6/numpy/doc
copying numpy/doc/glossary.py -> build/lib.linux-aarch64-3.6/numpy/doc
copying numpy/doc/structured_arrays.py -> build/lib.linux-aarch64-3.6/numpy/doc
copying numpy/doc/__init__.py -> build/lib.linux-aarch64-3.6/numpy/doc
copying numpy/doc/ufuncs.py -> build/lib.linux-aarch64-3.6/numpy/doc
copying numpy/doc/byteswapping.py -> build/lib.linux-aarch64-3.6/numpy/doc
copying numpy/doc/basics.py -> build/lib.linux-aarch64-3.6/numpy/doc
copying numpy/doc/constants.py -> build/lib.linux-aarch64-3.6/numpy/doc
copying numpy/doc/misc.py -> build/lib.linux-aarch64-3.6/numpy/doc
copying numpy/doc/subclassing.py -> build/lib.linux-aarch64-3.6/numpy/doc
copying numpy/doc/indexing.py -> build/lib.linux-aarch64-3.6/numpy/doc
copying numpy/doc/internals.py -> build/lib.linux-aarch64-3.6/numpy/doc
creating build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/diagnose.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/capi_maps.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/cb_rules.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/crackfortran.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/rules.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/info.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/__version__.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/common_rules.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/__init__.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/auxfuncs.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/f2py_testing.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/setup.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/__main__.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/f2py2e.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/f90mod_rules.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/func2subr.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/cfuncs.py -> build/lib.linux-aarch64-3.6/numpy/f2py
copying numpy/f2py/use_rules.py -> build/lib.linux-aarch64-3.6/numpy/f2py
creating build/lib.linux-aarch64-3.6/numpy/fft
copying numpy/fft/fftpack.py -> build/lib.linux-aarch64-3.6/numpy/fft
copying numpy/fft/info.py -> build/lib.linux-aarch64-3.6/numpy/fft
copying numpy/fft/__init__.py -> build/lib.linux-aarch64-3.6/numpy/fft
copying numpy/fft/setup.py -> build/lib.linux-aarch64-3.6/numpy/fft
copying numpy/fft/helper.py -> build/lib.linux-aarch64-3.6/numpy/fft
creating build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/polynomial.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/recfunctions.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/function_base.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/shape_base.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/ufunclike.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/npyio.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/info.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/index_tricks.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/stride_tricks.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/financial.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/arrayterator.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/__init__.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/utils.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/user_array.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/arraysetops.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/twodim_base.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/_datasource.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/setup.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/type_check.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/_iotools.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/nanfunctions.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/scimath.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/_version.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/format.py -> build/lib.linux-aarch64-3.6/numpy/lib
copying numpy/lib/arraypad.py -> build/lib.linux-aarch64-3.6/numpy/lib
creating build/lib.linux-aarch64-3.6/numpy/linalg
copying numpy/linalg/info.py -> build/lib.linux-aarch64-3.6/numpy/linalg
copying numpy/linalg/__init__.py -> build/lib.linux-aarch64-3.6/numpy/linalg
copying numpy/linalg/setup.py -> build/lib.linux-aarch64-3.6/numpy/linalg
copying numpy/linalg/linalg.py -> build/lib.linux-aarch64-3.6/numpy/linalg
creating build/lib.linux-aarch64-3.6/numpy/ma
copying numpy/ma/mrecords.py -> build/lib.linux-aarch64-3.6/numpy/ma
copying numpy/ma/timer_comparison.py -> build/lib.linux-aarch64-3.6/numpy/ma
copying numpy/ma/extras.py -> build/lib.linux-aarch64-3.6/numpy/ma
copying numpy/ma/__init__.py -> build/lib.linux-aarch64-3.6/numpy/ma
copying numpy/ma/version.py -> build/lib.linux-aarch64-3.6/numpy/ma
copying numpy/ma/setup.py -> build/lib.linux-aarch64-3.6/numpy/ma
copying numpy/ma/bench.py -> build/lib.linux-aarch64-3.6/numpy/ma
copying numpy/ma/core.py -> build/lib.linux-aarch64-3.6/numpy/ma
copying numpy/ma/testutils.py -> build/lib.linux-aarch64-3.6/numpy/ma
creating build/lib.linux-aarch64-3.6/numpy/matrixlib
copying numpy/matrixlib/__init__.py -> build/lib.linux-aarch64-3.6/numpy/matrixlib
copying numpy/matrixlib/setup.py -> build/lib.linux-aarch64-3.6/numpy/matrixlib
copying numpy/matrixlib/defmatrix.py -> build/lib.linux-aarch64-3.6/numpy/matrixlib
creating build/lib.linux-aarch64-3.6/numpy/polynomial
copying numpy/polynomial/polynomial.py -> build/lib.linux-aarch64-3.6/numpy/polynomial
copying numpy/polynomial/chebyshev.py -> build/lib.linux-aarch64-3.6/numpy/polynomial
copying numpy/polynomial/_polybase.py -> build/lib.linux-aarch64-3.6/numpy/polynomial
copying numpy/polynomial/laguerre.py -> build/lib.linux-aarch64-3.6/numpy/polynomial
copying numpy/polynomial/__init__.py -> build/lib.linux-aarch64-3.6/numpy/polynomial
copying numpy/polynomial/setup.py -> build/lib.linux-aarch64-3.6/numpy/polynomial
copying numpy/polynomial/hermite_e.py -> build/lib.linux-aarch64-3.6/numpy/polynomial
copying numpy/polynomial/polyutils.py -> build/lib.linux-aarch64-3.6/numpy/polynomial
copying numpy/polynomial/hermite.py -> build/lib.linux-aarch64-3.6/numpy/polynomial
copying numpy/polynomial/legendre.py -> build/lib.linux-aarch64-3.6/numpy/polynomial
creating build/lib.linux-aarch64-3.6/numpy/random
copying numpy/random/info.py -> build/lib.linux-aarch64-3.6/numpy/random
copying numpy/random/__init__.py -> build/lib.linux-aarch64-3.6/numpy/random
copying numpy/random/setup.py -> build/lib.linux-aarch64-3.6/numpy/random
creating build/lib.linux-aarch64-3.6/numpy/testing
copying numpy/testing/noseclasses.py -> build/lib.linux-aarch64-3.6/numpy/testing
copying numpy/testing/nosetester.py -> build/lib.linux-aarch64-3.6/numpy/testing
copying numpy/testing/__init__.py -> build/lib.linux-aarch64-3.6/numpy/testing
copying numpy/testing/utils.py -> build/lib.linux-aarch64-3.6/numpy/testing
copying numpy/testing/decorators.py -> build/lib.linux-aarch64-3.6/numpy/testing
copying numpy/testing/setup.py -> build/lib.linux-aarch64-3.6/numpy/testing
copying numpy/testing/print_coercion_tables.py -> build/lib.linux-aarch64-3.6/numpy/testing
running build_clib
customize UnixCCompiler
customize UnixCCompiler using build_clib
building 'npymath' library
compiling C sources
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
creating build/temp.linux-aarch64-3.6
creating build/temp.linux-aarch64-3.6/build
creating build/temp.linux-aarch64-3.6/build/src.linux-aarch64-3.6
creating build/temp.linux-aarch64-3.6/build/src.linux-aarch64-3.6/numpy
creating build/temp.linux-aarch64-3.6/build/src.linux-aarch64-3.6/numpy/core
creating build/temp.linux-aarch64-3.6/build/src.linux-aarch64-3.6/numpy/core/src
creating build/temp.linux-aarch64-3.6/build/src.linux-aarch64-3.6/numpy/core/src/npymath
creating build/temp.linux-aarch64-3.6/numpy
creating build/temp.linux-aarch64-3.6/numpy/core
creating build/temp.linux-aarch64-3.6/numpy/core/src
creating build/temp.linux-aarch64-3.6/numpy/core/src/npymath
compile options: '-Inumpy/core/include -Ibuild/src.linux-aarch64-3.6/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -c'
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/npymath/npy_math.c
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/npymath/ieee754.c
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/npymath/npy_math_complex.c
aarch64-linux-gnu-gcc: numpy/core/src/npymath/halffloat.c
aarch64-linux-gnu-gcc-ar: adding 4 object files to build/temp.linux-aarch64-3.6/libnpymath.a
building 'npysort' library
compiling C sources
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
creating build/temp.linux-aarch64-3.6/build/src.linux-aarch64-3.6/numpy/core/src/npysort
compile options: '-Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Inumpy/core/include -Ibuild/src.linux-aarch64-3.6/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -c'
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/npysort/quicksort.c
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/npysort/mergesort.c
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/npysort/heapsort.c
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/npysort/selection.c
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/npysort/binsearch.c
aarch64-linux-gnu-gcc-ar: adding 5 object files to build/temp.linux-aarch64-3.6/libnpysort.a
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building 'numpy.core._dummy' extension
compiling C sources
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
compile options: '-DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Inumpy/core/include -Ibuild/src.linux-aarch64-3.6/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -c'
aarch64-linux-gnu-gcc: numpy/core/src/dummymodule.c
aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-3.6/numpy/core/src/dummymodule.o -Lbuild/temp.linux-aarch64-3.6 -lm -o build/lib.linux-aarch64-3.6/numpy/core/_dummy.cpython-36m-aarch64-linux-gnu.so
building 'numpy.core.multiarray' extension
compiling C sources
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
creating build/temp.linux-aarch64-3.6/numpy/core/src/multiarray
creating build/temp.linux-aarch64-3.6/build/src.linux-aarch64-3.6/numpy/core/src/multiarray
creating build/temp.linux-aarch64-3.6/numpy/core/src/private
compile options: '-DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DNO_ATLAS_INFO=1 -DHAVE_CBLAS -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Inumpy/core/include -Ibuild/src.linux-aarch64-3.6/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -c'
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/alloc.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/arrayobject.c
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/multiarray/arraytypes.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/array_assign.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/array_assign_scalar.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/array_assign_array.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/buffer.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/calculation.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/compiled_base.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/common.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/convert.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/convert_datatype.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/conversion_utils.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/ctors.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/datetime.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/datetime_strings.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/datetime_busday.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/datetime_busdaycal.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/descriptor.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/dtype_transfer.c
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/multiarray/einsum.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/flagsobject.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/getset.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/hashdescr.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/item_selection.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/iterators.c
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/multiarray/lowlevel_strided_loops.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/mapping.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/methods.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/multiarraymodule.c
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/multiarray/nditer_templ.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/nditer_api.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/nditer_constr.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/nditer_pywrap.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/number.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/numpymemoryview.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/numpyos.c
numpy/core/src/multiarray/numpyos.c:18:10: fatal error: xlocale.h: No such file or directory
#include <xlocale.h>
^~~~~~~~~~~
compilation terminated.
numpy/core/src/multiarray/numpyos.c:18:10: fatal error: xlocale.h: No such file or directory
#include <xlocale.h>
^~~~~~~~~~~
compilation terminated.
error: Command "aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DNO_ATLAS_INFO=1 -DHAVE_CBLAS -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Inumpy/core/include -Ibuild/src.linux-aarch64-3.6/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -c numpy/core/src/multiarray/numpyos.c -o build/temp.linux-aarch64-3.6/numpy/core/src/multiarray/numpyos.o" failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for numpy
Running setup.py clean for numpy
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-71zbi5c3/numpy_1640d39fefef4e5ea12ab4cbebf94846/setup.py'"'"'; __file__='"'"'/tmp/pip-install-71zbi5c3/numpy_1640d39fefef4e5ea12ab4cbebf94846/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
cwd: /tmp/pip-install-71zbi5c3/numpy_1640d39fefef4e5ea12ab4cbebf94846
Complete output (10 lines):
Running from numpy source directory.
`setup.py clean` is not supported, use one of the following instead:
- `git clean -xdf` (cleans all files)
- `git clean -Xdf` (cleans all versioned files, doesn't touch
files that aren't checked into the git repo)
Add `--force` to your command to use it anyway if you must (unsupported).
----------------------------------------
ERROR: Failed cleaning build dir for numpy
Failed to build numpy
Installing collected packages: pkgconfig, numpy, Cython
Running setup.py install for numpy: started
Running setup.py install for numpy: still running...
Running setup.py install for numpy: still running...
Running setup.py install for numpy: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-71zbi5c3/numpy_1640d39fefef4e5ea12ab4cbebf94846/setup.py'"'"'; __file__='"'"'/tmp/pip-install-71zbi5c3/numpy_1640d39fefef4e5ea12ab4cbebf94846/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-73mbwrif/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-jkk90jg1/normal --compile --install-headers /tmp/pip-build-env-jkk90jg1/normal/include/python3.6m/numpy
cwd: /tmp/pip-install-71zbi5c3/numpy_1640d39fefef4e5ea12ab4cbebf94846/
Complete output (288 lines):
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 ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
NOT AVAILABLE
blis_info:
libraries blis not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
NOT AVAILABLE
openblas_info:
libraries openblas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
NOT AVAILABLE
atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
libraries tatlas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
NOT AVAILABLE
atlas_3_10_blas_info:
libraries satlas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
NOT AVAILABLE
/tmp/pip-install-71zbi5c3/numpy_1640d39fefef4e5ea12ab4cbebf94846/numpy/distutils/system_info.py:572: UserWarning:
Atlas (http://math-atlas.sourceforge.net/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [atlas]) or by setting
the ATLAS environment variable.
self.calc_info()
blas_info:
customize UnixCCompiler
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
creating /tmp/tmpv955b1hl/tmp
creating /tmp/tmpv955b1hl/tmp/tmpv955b1hl
compile options: '-I/usr/local/include -I/usr/include -c'
aarch64-linux-gnu-gcc: /tmp/tmpv955b1hl/source.c
aarch64-linux-gnu-gcc -pthread /tmp/tmpv955b1hl/tmp/tmpv955b1hl/source.o -lcblas -o /tmp/tmpv955b1hl/a.out
/usr/bin/ld: cannot find -lcblas
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find -lcblas
collect2: error: ld returned 1 exit status
aarch64-linux-gnu-gcc -pthread /tmp/tmpv955b1hl/tmp/tmpv955b1hl/source.o -lblas -o /tmp/tmpv955b1hl/a.out
FOUND:
libraries = ['blas', 'blas']
library_dirs = ['/usr/lib/aarch64-linux-gnu']
language = c
define_macros = [('HAVE_CBLAS', None)]
FOUND:
define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)]
libraries = ['blas', 'blas']
library_dirs = ['/usr/lib/aarch64-linux-gnu']
language = c
/bin/sh: 1: svnversion: not found
non-existing path in 'numpy/distutils': 'site.cfg'
/bin/sh: 1: svnversion: not found
F2PY Version 2
lapack_opt_info:
lapack_mkl_info:
libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
NOT AVAILABLE
openblas_lapack_info:
libraries openblas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
NOT AVAILABLE
atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
libraries tatlas,tatlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries tatlas,tatlas not found in /usr/lib
libraries lapack_atlas not found in /usr/lib
libraries tatlas,tatlas not found in /usr/lib/aarch64-linux-gnu
libraries lapack_atlas not found in /usr/lib/aarch64-linux-gnu
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
NOT AVAILABLE
atlas_3_10_info:
libraries satlas,satlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries satlas,satlas not found in /usr/lib
libraries lapack_atlas not found in /usr/lib
libraries satlas,satlas not found in /usr/lib/aarch64-linux-gnu
libraries lapack_atlas not found in /usr/lib/aarch64-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 /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries ptf77blas,ptcblas,atlas not found in /usr/lib
libraries lapack_atlas not found in /usr/lib
libraries ptf77blas,ptcblas,atlas not found in /usr/lib/aarch64-linux-gnu
libraries lapack_atlas not found in /usr/lib/aarch64-linux-gnu
<class 'numpy.distutils.system_info.atlas_threads_info'>
NOT AVAILABLE
atlas_info:
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 /usr/lib
libraries lapack_atlas not found in /usr/lib
libraries f77blas,cblas,atlas not found in /usr/lib/aarch64-linux-gnu
libraries lapack_atlas not found in /usr/lib/aarch64-linux-gnu
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
lapack_info:
FOUND:
libraries = ['lapack', 'lapack']
library_dirs = ['/usr/lib/aarch64-linux-gnu']
language = f77
FOUND:
define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)]
libraries = ['lapack', 'lapack', 'blas', 'blas']
library_dirs = ['/usr/lib/aarch64-linux-gnu']
language = c
/usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
running install
/usr/local/lib/python3.6/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
building library "npymath" sources
customize Gnu95FCompiler
Found executable /usr/bin/gfortran
customize Gnu95FCompiler
customize Gnu95FCompiler using config
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
aarch64-linux-gnu-gcc -pthread _configtest.o -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [-Wbuiltin-declaration-mismatch]
int exp (void);
aarch64-linux-gnu-gcc -pthread _configtest.o -o _configtest
_configtest.o: In function `main':
/tmp/pip-install-71zbi5c3/numpy_1640d39fefef4e5ea12ab4cbebf94846/_configtest.c:6: undefined reference to `exp'
collect2: error: ld returned 1 exit status
_configtest.o: In function `main':
/tmp/pip-install-71zbi5c3/numpy_1640d39fefef4e5ea12ab4cbebf94846/_configtest.c:6: undefined reference to `exp'
collect2: error: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -c'
aarch64-linux-gnu-gcc: _configtest.c
_configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [-Wbuiltin-declaration-mismatch]
int exp (void);
aarch64-linux-gnu-gcc -pthread _configtest.o -lm -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
building library "npysort" sources
adding 'build/src.linux-aarch64-3.6/numpy/core/src/private' to include_dirs.
None - nothing done with h_files = ['build/src.linux-aarch64-3.6/numpy/core/src/private/npy_partition.h', 'build/src.linux-aarch64-3.6/numpy/core/src/private/npy_binsearch.h']
building extension "numpy.core._dummy" sources
adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h' to sources.
adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h' to sources.
executing numpy/core/code_generators/generate_numpy_api.py
adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/__multiarray_api.h' to sources.
numpy.core - nothing done with h_files = ['build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/__multiarray_api.h']
building extension "numpy.core.multiarray" sources
adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h' to sources.
adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h' to sources.
executing numpy/core/code_generators/generate_numpy_api.py
adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/__multiarray_api.h' to sources.
adding 'build/src.linux-aarch64-3.6/numpy/core/src/private' to include_dirs.
numpy.core - nothing done with h_files = ['build/src.linux-aarch64-3.6/numpy/core/src/private/templ_common.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/__multiarray_api.h']
building extension "numpy.core.umath" sources
adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h' to sources.
adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h' to sources.
executing numpy/core/code_generators/generate_ufunc_api.py
adding 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/__ufunc_api.h' to sources.
adding 'build/src.linux-aarch64-3.6/numpy/core/src/umath' to include_dirs.
numpy.core - nothing done with h_files = ['build/src.linux-aarch64-3.6/numpy/core/src/umath/funcs.inc', 'build/src.linux-aarch64-3.6/numpy/core/src/umath/simd.inc', 'build/src.linux-aarch64-3.6/numpy/core/src/umath/loops.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/config.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/_numpyconfig.h', 'build/src.linux-aarch64-3.6/numpy/core/include/numpy/__ufunc_api.h']
building extension "numpy.core.umath_tests" sources
building extension "numpy.core.test_rational" sources
building extension "numpy.core.struct_ufunc_test" sources
building extension "numpy.core.multiarray_tests" sources
building extension "numpy.core.operand_flag_tests" sources
building extension "numpy.fft.fftpack_lite" sources
building extension "numpy.linalg.lapack_lite" sources
adding 'numpy/linalg/lapack_lite/python_xerbla.c' to sources.
building extension "numpy.linalg._umath_linalg" sources
adding 'numpy/linalg/lapack_lite/python_xerbla.c' to sources.
building extension "numpy.random.mtrand" sources
building data_files sources
build_src: building npy-pkg config files
running build_py
copying numpy/version.py -> build/lib.linux-aarch64-3.6/numpy
copying build/src.linux-aarch64-3.6/numpy/__config__.py -> build/lib.linux-aarch64-3.6/numpy
copying build/src.linux-aarch64-3.6/numpy/distutils/__config__.py -> build/lib.linux-aarch64-3.6/numpy/distutils
running build_clib
customize UnixCCompiler
customize UnixCCompiler using build_clib
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building 'numpy.core.multiarray' extension
compiling C sources
C compiler: aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
compile options: '-DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DNO_ATLAS_INFO=1 -DHAVE_CBLAS -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Inumpy/core/include -Ibuild/src.linux-aarch64-3.6/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -c'
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/alloc.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/arrayobject.c
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/multiarray/arraytypes.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/array_assign.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/array_assign_scalar.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/array_assign_array.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/buffer.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/calculation.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/compiled_base.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/common.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/convert.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/convert_datatype.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/conversion_utils.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/ctors.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/datetime.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/datetime_strings.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/datetime_busday.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/datetime_busdaycal.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/descriptor.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/dtype_transfer.c
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/multiarray/einsum.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/flagsobject.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/getset.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/hashdescr.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/item_selection.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/iterators.c
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/multiarray/lowlevel_strided_loops.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/mapping.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/methods.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/multiarraymodule.c
aarch64-linux-gnu-gcc: build/src.linux-aarch64-3.6/numpy/core/src/multiarray/nditer_templ.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/nditer_api.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/nditer_constr.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/nditer_pywrap.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/number.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/numpymemoryview.c
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/numpyos.c
numpy/core/src/multiarray/numpyos.c:18:10: fatal error: xlocale.h: No such file or directory
#include <xlocale.h>
^~~~~~~~~~~
compilation terminated.
numpy/core/src/multiarray/numpyos.c:18:10: fatal error: xlocale.h: No such file or directory
#include <xlocale.h>
^~~~~~~~~~~
compilation terminated.
error: Command "aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DNO_ATLAS_INFO=1 -DHAVE_CBLAS -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Inumpy/core/include -Ibuild/src.linux-aarch64-3.6/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.6m -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -Ibuild/src.linux-aarch64-3.6/numpy/core/src/private -c numpy/core/src/multiarray/numpyos.c -o build/temp.linux-aarch64-3.6/numpy/core/src/multiarray/numpyos.o" failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-71zbi5c3/numpy_1640d39fefef4e5ea12ab4cbebf94846/setup.py'"'"'; __file__='"'"'/tmp/pip-install-71zbi5c3/numpy_1640d39fefef4e5ea12ab4cbebf94846/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-73mbwrif/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-jkk90jg1/normal --compile --install-headers /tmp/pip-build-env-jkk90jg1/normal/include/python3.6m/numpy Check the logs for full command output.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/a7/81/20d5d994c91ed8347efda90d32c396ea28254fd8eb9e071e28ee5700ffd5/h5py-3.1.0.tar.gz#sha256=1e2516f190652beedcb8c7acfa1c6fa92d99b42331cbef5e5c7ec2d65b0fc3c2 (from https://pypi.org/simple/h5py/) (requires-python:>=3.6). Command errored out with exit status 1: /usr/bin/python3 /usr/local/lib/python3.6/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-jkk90jg1/normal --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v461 -- 'Cython>=0.29.14; python_version >= "3.8"' 'numpy==1.14.5; python_version == "3.7"' pkgconfig 'Cython>=0.29; python_version < "3.8"' 'numpy==1.19.3; python_version >= "3.9"' 'numpy==1.17.5; python_version == "3.8"' 'numpy==1.12; python_version == "3.6"' Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement h5py~=3.1.0 (from tensorflow) (from versions: 2.2.1, 2.3.0b1, 2.3.0, 2.3.1, 2.4.0b1, 2.4.0, 2.5.0, 2.6.0, 2.7.0rc2, 2.7.0, 2.7.1, 2.8.0rc1, 2.8.0, 2.9.0rc1, 2.9.0, 2.10.0, 3.0.0rc1, 3.0.0, 3.1.0)
ERROR: No matching distribution found for h5py~=3.1.0
this happened
tried many things but they didn’t work :c
send me a working link or some solution plz
Please apply the below command and try it again:
$ sudo ln -s /usr/include/locale.h /usr/include/xlocale.h
Thanks.
i tried. error changed
MYUSERNAME@MYUSERNAME-jetson:~/FOLDERNAME$ sudo pip3 install --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v461 tensorflow==2.7.0+nv22.01
WARNING: The directory '/home/choidonghun/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
Looking in indexes: https://pypi.org/simple, https://developer.download.nvidia.com/compute/redist/jp/v461
Collecting tensorflow==2.7.0+nv22.01
Downloading https://developer.download.nvidia.com/compute/redist/jp/v461/tensorflow/tensorflow-2.7.0%2Bnv22.1-cp36-cp36m-linux_aarch64.whl (353.7 MB)
|████████████████████████████████| 353.7 MB 20.4 MB/s
Collecting astunparse~=1.6.3
Downloading astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
Collecting h5py~=3.1.0
Downloading h5py-3.1.0.tar.gz (371 kB)
|████████████████████████████████| 371 kB 12.0 MB/s
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /usr/local/lib/python3.6/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-hwubyhfr/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v461 -- setuptools wheel
cwd: None
Complete output (35 lines):
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.6/dist-packages/pip/__main__.py", line 27, in <module>
"ignore", category=DeprecationWarning, module=".*packaging\\.version"
File "/usr/lib/python3.6/warnings.py", line 131, in filterwarnings
import re
File "/usr/lib/python3.6/re.py", line 142, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 62, in apport_excepthook
if not enabled():
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 24, in enabled
import re
File "/usr/lib/python3.6/re.py", line 142, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
Original exception was:
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.6/dist-packages/pip/__main__.py", line 27, in <module>
"ignore", category=DeprecationWarning, module=".*packaging\\.version"
File "/usr/lib/python3.6/warnings.py", line 131, in filterwarnings
import re
File "/usr/lib/python3.6/re.py", line 142, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/a7/81/20d5d994c91ed8347efda90d32c396ea28254fd8eb9e071e28ee5700ffd5/h5py-3.1.0.tar.gz#sha256=1e2516f190652beedcb8c7acfa1c6fa92d99b42331cbef5e5c7ec2d65b0fc3c2 (from https://pypi.org/simple/h5py/) (requires-python:>=3.6). Command errored out with exit status 1: /usr/bin/python3 /usr/local/lib/python3.6/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-hwubyhfr/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v461 -- setuptools wheel Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement h5py~=3.1.0 (from tensorflow) (from versions: 2.2.1, 2.3.0b1, 2.3.0, 2.3.1, 2.4.0b1, 2.4.0, 2.5.0, 2.6.0, 2.7.0rc2, 2.7.0, 2.7.1, 2.8.0rc1, 2.8.0, 2.9.0rc1, 2.9.0, 2.10.0, 3.0.0rc1, 3.0.0, 3.1.0)
ERROR: No matching distribution found for h5py~=3.1.0
I also tried
pip3 install enum
result
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Defaulting to user installation because normal site-packages is not writeable
Collecting enum
Downloading enum-0.4.7.tar.gz (20 kB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0csocd_t/enum_a67b1c5c643c4032892b79b3f7f1cebd/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0csocd_t/enum_a67b1c5c643c4032892b79b3f7f1cebd/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-lrtny7sn
cwd: /tmp/pip-install-0csocd_t/enum_a67b1c5c643c4032892b79b3f7f1cebd/
Complete output (29 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 3, in <module>
from fnmatch import fnmatchcase
File "/usr/lib/python3.6/fnmatch.py", line 14, in <module>
import re
File "/usr/lib/python3.6/re.py", line 142, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 62, in apport_excepthook
if not enabled():
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 24, in enabled
import re
File "/usr/lib/python3.6/re.py", line 142, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
Original exception was:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 3, in <module>
from fnmatch import fnmatchcase
File "/usr/lib/python3.6/fnmatch.py", line 14, in <module>
import re
File "/usr/lib/python3.6/re.py", line 142, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/02/a0/32e1d5a21b703f600183e205aafc6773577e16429af5ad3c3f9b956b07ca/enum-0.4.7.tar.gz#sha256=8c7cf3587eda51008bcc1eed99ea2c331ccd265c231dbaa95ec5258d3dc03100 (from https://pypi.org/simple/enum/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading enum-0.4.6.tar.gz (20 kB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0csocd_t/enum_2197d9bd2ed84158ac562ac4b79f532a/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0csocd_t/enum_2197d9bd2ed84158ac562ac4b79f532a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-r1zg6far
cwd: /tmp/pip-install-0csocd_t/enum_2197d9bd2ed84158ac562ac4b79f532a/
Complete output (29 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 3, in <module>
from fnmatch import fnmatchcase
File "/usr/lib/python3.6/fnmatch.py", line 14, in <module>
import re
File "/usr/lib/python3.6/re.py", line 142, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 62, in apport_excepthook
if not enabled():
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 24, in enabled
import re
File "/usr/lib/python3.6/re.py", line 142, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
Original exception was:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 3, in <module>
from fnmatch import fnmatchcase
File "/usr/lib/python3.6/fnmatch.py", line 14, in <module>
import re
File "/usr/lib/python3.6/re.py", line 142, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/0c/4e/1ea357e7783c756bb579333c1e4a026fb331371ee771f616ffedc781e531/enum-0.4.6.tar.gz#sha256=54e78526b166982b36884613f35a76d9a6711c49810d3ec1a05b10c9b31f938e (from https://pypi.org/simple/enum/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading enum-0.4.5.tar.gz (20 kB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0csocd_t/enum_129f37ac5a8142779078709f1f7022ad/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0csocd_t/enum_129f37ac5a8142779078709f1f7022ad/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-vktesp3a
cwd: /tmp/pip-install-0csocd_t/enum_129f37ac5a8142779078709f1f7022ad/
Complete output (29 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 3, in <module>
from fnmatch import fnmatchcase
File "/usr/lib/python3.6/fnmatch.py", line 14, in <module>
import re
File "/usr/lib/python3.6/re.py", line 142, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 62, in apport_excepthook
if not enabled():
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 24, in enabled
import re
File "/usr/lib/python3.6/re.py", line 142, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
Original exception was:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 3, in <module>
from fnmatch import fnmatchcase
File "/usr/lib/python3.6/fnmatch.py", line 14, in <module>
import re
File "/usr/lib/python3.6/re.py", line 142, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/8b/e8/9ab0fa69b64b96d6af51c9a148047afdadad80e76a4aa364adc800537a12/enum-0.4.5.tar.gz#sha256=3f6fa69eda5ff2b6242414ea6a6770f2a01cab3417cdceaeac1e51af8dfbab80 (from https://pypi.org/simple/enum/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading enum-0.4.4.tar.gz (18 kB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0csocd_t/enum_46930fe181134fbaaab240303eda6b02/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0csocd_t/enum_46930fe181134fbaaab240303eda6b02/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-cnnlv_p7
cwd: /tmp/pip-install-0csocd_t/enum_46930fe181134fbaaab240303eda6b02/
Complete output (29 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 3, in <module>
from fnmatch import fnmatchcase
File "/usr/lib/python3.6/fnmatch.py", line 14, in <module>
import re
File "/usr/lib/python3.6/re.py", line 142, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 62, in apport_excepthook
if not enabled():
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 24, in enabled
import re
File "/usr/lib/python3.6/re.py", line 142, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
Original exception was:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 3, in <module>
from fnmatch import fnmatchcase
File "/usr/lib/python3.6/fnmatch.py", line 14, in <module>
import re
File "/usr/lib/python3.6/re.py", line 142, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/80/8e/5e00e5378d5ad8ef08a5092be5b44887fb12f463d663c6d0901e38b0ef88/enum-0.4.4.tar.gz#sha256=9bdfacf543baf2350df7613eb37f598a802f346985ca0dc1548be6494140fdff (from https://pypi.org/simple/enum/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading enum-0.4.3.tar.gz (20 kB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0csocd_t/enum_4c8fdb1e01d34821bbaff2dd72de1a13/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0csocd_t/enum_4c8fdb1e01d34821bbaff2dd72de1a13/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-8thbep5a
cwd: /tmp/pip-install-0csocd_t/enum_4c8fdb1e01d34821bbaff2dd72de1a13/
Complete output (38 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 3, in <module>
from fnmatch import fnmatchcase
File "/usr/lib/python3.6/fnmatch.py", line 14, in <module>
import re
File "/usr/lib/python3.6/re.py", line 122, in <module>
import enum
File "/tmp/pip-install-0csocd_t/enum_4c8fdb1e01d34821bbaff2dd72de1a13/enum.py", line 66
raise NotImplementedError, \
SyntaxError: invalid syntax
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 62, in apport_excepthook
if not enabled():
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 24, in enabled
import re
File "/usr/lib/python3.6/re.py", line 122, in <module>
import enum
File "/tmp/pip-install-0csocd_t/enum_4c8fdb1e01d34821bbaff2dd72de1a13/enum.py", line 66
raise NotImplementedError, \
SyntaxError: invalid syntax
Original exception was:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 3, in <module>
from fnmatch import fnmatchcase
File "/usr/lib/python3.6/fnmatch.py", line 14, in <module>
import re
File "/usr/lib/python3.6/re.py", line 122, in <module>
import enum
File "/tmp/pip-install-0csocd_t/enum_4c8fdb1e01d34821bbaff2dd72de1a13/enum.py", line 66
raise NotImplementedError, \
SyntaxError: invalid syntax
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/b1/d2/683c57f678721b90971fcf464241acd50067ea1e5f1eae2efac0c0bc9aab/enum-0.4.3.tar.gz#sha256=04349209897f2efd009ba8a66586c510b5195f69397284f2b2d99cb95a9e411b (from https://pypi.org/simple/enum/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading enum-0.4.2.tar.gz (20 kB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0csocd_t/enum_f1bf761f5602435d84e08d654006a646/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0csocd_t/enum_f1bf761f5602435d84e08d654006a646/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-m8o2on_2
cwd: /tmp/pip-install-0csocd_t/enum_f1bf761f5602435d84e08d654006a646/
Complete output (38 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 3, in <module>
from fnmatch import fnmatchcase
File "/usr/lib/python3.6/fnmatch.py", line 14, in <module>
import re
File "/usr/lib/python3.6/re.py", line 122, in <module>
import enum
File "/tmp/pip-install-0csocd_t/enum_f1bf761f5602435d84e08d654006a646/enum.py", line 66
raise NotImplementedError, \
SyntaxError: invalid syntax
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 62, in apport_excepthook
if not enabled():
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 24, in enabled
import re
File "/usr/lib/python3.6/re.py", line 122, in <module>
import enum
File "/tmp/pip-install-0csocd_t/enum_f1bf761f5602435d84e08d654006a646/enum.py", line 66
raise NotImplementedError, \
SyntaxError: invalid syntax
Original exception was:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 3, in <module>
from fnmatch import fnmatchcase
File "/usr/lib/python3.6/fnmatch.py", line 14, in <module>
import re
File "/usr/lib/python3.6/re.py", line 122, in <module>
import enum
File "/tmp/pip-install-0csocd_t/enum_f1bf761f5602435d84e08d654006a646/enum.py", line 66
raise NotImplementedError, \
SyntaxError: invalid syntax
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/fd/4c/bcd8d97668916d1514c6b9c7a4abda12254da43e278838b635feeefed6bb/enum-0.4.2.tar.gz#sha256=2e0ee95a88774b9a74f92875149c6e57573fe9da412b27750df3ca81987f4f12 (from https://pypi.org/simple/enum/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading enum-0.4.1.tar.gz (19 kB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0csocd_t/enum_c79235fe4dae463591c86a76e1d3bb34/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0csocd_t/enum_c79235fe4dae463591c86a76e1d3bb34/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-efkwnkp7
cwd: /tmp/pip-install-0csocd_t/enum_c79235fe4dae463591c86a76e1d3bb34/
Complete output (38 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 3, in <module>
from fnmatch import fnmatchcase
File "/usr/lib/python3.6/fnmatch.py", line 14, in <module>
import re
File "/usr/lib/python3.6/re.py", line 122, in <module>
import enum
File "/tmp/pip-install-0csocd_t/enum_c79235fe4dae463591c86a76e1d3bb34/enum.py", line 66
raise NotImplementedError, \
SyntaxError: invalid syntax
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 62, in apport_excepthook
if not enabled():
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 24, in enabled
import re
File "/usr/lib/python3.6/re.py", line 122, in <module>
import enum
File "/tmp/pip-install-0csocd_t/enum_c79235fe4dae463591c86a76e1d3bb34/enum.py", line 66
raise NotImplementedError, \
SyntaxError: invalid syntax
Original exception was:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 3, in <module>
from fnmatch import fnmatchcase
File "/usr/lib/python3.6/fnmatch.py", line 14, in <module>
import re
File "/usr/lib/python3.6/re.py", line 122, in <module>
import enum
File "/tmp/pip-install-0csocd_t/enum_c79235fe4dae463591c86a76e1d3bb34/enum.py", line 66
raise NotImplementedError, \
SyntaxError: invalid syntax
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/6e/f4/7bf1dcb67fba9356da534820fb7e1a5d5a0b0ba7751dc13cbf0719ccb690/enum-0.4.1.tar.gz#sha256=679d9eead5cb3c5e59163375c58eadc85b33ad3cf90caae7ac596d039338ba3b (from https://pypi.org/simple/enum/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading enum-0.4.tar.gz (19 kB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0csocd_t/enum_6ce2e8516a264ad9b582030581f4140f/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0csocd_t/enum_6ce2e8516a264ad9b582030581f4140f/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-i9k0unwu
cwd: /tmp/pip-install-0csocd_t/enum_6ce2e8516a264ad9b582030581f4140f/
Complete output (38 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 3, in <module>
from fnmatch import fnmatchcase
File "/usr/lib/python3.6/fnmatch.py", line 14, in <module>
import re
File "/usr/lib/python3.6/re.py", line 122, in <module>
import enum
File "/tmp/pip-install-0csocd_t/enum_6ce2e8516a264ad9b582030581f4140f/enum.py", line 66
raise NotImplementedError, \
SyntaxError: invalid syntax
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 62, in apport_excepthook
if not enabled():
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 24, in enabled
import re
File "/usr/lib/python3.6/re.py", line 122, in <module>
import enum
File "/tmp/pip-install-0csocd_t/enum_6ce2e8516a264ad9b582030581f4140f/enum.py", line 66
raise NotImplementedError, \
SyntaxError: invalid syntax
Original exception was:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 3, in <module>
from fnmatch import fnmatchcase
File "/usr/lib/python3.6/fnmatch.py", line 14, in <module>
import re
File "/usr/lib/python3.6/re.py", line 122, in <module>
import enum
File "/tmp/pip-install-0csocd_t/enum_6ce2e8516a264ad9b582030581f4140f/enum.py", line 66
raise NotImplementedError, \
SyntaxError: invalid syntax
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/3a/92/de9217b21961433d49cce0e2ef076e4ca29636a57313847670cb4a3fb779/enum-0.4.tar.gz#sha256=0c4bff0403b9cd95ec88399e1ef439bc49c123d9650124aaa02e250a9b7d12c4 (from https://pypi.org/simple/enum/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading enum-0.3.1.tar.gz (19 kB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0csocd_t/enum_447dc191982c48b6b269124840af9735/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0csocd_t/enum_447dc191982c48b6b269124840af9735/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-n0isyf8a
cwd: /tmp/pip-install-0csocd_t/enum_447dc191982c48b6b269124840af9735/
Complete output (38 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 3, in <module>
from fnmatch import fnmatchcase
File "/usr/lib/python3.6/fnmatch.py", line 14, in <module>
import re
File "/usr/lib/python3.6/re.py", line 122, in <module>
import enum
File "/tmp/pip-install-0csocd_t/enum_447dc191982c48b6b269124840af9735/enum.py", line 32
raise NotImplementedError, \
SyntaxError: invalid syntax
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 62, in apport_excepthook
if not enabled():
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 24, in enabled
import re
File "/usr/lib/python3.6/re.py", line 122, in <module>
import enum
File "/tmp/pip-install-0csocd_t/enum_447dc191982c48b6b269124840af9735/enum.py", line 32
raise NotImplementedError, \
SyntaxError: invalid syntax
Original exception was:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 3, in <module>
from fnmatch import fnmatchcase
File "/usr/lib/python3.6/fnmatch.py", line 14, in <module>
import re
File "/usr/lib/python3.6/re.py", line 122, in <module>
import enum
File "/tmp/pip-install-0csocd_t/enum_447dc191982c48b6b269124840af9735/enum.py", line 32
raise NotImplementedError, \
SyntaxError: invalid syntax
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/08/40/cc51c52ade9e5f191342ab0e825d768dc7ea81bbf90ffbcf3571335133e4/enum-0.3.1.tar.gz#sha256=df02acb036cf12320ae3d8ead195f0ce64449ee5fcab85c314a8634cac573969 (from https://pypi.org/simple/enum/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading enum-0.3.tar.gz (5.3 kB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0csocd_t/enum_54c4380c9bd740158e0d7be02b8d0f86/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0csocd_t/enum_54c4380c9bd740158e0d7be02b8d0f86/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-l9c1r0gu
cwd: /tmp/pip-install-0csocd_t/enum_54c4380c9bd740158e0d7be02b8d0f86/
Complete output (38 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 3, in <module>
from fnmatch import fnmatchcase
File "/usr/lib/python3.6/fnmatch.py", line 14, in <module>
import re
File "/usr/lib/python3.6/re.py", line 122, in <module>
import enum
File "/tmp/pip-install-0csocd_t/enum_54c4380c9bd740158e0d7be02b8d0f86/enum.py", line 21
raise NotImplementedError, \
SyntaxError: invalid syntax
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 62, in apport_excepthook
if not enabled():
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 24, in enabled
import re
File "/usr/lib/python3.6/re.py", line 122, in <module>
import enum
File "/tmp/pip-install-0csocd_t/enum_54c4380c9bd740158e0d7be02b8d0f86/enum.py", line 21
raise NotImplementedError, \
SyntaxError: invalid syntax
Original exception was:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 3, in <module>
from fnmatch import fnmatchcase
File "/usr/lib/python3.6/fnmatch.py", line 14, in <module>
import re
File "/usr/lib/python3.6/re.py", line 122, in <module>
import enum
File "/tmp/pip-install-0csocd_t/enum_54c4380c9bd740158e0d7be02b8d0f86/enum.py", line 21
raise NotImplementedError, \
SyntaxError: invalid syntax
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/53/10/9798036cb407d1365a2bac6e5f3b516c14b9cedcad766aa7c4042212dbce/enum-0.3.tar.gz#sha256=5030e1725e8bec16450cd657aa508e430f2cd4dabb1ca57191ee0578d0f62e96 (from https://pypi.org/simple/enum/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading enum-0.2.tar.gz (4.9 kB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0csocd_t/enum_cd224cfe27b2470aa14309d97a80a503/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0csocd_t/enum_cd224cfe27b2470aa14309d97a80a503/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-qtt2z9ci
cwd: /tmp/pip-install-0csocd_t/enum_cd224cfe27b2470aa14309d97a80a503/
Complete output (38 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 3, in <module>
from fnmatch import fnmatchcase
File "/usr/lib/python3.6/fnmatch.py", line 14, in <module>
import re
File "/usr/lib/python3.6/re.py", line 122, in <module>
import enum
File "/tmp/pip-install-0csocd_t/enum_cd224cfe27b2470aa14309d97a80a503/enum.py", line 21
raise NotImplementedError, \
SyntaxError: invalid syntax
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 62, in apport_excepthook
if not enabled():
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 24, in enabled
import re
File "/usr/lib/python3.6/re.py", line 122, in <module>
import enum
File "/tmp/pip-install-0csocd_t/enum_cd224cfe27b2470aa14309d97a80a503/enum.py", line 21
raise NotImplementedError, \
SyntaxError: invalid syntax
Original exception was:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 3, in <module>
from fnmatch import fnmatchcase
File "/usr/lib/python3.6/fnmatch.py", line 14, in <module>
import re
File "/usr/lib/python3.6/re.py", line 122, in <module>
import enum
File "/tmp/pip-install-0csocd_t/enum_cd224cfe27b2470aa14309d97a80a503/enum.py", line 21
raise NotImplementedError, \
SyntaxError: invalid syntax
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/38/44/8fa67f83724931ca76906b3db62df82cd1afcf9a873a85619da4ac2c96f7/enum-0.2.tar.gz#sha256=cbb768b8af610491af1e2bcd261298dc32c70aa8ab7ab7506cd21b0f187fb882 (from https://pypi.org/simple/enum/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading enum-0.1.1.tar.gz (4.9 kB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0csocd_t/enum_79e5bbaea6a5408db7d7282635e016c2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0csocd_t/enum_79e5bbaea6a5408db7d7282635e016c2/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-iot0rj60
cwd: /tmp/pip-install-0csocd_t/enum_79e5bbaea6a5408db7d7282635e016c2/
Complete output (38 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 3, in <module>
from fnmatch import fnmatchcase
File "/usr/lib/python3.6/fnmatch.py", line 14, in <module>
import re
File "/usr/lib/python3.6/re.py", line 122, in <module>
import enum
File "/tmp/pip-install-0csocd_t/enum_79e5bbaea6a5408db7d7282635e016c2/enum.py", line 21
raise NotImplementedError, \
SyntaxError: invalid syntax
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 62, in apport_excepthook
if not enabled():
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 24, in enabled
import re
File "/usr/lib/python3.6/re.py", line 122, in <module>
import enum
File "/tmp/pip-install-0csocd_t/enum_79e5bbaea6a5408db7d7282635e016c2/enum.py", line 21
raise NotImplementedError, \
SyntaxError: invalid syntax
Original exception was:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 3, in <module>
from fnmatch import fnmatchcase
File "/usr/lib/python3.6/fnmatch.py", line 14, in <module>
import re
File "/usr/lib/python3.6/re.py", line 122, in <module>
import enum
File "/tmp/pip-install-0csocd_t/enum_79e5bbaea6a5408db7d7282635e016c2/enum.py", line 21
raise NotImplementedError, \
SyntaxError: invalid syntax
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/5c/e2/630fc2ce1ce462260aaf5c6e3da496c00c2585bf57bf3852f753a9821ee7/enum-0.1.1.tar.gz#sha256=e6469b807ba4ba68d1823cc85faa5703cea0ffb18220ff5df7e4f4395b3a6a29 (from https://pypi.org/simple/enum/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading enum-0.1.tar.gz (3.9 kB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0csocd_t/enum_a1bd79b213eb4d97b85c7bf147a9209e/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0csocd_t/enum_a1bd79b213eb4d97b85c7bf147a9209e/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-_k26s_tw
cwd: /tmp/pip-install-0csocd_t/enum_a1bd79b213eb4d97b85c7bf147a9209e/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-0csocd_t/enum_a1bd79b213eb4d97b85c7bf147a9209e/setup.py", line 15, in <module>
import ez_setup
ModuleNotFoundError: No module named 'ez_setup'
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/bb/65/0e9de2344b8285d62fe5853b159110cd349bc16333c5dfc0bc3c1dc047d5/enum-0.1.tar.gz#sha256=08089f638c278e8bd29bc68d87708da719bffd4bb176aa78b08b31dd029bf751 (from https://pypi.org/simple/enum/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement enum (from versions: 0.1, 0.1.1, 0.2, 0.3, 0.3.1, 0.4, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7)
ERROR: No matching distribution found for enum
The doc is tested for the latest software release (JetPack 5.x).
Could you try the installation command in the below topic?
We have verified it on JetPack 4.6.3 before.
Python 3.6+JetPack4.6.3
Official TensorFlow for Jetson Nano!
Thanks.
It actually worked. but i got another problem.
I tried basic mnist thing on it, but when i run the code by
python3 app.py
#inside of app.py
import tensorflow as tf
mnist = tf.keras.datasets.mnist
(x_train,y_train),(x_test,y_test) = mnist.load_data()
2023-02-08 16:49:23.198080: W tensorflow/stream_executor/platform/default/dso_loader.cc:65] Could not load dynamic library 'libcudart.so.10.2'; dlerror: libcudart.so.10.2: cannot open shared object file: No such file or directory
2023-02-08 16:49:23.198160: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
File "app.py", line 2, in <module>
mnist = tf.keras.datasets.mnist
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/util/lazy_loader.py", line 62, in __getattr__
module = self._load()
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/util/lazy_loader.py", line 45, in _load
module = importlib.import_module(self.__name__)
File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 941, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 941, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 941, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.6/dist-packages/keras/__init__.py", line 20, in <module>
from keras import distribute
File "/usr/local/lib/python3.6/dist-packages/keras/distribute/__init__.py", line 18, in <module>
from keras.distribute import sidecar_evaluator
File "/usr/local/lib/python3.6/dist-packages/keras/distribute/sidecar_evaluator.py", line 22, in <module>
from keras.optimizers.optimizer_experimental import (
File "/usr/local/lib/python3.6/dist-packages/keras/optimizers/__init__.py", line 26, in <module>
from keras.optimizers.legacy import adadelta as adadelta_legacy
File "/usr/local/lib/python3.6/dist-packages/keras/optimizers/legacy/adadelta.py", line 17, in <module>
from keras.optimizers.optimizer_v2 import adadelta
File "/usr/local/lib/python3.6/dist-packages/keras/optimizers/optimizer_v2/adadelta.py", line 21, in <module>
from keras.optimizers.optimizer_v2 import optimizer_v2
File "/usr/local/lib/python3.6/dist-packages/keras/optimizers/optimizer_v2/optimizer_v2.py", line 26, in <module>
from keras import initializers
File "/usr/local/lib/python3.6/dist-packages/keras/initializers/__init__.py", line 22, in <module>
from keras.initializers import initializers_v2
File "/usr/local/lib/python3.6/dist-packages/keras/initializers/initializers_v2.py", line 23, in <module>
from keras.dtensor import utils
File "/usr/local/lib/python3.6/dist-packages/keras/dtensor/__init__.py", line 22, in <module>
from tensorflow.compat.v2.experimental import dtensor as dtensor_api
ImportError: cannot import name 'dtensor'
this happened :c
still need help
!!! i fixed it by doing
pip3 uninstall keras
pip3 install keras==2.7.0
but i think now tf is not using gpu
the log of mnist test:
python3 app.py
2023-02-08 18:42:58.230286: W tensorflow/stream_executor/platform/default/dso_loader.cc:65] Could not load dynamic library 'libcudart.so.10.2'; dlerror: libcudart.so.10.2: cannot open shared object file: No such file or directory
2023-02-08 18:42:58.230363: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2023-02-08 18:43:07.374837: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1019] ARM64 does not support NUMA - returning NUMA node zero
2023-02-08 18:43:07.375216: W tensorflow/stream_executor/platform/default/dso_loader.cc:65] Could not load dynamic library 'libcudart.so.10.2'; dlerror: libcudart.so.10.2: cannot open shared object file: No such file or directory
2023-02-08 18:43:07.375545: W tensorflow/stream_executor/platform/default/dso_loader.cc:65] Could not load dynamic library 'libcublas.so.10'; dlerror: libcublas.so.10: cannot open shared object file: No such file or directory
2023-02-08 18:43:07.375880: W tensorflow/stream_executor/platform/default/dso_loader.cc:65] Could not load dynamic library 'libcublasLt.so.10'; dlerror: libcublasLt.so.10: cannot open shared object file: No such file or directory
2023-02-08 18:43:07.376196: W tensorflow/stream_executor/platform/default/dso_loader.cc:65] Could not load dynamic library 'libcufft.so.10'; dlerror: libcufft.so.10: cannot open shared object file: No such file or directory
2023-02-08 18:43:07.376463: W tensorflow/stream_executor/platform/default/dso_loader.cc:65] Could not load dynamic library 'libcurand.so.10'; dlerror: libcurand.so.10: cannot open shared object file: No such file or directory
2023-02-08 18:43:07.376751: W tensorflow/stream_executor/platform/default/dso_loader.cc:65] Could not load dynamic library 'libcusolver.so.10'; dlerror: libcusolver.so.10: cannot open shared object file: No such file or directory
2023-02-08 18:43:07.377029: W tensorflow/stream_executor/platform/default/dso_loader.cc:65] Could not load dynamic library 'libcusparse.so.10'; dlerror: libcusparse.so.10: cannot open shared object file: No such file or directory
2023-02-08 18:43:07.377334: W tensorflow/stream_executor/platform/default/dso_loader.cc:65] Could not load dynamic library 'libcudnn.so.8'; dlerror: libcudnn.so.8: cannot open shared object file: No such file or directory
2023-02-08 18:43:07.377405: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1850] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
2023-02-08 18:43:07.768256: W tensorflow/core/framework/cpu_allocator_impl.cc:82] Allocation of 188160000 exceeds 10% of free system memory.
Epoch 1/5
WARNING:tensorflow:AutoGraph could not transform <function Model.make_train_function.<locals>.train_function at 0x7f5c056d08> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output.
Cause: 'arguments' object has no attribute 'posonlyargs'
To silence this warning, decorate the function with @tf.autograph.experimental.do_not_convert