Skip to content

Unable to compile Panda I believe #51

@bertburch

Description

@bertburch

Describe the bug
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 2
╰─> [93 lines of output]
+ meson setup C:\Users\bertb\AppData\Local\Temp\pip-install-k9ck8uz_\pandas_73ecfc11df844a108353db027e3a3138 C:\Users\bertb\AppData\Local\Temp\pip-install-k9ck8uz_\pandas_73ecfc11df844a108353db027e3a3138.mesonpy-2x2jvco9\build -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --vsenv --native-file=C:\Users\bertb\AppData\Local\Temp\pip-install-k9ck8uz_\pandas_73ecfc11df844a108353db027e3a3138.mesonpy-2x2jvco9\build\meson-python-native-file.ini
The Meson build system
Version: 1.2.1
Source dir: C:\Users\bertb\AppData\Local\Temp\pip-install-k9ck8uz_\pandas_73ecfc11df844a108353db027e3a3138
Build dir: C:\Users\bertb\AppData\Local\Temp\pip-install-k9ck8uz_\pandas_73ecfc11df844a108353db027e3a3138.mesonpy-2x2jvco9\build
Build type: native build
Project name: pandas
Project version: 2.1.4
Activating VS 18.3.2
C compiler for the host machine: cl (msvc 19.50.35725 "Microsoft (R) C/C++ Optimizing Compiler Version 19.50.35725 for x64")
C linker for the host machine: link link 14.50.35725.0
C++ compiler for the host machine: cl (msvc 19.50.35725 "Microsoft (R) C/C++ Optimizing Compiler Version 19.50.35725 for x64")
C++ linker for the host machine: link link 14.50.35725.0
Cython compiler for the host machine: cython (cython 0.29.37)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python found: YES (C:\Python314\python.exe)
Run-time dependency python found: YES 3.14
Build targets in project: 53

  pandas 2.1.4

    User defined options
      Native files: C:\Users\bertb\AppData\Local\Temp\pip-install-k9ck8uz_\pandas_73ecfc11df844a108353db027e3a3138\.mesonpy-2x2jvco9\build\meson-python-native-file.ini
      buildtype   : release
      vsenv       : True
      b_ndebug    : if-release
      b_vscrt     : md

  Found ninja.EXE-1.13.0.git.kitware.jobserver-pipe-1 at C:\Users\bertb\AppData\Local\Temp\pip-build-env-qicvb9r6\normal\Scripts\ninja.EXE

  Visual Studio environment is needed to run Ninja. It is recommended to use Meson wrapper:
  C:\Users\bertb\AppData\Local\Temp\pip-build-env-qicvb9r6\overlay\Scripts\meson compile -C .
  + meson compile
  [1/151] Generating pandas/_libs/algos_common_helper_pxi with a custom command
  [2/151] Generating pandas/_libs/algos_take_helper_pxi with a custom command
  [3/151] Generating pandas/_libs/khash_primitive_helper_pxi with a custom command
  [4/151] Generating pandas/_libs/index_class_helper_pxi with a custom command
  [5/151] Generating pandas/_libs/hashtable_func_helper_pxi with a custom command
  [6/151] Generating pandas/_libs/hashtable_class_helper_pxi with a custom command
  [7/151] Generating pandas/_libs/intervaltree_helper_pxi with a custom command
  [8/151] Generating pandas/_libs/sparse_op_helper_pxi with a custom command
  [9/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/tslibs/base.pyx
  [10/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/tslibs/ccalendar.pyx
  [11/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/tslibs/np_datetime.pyx
  [12/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/tslibs/dtypes.pyx
  [13/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/tslibs/nattype.pyx
  [14/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/arrays.pyx
  [15/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/tslibs/timezones.pyx
  [16/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/tslibs/vectorized.pyx
  [17/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/indexing.pyx
  [18/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/tslibs/fields.pyx
  [19/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/tslibs/tzconversion.pyx
  [20/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/tslibs/strptime.pyx
  [21/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/tslibs/parsing.pyx
  [22/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/tslibs/offsets.pyx
  [23/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/tslibs/conversion.pyx
  [24/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/tslibs/timestamps.pyx
  [25/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/tslibs/period.pyx
  [26/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/tslibs/timedeltas.pyx
  [27/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/ops_dispatch.pyx
  [28/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/hashing.pyx
  [29/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/properties.pyx
  [30/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/missing.pyx
  [31/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/byteswap.pyx
  [32/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/internals.pyx
  [33/151] Compiling C object pandas/_libs/tslibs/base.cp314-win_amd64.pyd.p/meson-generated_pandas__libs_tslibs_base.pyx.c.obj
  FAILED: [code=2] pandas/_libs/tslibs/base.cp314-win_amd64.pyd.p/meson-generated_pandas__libs_tslibs_base.pyx.c.obj
  "cl" "-Ipandas\_libs\tslibs\base.cp314-win_amd64.pyd.p" "-Ipandas\_libs\tslibs" "-I..\..\pandas\_libs\tslibs" "-I..\..\..\..\pip-build-env-qicvb9r6\overlay\Lib\site-packages\numpy\core\include" "-I..\..\pandas\_libs\include" "-IC:\Python314\Include" "-DNDEBUG" "/MD" "/nologo" "/showIncludes" "/utf-8" "-w" "/O2" "/Gw" "-DNPY_NO_DEPRECATED_API=0" "-DNPY_TARGET_VERSION=NPY_1_21_API_VERSION" "/Fdpandas\_libs\tslibs\base.cp314-win_amd64.pyd.p\meson-generated_pandas__libs_tslibs_base.pyx.c.pdb" /Fopandas/_libs/tslibs/base.cp314-win_amd64.pyd.p/meson-generated_pandas__libs_tslibs_base.pyx.c.obj "/c" pandas/_libs/tslibs/base.cp314-win_amd64.pyd.p/pandas/_libs/tslibs/base.pyx.c
  pandas/_libs/tslibs/base.cp314-win_amd64.pyd.p/pandas/_libs/tslibs/base.pyx.c(5397): error C2198: 'int _PyLong_AsByteArray(PyLongObject *,unsigned char *,size_t,int,int,int)': too few arguments for call
  pandas/_libs/tslibs/base.cp314-win_amd64.pyd.p/pandas/_libs/tslibs/base.pyx.c(5631): error C2198: 'int _PyLong_AsByteArray(PyLongObject *,unsigned char *,size_t,int,int,int)': too few arguments for call
  [34/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/ops.pyx
  [35/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/testing.pyx
  [36/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/reshape.pyx
  [37/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/sas.pyx
  [38/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/index.pyx
  [39/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/parsers.pyx
  [40/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/tslib.pyx
  [41/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/lib.pyx
  [42/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/writers.pyx
  [43/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/window/indexers.pyx
  [44/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/window/aggregations.pyx
  [45/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/interval.pyx
  [46/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/sparse.pyx
  [47/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/algos.pyx
  [48/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/hashtable.pyx
  [49/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/groupby.pyx
  [50/151] Compiling Cython source C:/Users/bertb/AppData/Local/Temp/pip-install-k9ck8uz_/pandas_73ecfc11df844a108353db027e3a3138/pandas/_libs/join.pyx
  ninja: build stopped: subcommand failed.
  Activating VS 18.3.2
  INFO: automatically activated MSVC compiler environment
  INFO: autodetecting backend as ninja
  INFO: calculating backend command to run: C:\Users\bertb\AppData\Local\Temp\pip-build-env-qicvb9r6\normal\Scripts\ninja.EXE
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> pandas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions