Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on Install Mac OS #52

Open
LouiFi opened this issue Nov 10, 2024 · 2 comments
Open

Error on Install Mac OS #52

LouiFi opened this issue Nov 10, 2024 · 2 comments

Comments

@LouiFi
Copy link

LouiFi commented Nov 10, 2024

When installing :

sudo pip install resemble-enhance --upgrade

WARNING: The directory '/Users/louifi/Library/Caches/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.
Collecting resemble-enhance
  Downloading resemble_enhance-0.0.1-py3-none-any.whl.metadata (3.4 kB)
Collecting celluloid==0.2.0 (from resemble-enhance)
  Downloading celluloid-0.2.0-py3-none-any.whl.metadata (4.8 kB)
Collecting deepspeed==0.12.4 (from resemble-enhance)
  Downloading deepspeed-0.12.4.tar.gz (1.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 5.0 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting librosa==0.10.1 (from resemble-enhance)
  Downloading librosa-0.10.1-py3-none-any.whl.metadata (8.3 kB)
Collecting matplotlib==3.8.1 (from resemble-enhance)
  Downloading matplotlib-3.8.1.tar.gz (35.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 35.9/35.9 MB 20.6 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting numpy==1.26.2 (from resemble-enhance)
  Downloading numpy-1.26.2.tar.gz (15.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.7/15.7 MB 25.7 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Collecting omegaconf==2.3.0 (from resemble-enhance)
  Downloading omegaconf-2.3.0-py3-none-any.whl.metadata (3.9 kB)
Collecting pandas==2.1.3 (from resemble-enhance)
  Downloading pandas-2.1.3.tar.gz (4.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 20.5 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [72 lines of output]
      + meson setup /private/tmp/pip-install-1tshqsrp/pandas_670906737b204ba9bf2b2866aa5f8dc4 /private/tmp/pip-install-1tshqsrp/pandas_670906737b204ba9bf2b2866aa5f8dc4/.mesonpy-e8zuuz07/build -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --vsenv --native-file=/private/tmp/pip-install-1tshqsrp/pandas_670906737b204ba9bf2b2866aa5f8dc4/.mesonpy-e8zuuz07/build/meson-python-native-file.ini
      The Meson build system
      Version: 1.2.1
      Source dir: /private/tmp/pip-install-1tshqsrp/pandas_670906737b204ba9bf2b2866aa5f8dc4
      Build dir: /private/tmp/pip-install-1tshqsrp/pandas_670906737b204ba9bf2b2866aa5f8dc4/.mesonpy-e8zuuz07/build
      Build type: native build
      Project name: pandas
      Project version: 2.1.3
      C compiler for the host machine: cc (clang 15.0.0 "Apple clang version 15.0.0 (clang-1500.3.9.4)")
      C linker for the host machine: cc ld64 1053.12
      C++ compiler for the host machine: c++ (clang 15.0.0 "Apple clang version 15.0.0 (clang-1500.3.9.4)")
      C++ linker for the host machine: c++ ld64 1053.12
      Cython compiler for the host machine: cython (cython 0.29.37)
      Host machine cpu family: aarch64
      Host machine cpu: aarch64
      Program python found: YES (/Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13)
      Did not find pkg-config by name 'pkg-config'
      Found Pkg-config: NO
      Run-time dependency python found: YES 3.13
      Build targets in project: 53
      
      pandas 2.1.3
      
        User defined options
          Native files: /private/tmp/pip-install-1tshqsrp/pandas_670906737b204ba9bf2b2866aa5f8dc4/.mesonpy-e8zuuz07/build/meson-python-native-file.ini
          buildtype   : release
          vsenv       : True
          b_ndebug    : if-release
          b_vscrt     : md
      
      Found ninja-1.11.1.git.kitware.jobserver-1 at /private/tmp/pip-build-env-ce1e2ol3/normal/bin/ninja
      
      Visual Studio environment is needed to run Ninja. It is recommended to use Meson wrapper:
      /private/tmp/pip-build-env-ce1e2ol3/overlay/bin/meson compile -C .
      + /private/tmp/pip-build-env-ce1e2ol3/normal/bin/ninja
      [1/151] Generating pandas/_libs/algos_common_helper_pxi with a custom command
      [2/151] Generating pandas/_libs/hashtable_func_helper_pxi with a custom command
      [3/151] Generating pandas/_libs/khash_primitive_helper_pxi with a custom command
      [4/151] Generating pandas/_libs/intervaltree_helper_pxi with a custom command
      [5/151] Generating pandas/_libs/index_class_helper_pxi with a custom command
      [6/151] Generating pandas/_libs/algos_take_helper_pxi with a custom command
      [7/151] Generating pandas/_libs/hashtable_class_helper_pxi with a custom command
      [8/151] Generating pandas/_libs/sparse_op_helper_pxi with a custom command
      [9/151] Generating pandas/__init__.py with a custom command
      [10/151] Compiling C object pandas/_libs/tslibs/parsing.cpython-313-darwin.so.p/.._src_parser_tokenizer.c.o
      [11/151] Compiling Cython source /private/tmp/pip-install-1tshqsrp/pandas_670906737b204ba9bf2b2866aa5f8dc4/pandas/_libs/tslibs/base.pyx
      [12/151] Compiling C object pandas/_libs/tslibs/base.cpython-313-darwin.so.p/meson-generated_pandas__libs_tslibs_base.pyx.c.o
      FAILED: pandas/_libs/tslibs/base.cpython-313-darwin.so.p/meson-generated_pandas__libs_tslibs_base.pyx.c.o
      cc -Ipandas/_libs/tslibs/base.cpython-313-darwin.so.p -Ipandas/_libs/tslibs -I../../pandas/_libs/tslibs -I../../../../pip-build-env-ce1e2ol3/overlay/lib/python3.13/site-packages/numpy/core/include -I../../pandas/_libs/include -I/Library/Frameworks/Python.framework/Versions/3.13/include/python3.13 -fvisibility=hidden -fcolor-diagnostics -DNDEBUG -w -std=c99 -O3 -DNPY_NO_DEPRECATED_API=0 -DNPY_TARGET_VERSION=NPY_1_21_API_VERSION -MD -MQ pandas/_libs/tslibs/base.cpython-313-darwin.so.p/meson-generated_pandas__libs_tslibs_base.pyx.c.o -MF pandas/_libs/tslibs/base.cpython-313-darwin.so.p/meson-generated_pandas__libs_tslibs_base.pyx.c.o.d -o pandas/_libs/tslibs/base.cpython-313-darwin.so.p/meson-generated_pandas__libs_tslibs_base.pyx.c.o -c pandas/_libs/tslibs/base.cpython-313-darwin.so.p/pandas/_libs/tslibs/base.pyx.c
      pandas/_libs/tslibs/base.cpython-313-darwin.so.p/pandas/_libs/tslibs/base.pyx.c:5399:70: error: too few arguments to function call, expected 6, have 5
                                                    is_little, !is_unsigned);
                                                                           ^
      /Library/Frameworks/Python.framework/Versions/3.13/include/python3.13/cpython/longobject.h:111:17: note: '_PyLong_AsByteArray' declared here
      PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
                      ^
      pandas/_libs/tslibs/base.cpython-313-darwin.so.p/pandas/_libs/tslibs/base.pyx.c:5633:70: error: too few arguments to function call, expected 6, have 5
                                                    is_little, !is_unsigned);
                                                                           ^
      /Library/Frameworks/Python.framework/Versions/3.13/include/python3.13/cpython/longobject.h:111:17: note: '_PyLong_AsByteArray' declared here
      PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
                      ^
      2 errors generated.
      [13/151] Compiling Cython source /private/tmp/pip-install-1tshqsrp/pandas_670906737b204ba9bf2b2866aa5f8dc4/pandas/_libs/tslibs/ccalendar.pyx
      [14/151] Compiling Cython source /private/tmp/pip-install-1tshqsrp/pandas_670906737b204ba9bf2b2866aa5f8dc4/pandas/_libs/tslibs/dtypes.pyx
      [15/151] Compiling Cython source /private/tmp/pip-install-1tshqsrp/pandas_670906737b204ba9bf2b2866aa5f8dc4/pandas/_libs/tslibs/np_datetime.pyx
      [16/151] Compiling Cython source /private/tmp/pip-install-1tshqsrp/pandas_670906737b204ba9bf2b2866aa5f8dc4/pandas/_libs/tslibs/nattype.pyx
      [17/151] Compiling Cython source /private/tmp/pip-install-1tshqsrp/pandas_670906737b204ba9bf2b2866aa5f8dc4/pandas/_libs/tslibs/parsing.pyx
      [18/151] Compiling Cython source /private/tmp/pip-install-1tshqsrp/pandas_670906737b204ba9bf2b2866aa5f8dc4/pandas/_libs/tslibs/conversion.pyx
      [19/151] Compiling Cython source /private/tmp/pip-install-1tshqsrp/pandas_670906737b204ba9bf2b2866aa5f8dc4/pandas/_libs/tslibs/fields.pyx
      [20/151] Compiling Cython source /private/tmp/pip-install-1tshqsrp/pandas_670906737b204ba9bf2b2866aa5f8dc4/pandas/_libs/tslibs/offsets.pyx
      [21/151] Compiling Cython source /private/tmp/pip-install-1tshqsrp/pandas_670906737b204ba9bf2b2866aa5f8dc4/pandas/_libs/tslibs/period.pyx
      ninja: build stopped: subcommand failed.
      [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.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.```
@maliikm
Copy link

maliikm commented Nov 28, 2024

I cam here to report the same issue. Intel Mac. The issue is present in both the pre release and current release.

@cooldude6000
Copy link

Same here. Is it working for you guys?

Btw, try doing :

pip install py-cpuinfo
pip install torch
pip install deepspeed
pip install resemble-enhance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants