Skip to content

Error installing on MacOS, version 1.1.2 #6

Description

@valeriu-balaban

The following error is reported when installing with pip inside a conda environment on MacOS x64.

  Building wheel for pymeos_cffi (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for pymeos_cffi (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [34 lines of output]
      Not copying PROJ data to package data
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.macosx-10.9-x86_64-cpython-310
      creating build/lib.macosx-10.9-x86_64-cpython-310/pymeos_cffi
      copying pymeos_cffi/functions.py -> build/lib.macosx-10.9-x86_64-cpython-310/pymeos_cffi
      copying pymeos_cffi/enums.py -> build/lib.macosx-10.9-x86_64-cpython-310/pymeos_cffi
      copying pymeos_cffi/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-310/pymeos_cffi
      copying pymeos_cffi/errors.py -> build/lib.macosx-10.9-x86_64-cpython-310/pymeos_cffi
      running egg_info
      writing pymeos_cffi.egg-info/PKG-INFO
      writing dependency_links to pymeos_cffi.egg-info/dependency_links.txt
      writing requirements to pymeos_cffi.egg-info/requires.txt
      writing top-level names to pymeos_cffi.egg-info/top_level.txt
      reading manifest file 'pymeos_cffi.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no previously-included files matching '*/__pycache__/*' found anywhere in distribution
      warning: no previously-included files matching '*.pyc' found anywhere in distribution
      adding license file 'LICENSE'
      writing manifest file 'pymeos_cffi.egg-info/SOURCES.txt'
      running build_ext
      generating cffi module 'build/temp.macosx-10.9-x86_64-cpython-310/_meos_cffi.c'
      creating build/temp.macosx-10.9-x86_64-cpython-310
      building '_meos_cffi' extension
      creating build/temp.macosx-10.9-x86_64-cpython-310/build
      creating build/temp.macosx-10.9-x86_64-cpython-310/build/temp.macosx-10.9-x86_64-cpython-310
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/valeriu/micromamba/envs/metaflow/include -fPIC -O2 -isystem /Users/valeriu/micromamba/envs/metaflow/include -I/usr/local/include -I/Users/valeriu/micromamba/envs/metaflow/include/python3.10 -c build/temp.macosx-10.9-x86_64-cpython-310/_meos_cffi.c -o build/temp.macosx-10.9-x86_64-cpython-310/build/temp.macosx-10.9-x86_64-cpython-310/_meos_cffi.o
      build/temp.macosx-10.9-x86_64-cpython-310/_meos_cffi.c:573:10: fatal error: 'meos.h' file not found
      #include "meos.h"
               ^~~~~~~~
      1 error generated.
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pymeos_cffi
Failed to build pymeos_cffi
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pymeos_cffi)

Desktop (please complete the following information):

  • OS: macOS
  • Architecture: x64
  • Version 1.1.2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions