mistree icon indicating copy to clipboard operation
mistree copied to clipboard

Installation fails for Python 3.10 on M1

Open gunesmes opened this issue 2 years ago • 5 comments

I got the following error:

pip install mistree
Collecting mistree
  Using cached mistree-1.2.0.tar.gz (27 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy in /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages (from mistree) (1.22.3)
Requirement already satisfied: matplotlib in /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages (from mistree) (3.5.2)
Requirement already satisfied: scipy in /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages (from mistree) (1.8.0)
Requirement already satisfied: scikit-learn in /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages (from mistree) (1.1.1)
Requirement already satisfied: pyparsing>=2.2.1 in /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages (from matplotlib->mistree) (3.0.7)
Requirement already satisfied: pillow>=6.2.0 in /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages (from matplotlib->mistree) (8.4.0)
Requirement already satisfied: packaging>=20.0 in /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages (from matplotlib->mistree) (21.3)
Requirement already satisfied: python-dateutil>=2.7 in /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages (from matplotlib->mistree) (2.8.2)
Requirement already satisfied: kiwisolver>=1.0.1 in /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages (from matplotlib->mistree) (1.4.2)
Requirement already satisfied: fonttools>=4.22.0 in /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages (from matplotlib->mistree) (4.33.3)
Requirement already satisfied: cycler>=0.10 in /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages (from matplotlib->mistree) (0.11.0)
Requirement already satisfied: threadpoolctl>=2.0.0 in /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages (from scikit-learn->mistree) (3.1.0)
Requirement already satisfied: joblib>=1.0.0 in /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages (from scikit-learn->mistree) (1.1.0)
Requirement already satisfied: six>=1.5 in /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages (from python-dateutil>=2.7->matplotlib->mistree) (1.16.0)
Building wheels for collected packages: mistree
  Building wheel for mistree (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [221 lines of output]
      running bdist_wheel
      running build
      running config_cc
      INFO: unifing config_cc, config, build_clib, build_ext, build commands --compiler options
      running config_fc
      INFO: unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
      running build_src
      INFO: build_src
      INFO: building extension "mistree.levy_flight.utility_random_walk" sources
      INFO: f2py options: []
      INFO:   adding 'build/src.macosx-12.2-arm64-3.10/build/src.macosx-12.2-arm64-3.10/mistree/levy_flight/fortranobject.c' to sources.
      INFO:   adding 'build/src.macosx-12.2-arm64-3.10/build/src.macosx-12.2-arm64-3.10/mistree/levy_flight' to include_dirs.
      INFO: building extension "mistree.mst.utility_density" sources
      INFO: f2py options: []
      INFO:   adding 'build/src.macosx-12.2-arm64-3.10/build/src.macosx-12.2-arm64-3.10/mistree/mst/fortranobject.c' to sources.
      INFO:   adding 'build/src.macosx-12.2-arm64-3.10/build/src.macosx-12.2-arm64-3.10/mistree/mst' to include_dirs.
      INFO: building extension "mistree.mst.utility_mst" sources
      INFO: f2py options: []
      INFO:   adding 'build/src.macosx-12.2-arm64-3.10/build/src.macosx-12.2-arm64-3.10/mistree/mst/fortranobject.c' to sources.
      INFO:   adding 'build/src.macosx-12.2-arm64-3.10/build/src.macosx-12.2-arm64-3.10/mistree/mst' to include_dirs.
      INFO: build_src: building npy-pkg config files
      running build_py
      creating build/lib.macosx-12.2-arm64-3.10
      creating build/lib.macosx-12.2-arm64-3.10/mistree
      copying mistree/__init__.py -> build/lib.macosx-12.2-arm64-3.10/mistree
      creating build/lib.macosx-12.2-arm64-3.10/mistree/mst
      copying mistree/mst/tomo.py -> build/lib.macosx-12.2-arm64-3.10/mistree/mst
      copying mistree/mst/partition.py -> build/lib.macosx-12.2-arm64-3.10/mistree/mst
      copying mistree/mst/scale_cut.py -> build/lib.macosx-12.2-arm64-3.10/mistree/mst
      copying mistree/mst/branches.py -> build/lib.macosx-12.2-arm64-3.10/mistree/mst
      copying mistree/mst/hist_mst.py -> build/lib.macosx-12.2-arm64-3.10/mistree/mst
      copying mistree/mst/graph.py -> build/lib.macosx-12.2-arm64-3.10/mistree/mst
      copying mistree/mst/__init__.py -> build/lib.macosx-12.2-arm64-3.10/mistree/mst
      copying mistree/mst/density.py -> build/lib.macosx-12.2-arm64-3.10/mistree/mst
      copying mistree/mst/stats.py -> build/lib.macosx-12.2-arm64-3.10/mistree/mst
      copying mistree/mst/construct.py -> build/lib.macosx-12.2-arm64-3.10/mistree/mst
      copying mistree/mst/get_mst_class.py -> build/lib.macosx-12.2-arm64-3.10/mistree/mst
      copying mistree/mst/plot_mst.py -> build/lib.macosx-12.2-arm64-3.10/mistree/mst
      creating build/lib.macosx-12.2-arm64-3.10/mistree/coordinates
      copying mistree/coordinates/__init__.py -> build/lib.macosx-12.2-arm64-3.10/mistree/coordinates
      copying mistree/coordinates/coordinate_utility.py -> build/lib.macosx-12.2-arm64-3.10/mistree/coordinates
      creating build/lib.macosx-12.2-arm64-3.10/mistree/levy_flight
      copying mistree/levy_flight/__init__.py -> build/lib.macosx-12.2-arm64-3.10/mistree/levy_flight
      copying mistree/levy_flight/levy_flight.py -> build/lib.macosx-12.2-arm64-3.10/mistree/levy_flight
      running build_ext
      INFO: customize UnixCCompiler
      INFO: customize UnixCCompiler using build_ext
      INFO: CCompilerOpt.cc_test_flags[1021] : testing flags (-march=native)
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      creating /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpbdzci1cp/Users
      creating /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpbdzci1cp/Users/mesut
      creating /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpbdzci1cp/Users/mesut/.pyenv
      creating /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpbdzci1cp/Users/mesut/.pyenv/versions
      creating /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpbdzci1cp/Users/mesut/.pyenv/versions/3.10.2
      creating /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpbdzci1cp/Users/mesut/.pyenv/versions/3.10.2/lib
      creating /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpbdzci1cp/Users/mesut/.pyenv/versions/3.10.2/lib/python3.10
      creating /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpbdzci1cp/Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages
      creating /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpbdzci1cp/Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy
      creating /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpbdzci1cp/Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils
      creating /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpbdzci1cp/Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks
      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-march=native'
      WARN: CCompilerOpt.dist_test[590] : CCompilerOpt._dist_test_spawn[724] : Command (clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math -I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.c -o /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpbdzci1cp/Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpbdzci1cp/Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o.d -march=native) failed with exit status 1 output ->
      clang: error: the clang compiler does not support '-march=native'

      WARN: CCompilerOpt.cc_test_flags[1025] : testing failed
      INFO: CCompilerOpt.cc_test_flags[1021] : testing flags (-O3)
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-O3'
      INFO: CCompilerOpt.cc_test_flags[1021] : testing flags (-Werror=switch)
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-Werror=switch'
      INFO: CCompilerOpt.cc_test_flags[1021] : testing flags (-Werror)
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-Werror'
      WARN: CCompilerOpt.dist_test[590] : CCompilerOpt._dist_test_spawn[724] : Command (clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math -I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.c -o /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpbdzci1cp/Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpbdzci1cp/Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o.d -Werror) failed with exit status 1 output ->
      error: overriding currently unsupported use of floating point exceptions on this target [-Werror,-Wunsupported-floating-point-opt]
      1 error generated.

      WARN: CCompilerOpt.cc_test_flags[1025] : testing failed
      INFO: CCompilerOpt.__init__[1709] : check requested baseline
      INFO: CCompilerOpt.feature_test[1474] : testing feature 'NEON' with flags ()
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-Werror=switch'
      INFO: CCompilerOpt.feature_test[1474] : testing feature 'ASIMD' with flags ()
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-Werror=switch'
      INFO: CCompilerOpt.feature_test[1474] : testing feature 'NEON_FP16' with flags ()
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-Werror=switch'
      INFO: CCompilerOpt.feature_test[1474] : testing feature 'NEON_VFPV4' with flags ()
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-Werror=switch'
      INFO: CCompilerOpt.__init__[1718] : check requested dispatch-able features
      INFO: CCompilerOpt.cc_test_flags[1021] : testing flags (-march=armv8.2-a+fp16)
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-march=armv8.2-a+fp16'
      INFO: CCompilerOpt.feature_test[1474] : testing feature 'ASIMDHP' with flags (-march=armv8.2-a+fp16)
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-march=armv8.2-a+fp16 -Werror=switch'
      INFO: CCompilerOpt.cc_test_flags[1021] : testing flags (-march=armv8.2-a+fp16fml)
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-march=armv8.2-a+fp16fml'
      INFO: CCompilerOpt.feature_test[1474] : testing feature 'ASIMDFHM' with flags (-march=armv8.2-a+fp16+fp16fml)
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-march=armv8.2-a+fp16+fp16fml -Werror=switch'
      WARN: CCompilerOpt.dist_test[590] : CCompilerOpt._dist_test_spawn[724] : Command (clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math -I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c -o /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpbdzci1cp/Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.o -MMD -MF /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpbdzci1cp/Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.o.d -march=armv8.2-a+fp16+fp16fml -Werror=switch) failed with exit status 1 output ->
      warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
      /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c:13:35: error: implicit declaration of function 'vfmlal_low_u32' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
          int ret  = (int)vget_lane_f32(vfmlal_low_u32(vlf, vlhp, vlhp), 0);
                                        ^
      /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c:13:35: note: did you mean 'vfmlal_low_f16'?
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/include/arm_neon.h:43691:18: note: 'vfmlal_low_f16' declared here
      __ai float32x2_t vfmlal_low_f16(float32x2_t __p0, float16x4_t __p1, float16x4_t __p2) {
                       ^
      /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c:13:21: error: initializing 'float32x2_t' (vector of 2 'float32_t' values) with an expression of incompatible type 'int'
          int ret  = (int)vget_lane_f32(vfmlal_low_u32(vlf, vlhp, vlhp), 0);
                          ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/include/arm_neon.h:7977:15: note: expanded from macro 'vget_lane_f32'
        float32x2_t __s0 = __p0; \
                    ^      ~~~~
      /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c:14:36: error: implicit declaration of function 'vfmlslq_high_u32' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
              ret += (int)vgetq_lane_f32(vfmlslq_high_u32(vf, vhp, vhp), 0);
                                         ^
      /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c:14:36: note: did you mean 'vmlsl_high_u32'?
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/include/arm_neon.h:69448:17: note: 'vmlsl_high_u32' declared here
      __ai uint64x2_t vmlsl_high_u32(uint64x2_t __p0, uint32x4_t __p1, uint32x4_t __p2) {
                      ^
      /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c:14:21: error: initializing 'float32x4_t' (vector of 4 'float32_t' values) with an expression of incompatible type 'int'
              ret += (int)vgetq_lane_f32(vfmlslq_high_u32(vf, vhp, vhp), 0);
                          ^              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/include/arm_neon.h:7787:15: note: expanded from macro 'vgetq_lane_f32'
        float32x4_t __s0 = __p0; \
                    ^      ~~~~
      1 warning and 4 errors generated.

      WARN: CCompilerOpt.feature_test[1490] : testing failed
      INFO: CCompilerOpt.cc_test_flags[1021] : testing flags (-march=armv8.2-a+dotprod)
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-march=armv8.2-a+dotprod'
      INFO: CCompilerOpt.feature_test[1474] : testing feature 'ASIMDDP' with flags (-march=armv8.2-a+dotprod)
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-march=armv8.2-a+dotprod -Werror=switch'
      INFO: CCompilerOpt.__init__[1730] : skip features (NEON_VFPV4 ASIMD NEON NEON_FP16) since its part of baseline
      INFO: CCompilerOpt.__init__[1734] : initialize targets groups
      INFO: CCompilerOpt.__init__[1736] : parse target group simd_test
      INFO: CCompilerOpt._parse_target_tokens[1947] : skip targets (VSX2 VSX FMA4 VSX3 (FMA3 AVX2) XOP SSE42 AVX512_SKX AVX512F SSE2) not part of baseline or dispatch-able features
      INFO: CCompilerOpt._parse_policy_not_keepbase[2059] : skip baseline features (ASIMD)
      INFO: CCompilerOpt.generate_dispatch_header[2280] : generate CPU dispatch header: (build/src.macosx-12.2-arm64-3.10/numpy/distutils/include/npy_cpu_dispatch_config.h)
      WARN: CCompilerOpt.generate_dispatch_header[2289] : dispatch header dir build/src.macosx-12.2-arm64-3.10/numpy/distutils/include does not exist, creating it
      INFO: get_default_fcompiler: matching types: '['gnu95', 'nag', 'nagfor', 'absoft', 'ibm', 'intel', 'gnu', 'g95', 'pg']'
      INFO: customize Gnu95FCompiler
      WARN: Could not locate executable gfortran
      WARN: Could not locate executable f95
      INFO: customize NAGFCompiler
      INFO: customize NAGFORCompiler
      WARN: Could not locate executable nagfor
      INFO: customize AbsoftFCompiler
      WARN: Could not locate executable f90
      WARN: Could not locate executable f77
      INFO: customize IBMFCompiler
      WARN: Could not locate executable xlf90
      WARN: Could not locate executable xlf
      INFO: customize IntelFCompiler
      WARN: Could not locate executable ifort
      WARN: Could not locate executable ifc
      INFO: customize GnuFCompiler
      WARN: Could not locate executable g77
      INFO: customize G95FCompiler
      WARN: Could not locate executable g95
      INFO: customize PGroupFCompiler
      WARN: Could not locate executable pgfortran
      WARN: don't know how to compile Fortran code on platform 'posix'
      warning: build_ext: f77_compiler=None is not available.

      INFO: building 'mistree.levy_flight.utility_random_walk' extension
      error: extension 'mistree.levy_flight.utility_random_walk' has Fortran sources but no Fortran compiler found
      INFO:
      ########### EXT COMPILER OPTIMIZATION ###########
      INFO: Platform      :
        Architecture: aarch64
        Compiler    : clang

      CPU baseline  :
        Requested   : 'min'
        Enabled     : NEON NEON_FP16 NEON_VFPV4 ASIMD
        Flags       : none
        Extra checks: none

      CPU dispatch  :
        Requested   : 'max -xop -fma4'
        Enabled     : ASIMDHP ASIMDDP
        Generated   : none
      INFO: CCompilerOpt.cache_flush[817] : write cache to path -> /private/var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/pip-install-kkx2y8lx/mistree_60ca7f6cc91b40579fedbc973f4d598e/build/temp.macosx-12.2-arm64-3.10/ccompiler_opt_cache_ext.py
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for mistree
  Running setup.py clean for mistree
Failed to build mistree
Installing collected packages: mistree
  Running setup.py install for mistree ... error
  error: subprocess-exited-with-error

  × Running setup.py install for mistree did not run successfully.
  │ exit code: 1
  ╰─> [220 lines of output]
      running install
      running build
      running config_cc
      INFO: unifing config_cc, config, build_clib, build_ext, build commands --compiler options
      running config_fc
      INFO: unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
      running build_src
      INFO: build_src
      INFO: building extension "mistree.levy_flight.utility_random_walk" sources
      INFO: f2py options: []
      INFO:   adding 'build/src.macosx-12.2-arm64-3.10/build/src.macosx-12.2-arm64-3.10/mistree/levy_flight/fortranobject.c' to sources.
      INFO:   adding 'build/src.macosx-12.2-arm64-3.10/build/src.macosx-12.2-arm64-3.10/mistree/levy_flight' to include_dirs.
      INFO: building extension "mistree.mst.utility_density" sources
      INFO: f2py options: []
      INFO:   adding 'build/src.macosx-12.2-arm64-3.10/build/src.macosx-12.2-arm64-3.10/mistree/mst/fortranobject.c' to sources.
      INFO:   adding 'build/src.macosx-12.2-arm64-3.10/build/src.macosx-12.2-arm64-3.10/mistree/mst' to include_dirs.
      INFO: building extension "mistree.mst.utility_mst" sources
      INFO: f2py options: []
      INFO:   adding 'build/src.macosx-12.2-arm64-3.10/build/src.macosx-12.2-arm64-3.10/mistree/mst/fortranobject.c' to sources.
      INFO:   adding 'build/src.macosx-12.2-arm64-3.10/build/src.macosx-12.2-arm64-3.10/mistree/mst' to include_dirs.
      INFO: build_src: building npy-pkg config files
      running build_py
      creating build/lib.macosx-12.2-arm64-3.10
      creating build/lib.macosx-12.2-arm64-3.10/mistree
      copying mistree/__init__.py -> build/lib.macosx-12.2-arm64-3.10/mistree
      creating build/lib.macosx-12.2-arm64-3.10/mistree/mst
      copying mistree/mst/tomo.py -> build/lib.macosx-12.2-arm64-3.10/mistree/mst
      copying mistree/mst/partition.py -> build/lib.macosx-12.2-arm64-3.10/mistree/mst
      copying mistree/mst/scale_cut.py -> build/lib.macosx-12.2-arm64-3.10/mistree/mst
      copying mistree/mst/branches.py -> build/lib.macosx-12.2-arm64-3.10/mistree/mst
      copying mistree/mst/hist_mst.py -> build/lib.macosx-12.2-arm64-3.10/mistree/mst
      copying mistree/mst/graph.py -> build/lib.macosx-12.2-arm64-3.10/mistree/mst
      copying mistree/mst/__init__.py -> build/lib.macosx-12.2-arm64-3.10/mistree/mst
      copying mistree/mst/density.py -> build/lib.macosx-12.2-arm64-3.10/mistree/mst
      copying mistree/mst/stats.py -> build/lib.macosx-12.2-arm64-3.10/mistree/mst
      copying mistree/mst/construct.py -> build/lib.macosx-12.2-arm64-3.10/mistree/mst
      copying mistree/mst/get_mst_class.py -> build/lib.macosx-12.2-arm64-3.10/mistree/mst
      copying mistree/mst/plot_mst.py -> build/lib.macosx-12.2-arm64-3.10/mistree/mst
      creating build/lib.macosx-12.2-arm64-3.10/mistree/coordinates
      copying mistree/coordinates/__init__.py -> build/lib.macosx-12.2-arm64-3.10/mistree/coordinates
      copying mistree/coordinates/coordinate_utility.py -> build/lib.macosx-12.2-arm64-3.10/mistree/coordinates
      creating build/lib.macosx-12.2-arm64-3.10/mistree/levy_flight
      copying mistree/levy_flight/__init__.py -> build/lib.macosx-12.2-arm64-3.10/mistree/levy_flight
      copying mistree/levy_flight/levy_flight.py -> build/lib.macosx-12.2-arm64-3.10/mistree/levy_flight
      running build_ext
      INFO: customize UnixCCompiler
      INFO: customize UnixCCompiler using build_ext
      INFO: CCompilerOpt.cc_test_flags[1021] : testing flags (-march=native)
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      creating /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpp9gl966c/Users
      creating /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpp9gl966c/Users/mesut
      creating /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpp9gl966c/Users/mesut/.pyenv
      creating /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpp9gl966c/Users/mesut/.pyenv/versions
      creating /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpp9gl966c/Users/mesut/.pyenv/versions/3.10.2
      creating /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpp9gl966c/Users/mesut/.pyenv/versions/3.10.2/lib
      creating /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpp9gl966c/Users/mesut/.pyenv/versions/3.10.2/lib/python3.10
      creating /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpp9gl966c/Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages
      creating /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpp9gl966c/Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy
      creating /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpp9gl966c/Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils
      creating /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpp9gl966c/Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks
      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-march=native'
      WARN: CCompilerOpt.dist_test[590] : CCompilerOpt._dist_test_spawn[724] : Command (clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math -I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.c -o /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpp9gl966c/Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpp9gl966c/Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o.d -march=native) failed with exit status 1 output ->
      clang: error: the clang compiler does not support '-march=native'

      WARN: CCompilerOpt.cc_test_flags[1025] : testing failed
      INFO: CCompilerOpt.cc_test_flags[1021] : testing flags (-O3)
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-O3'
      INFO: CCompilerOpt.cc_test_flags[1021] : testing flags (-Werror=switch)
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-Werror=switch'
      INFO: CCompilerOpt.cc_test_flags[1021] : testing flags (-Werror)
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-Werror'
      WARN: CCompilerOpt.dist_test[590] : CCompilerOpt._dist_test_spawn[724] : Command (clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math -I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.c -o /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpp9gl966c/Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpp9gl966c/Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o.d -Werror) failed with exit status 1 output ->
      error: overriding currently unsupported use of floating point exceptions on this target [-Werror,-Wunsupported-floating-point-opt]
      1 error generated.

      WARN: CCompilerOpt.cc_test_flags[1025] : testing failed
      INFO: CCompilerOpt.__init__[1709] : check requested baseline
      INFO: CCompilerOpt.feature_test[1474] : testing feature 'NEON_VFPV4' with flags ()
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-Werror=switch'
      INFO: CCompilerOpt.feature_test[1474] : testing feature 'NEON_FP16' with flags ()
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-Werror=switch'
      INFO: CCompilerOpt.feature_test[1474] : testing feature 'NEON' with flags ()
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-Werror=switch'
      INFO: CCompilerOpt.feature_test[1474] : testing feature 'ASIMD' with flags ()
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-Werror=switch'
      INFO: CCompilerOpt.__init__[1718] : check requested dispatch-able features
      INFO: CCompilerOpt.cc_test_flags[1021] : testing flags (-march=armv8.2-a+fp16)
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-march=armv8.2-a+fp16'
      INFO: CCompilerOpt.feature_test[1474] : testing feature 'ASIMDHP' with flags (-march=armv8.2-a+fp16)
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-march=armv8.2-a+fp16 -Werror=switch'
      INFO: CCompilerOpt.cc_test_flags[1021] : testing flags (-march=armv8.2-a+fp16fml)
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-march=armv8.2-a+fp16fml'
      INFO: CCompilerOpt.feature_test[1474] : testing feature 'ASIMDFHM' with flags (-march=armv8.2-a+fp16+fp16fml)
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-march=armv8.2-a+fp16+fp16fml -Werror=switch'
      WARN: CCompilerOpt.dist_test[590] : CCompilerOpt._dist_test_spawn[724] : Command (clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math -I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c -o /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpp9gl966c/Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.o -MMD -MF /var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/tmpp9gl966c/Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.o.d -march=armv8.2-a+fp16+fp16fml -Werror=switch) failed with exit status 1 output ->
      warning: overriding currently unsupported use of floating point exceptions on this target [-Wunsupported-floating-point-opt]
      /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c:13:35: error: implicit declaration of function 'vfmlal_low_u32' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
          int ret  = (int)vget_lane_f32(vfmlal_low_u32(vlf, vlhp, vlhp), 0);
                                        ^
      /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c:13:35: note: did you mean 'vfmlal_low_f16'?
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/include/arm_neon.h:43691:18: note: 'vfmlal_low_f16' declared here
      __ai float32x2_t vfmlal_low_f16(float32x2_t __p0, float16x4_t __p1, float16x4_t __p2) {
                       ^
      /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c:13:21: error: initializing 'float32x2_t' (vector of 2 'float32_t' values) with an expression of incompatible type 'int'
          int ret  = (int)vget_lane_f32(vfmlal_low_u32(vlf, vlhp, vlhp), 0);
                          ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/include/arm_neon.h:7977:15: note: expanded from macro 'vget_lane_f32'
        float32x2_t __s0 = __p0; \
                    ^      ~~~~
      /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c:14:36: error: implicit declaration of function 'vfmlslq_high_u32' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
              ret += (int)vgetq_lane_f32(vfmlslq_high_u32(vf, vhp, vhp), 0);
                                         ^
      /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c:14:36: note: did you mean 'vmlsl_high_u32'?
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/include/arm_neon.h:69448:17: note: 'vmlsl_high_u32' declared here
      __ai uint64x2_t vmlsl_high_u32(uint64x2_t __p0, uint32x4_t __p1, uint32x4_t __p2) {
                      ^
      /Users/mesut/.pyenv/versions/3.10.2/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c:14:21: error: initializing 'float32x4_t' (vector of 4 'float32_t' values) with an expression of incompatible type 'int'
              ret += (int)vgetq_lane_f32(vfmlslq_high_u32(vf, vhp, vhp), 0);
                          ^              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/include/arm_neon.h:7787:15: note: expanded from macro 'vgetq_lane_f32'
        float32x4_t __s0 = __p0; \
                    ^      ~~~~
      1 warning and 4 errors generated.

      WARN: CCompilerOpt.feature_test[1490] : testing failed
      INFO: CCompilerOpt.cc_test_flags[1021] : testing flags (-march=armv8.2-a+dotprod)
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-march=armv8.2-a+dotprod'
      INFO: CCompilerOpt.feature_test[1474] : testing feature 'ASIMDDP' with flags (-march=armv8.2-a+dotprod)
      INFO: C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -ftrapping-math

      INFO: compile options: '-I/Users/mesut/.pyenv/versions/3.10.2/include/python3.10 -c'
      extra options: '-march=armv8.2-a+dotprod -Werror=switch'
      INFO: CCompilerOpt.__init__[1730] : skip features (ASIMD NEON_VFPV4 NEON_FP16 NEON) since its part of baseline
      INFO: CCompilerOpt.__init__[1734] : initialize targets groups
      INFO: CCompilerOpt.__init__[1736] : parse target group simd_test
      INFO: CCompilerOpt._parse_target_tokens[1947] : skip targets (SSE42 VSX2 XOP SSE2 AVX512_SKX FMA4 (AVX2 FMA3) AVX512F VSX3 VSX) not part of baseline or dispatch-able features
      INFO: CCompilerOpt._parse_policy_not_keepbase[2059] : skip baseline features (ASIMD)
      INFO: CCompilerOpt.generate_dispatch_header[2280] : generate CPU dispatch header: (build/src.macosx-12.2-arm64-3.10/numpy/distutils/include/npy_cpu_dispatch_config.h)
      INFO: get_default_fcompiler: matching types: '['gnu95', 'nag', 'nagfor', 'absoft', 'ibm', 'intel', 'gnu', 'g95', 'pg']'
      INFO: customize Gnu95FCompiler
      WARN: Could not locate executable gfortran
      WARN: Could not locate executable f95
      INFO: customize NAGFCompiler
      INFO: customize NAGFORCompiler
      WARN: Could not locate executable nagfor
      INFO: customize AbsoftFCompiler
      WARN: Could not locate executable f90
      WARN: Could not locate executable f77
      INFO: customize IBMFCompiler
      WARN: Could not locate executable xlf90
      WARN: Could not locate executable xlf
      INFO: customize IntelFCompiler
      WARN: Could not locate executable ifort
      WARN: Could not locate executable ifc
      INFO: customize GnuFCompiler
      WARN: Could not locate executable g77
      INFO: customize G95FCompiler
      WARN: Could not locate executable g95
      INFO: customize PGroupFCompiler
      WARN: Could not locate executable pgfortran
      WARN: don't know how to compile Fortran code on platform 'posix'
      warning: build_ext: f77_compiler=None is not available.

      INFO: building 'mistree.levy_flight.utility_random_walk' extension
      error: extension 'mistree.levy_flight.utility_random_walk' has Fortran sources but no Fortran compiler found
      INFO:
      ########### EXT COMPILER OPTIMIZATION ###########
      INFO: Platform      :
        Architecture: aarch64
        Compiler    : clang

      CPU baseline  :
        Requested   : 'min'
        Enabled     : NEON NEON_FP16 NEON_VFPV4 ASIMD
        Flags       : none
        Extra checks: none

      CPU dispatch  :
        Requested   : 'max -xop -fma4'
        Enabled     : ASIMDHP ASIMDDP
        Generated   : none
      INFO: CCompilerOpt.cache_flush[817] : write cache to path -> /private/var/folders/7h/f3_2t1sj3d767x_vsjw126fh0000gn/T/pip-install-kkx2y8lx/mistree_60ca7f6cc91b40579fedbc973f4d598e/build/temp.macosx-12.2-arm64-3.10/ccompiler_opt_cache_ext.py
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> mistree

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

gunesmes avatar Jun 07 '22 07:06 gunesmes