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

Installation failure from source code #55

Open
JingJunY opened this issue Oct 16, 2022 · 0 comments
Open

Installation failure from source code #55

JingJunY opened this issue Oct 16, 2022 · 0 comments

Comments

@JingJunY
Copy link

Trying to install ctc from source code and getting this error:

 Building wheel for multidict (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/jingjunyin/Desktop/Dev/ctc/venv/bin/python /Users/jingjunyin/Desktop/Dev/ctc/venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /var/folders/p0/pgdsn3d57h7cfzbq5j87q6lc0000gn/T/tmp4ccia85i
       cwd: /private/var/folders/p0/pgdsn3d57h7cfzbq5j87q6lc0000gn/T/pip-install-hjomo5dm/multidict
  Complete output (66 lines):
  *********************
  * Accelerated build *
  *********************
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.14.6-x86_64-cpython-38
  creating build/lib.macosx-10.14.6-x86_64-cpython-38/multidict
  copying multidict/_multidict_py.py -> build/lib.macosx-10.14.6-x86_64-cpython-38/multidict
  copying multidict/_abc.py -> build/lib.macosx-10.14.6-x86_64-cpython-38/multidict
  copying multidict/__init__.py -> build/lib.macosx-10.14.6-x86_64-cpython-38/multidict
  copying multidict/_multidict_base.py -> build/lib.macosx-10.14.6-x86_64-cpython-38/multidict
  copying multidict/_compat.py -> build/lib.macosx-10.14.6-x86_64-cpython-38/multidict
  running egg_info
  writing multidict.egg-info/PKG-INFO
  writing dependency_links to multidict.egg-info/dependency_links.txt
  writing top-level names to multidict.egg-info/top_level.txt
  reading manifest file 'multidict.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no previously-included files matching '*.pyc' found anywhere in distribution
  warning: no previously-included files found matching 'multidict/_multidict.html'
  warning: no previously-included files found matching 'multidict/*.so'
  warning: no previously-included files found matching 'multidict/*.pyd'
  warning: no previously-included files found matching 'multidict/*.pyd'
  no previously-included directories found matching 'docs/_build'
  adding license file 'LICENSE'
  writing manifest file 'multidict.egg-info/SOURCES.txt'
  copying multidict/__init__.pyi -> build/lib.macosx-10.14.6-x86_64-cpython-38/multidict
  copying multidict/py.typed -> build/lib.macosx-10.14.6-x86_64-cpython-38/multidict
  running build_ext
  building 'multidict._multidict' extension
  creating build/temp.macosx-10.14.6-x86_64-cpython-38
  creating build/temp.macosx-10.14.6-x86_64-cpython-38/multidict
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -I/Users/jingjunyin/Desktop/Dev/ctc/venv/include -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -c multidict/_multidict.c -o build/temp.macosx-10.14.6-x86_64-cpython-38/multidict/_multidict.o -O2 -std=c99 -Wall -Wsign-compare -Wconversion -fno-strict-aliasing -pedantic
  multidict/_multidict.c:1:10: fatal error: 'Python.h' file not found
  #include "Python.h"
           ^~~~~~~~~~
  1 error generated.
  /private/var/folders/p0/pgdsn3d57h7cfzbq5j87q6lc0000gn/T/pip-build-env-ngt7mbxd/overlay/lib/python3.8/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'multidict._multilib' as data is deprecated, please list it in `packages`.
      !!
  
  
      ############################
      # Package would be ignored #
      ############################
      Python recognizes 'multidict._multilib' as an importable package,
      but it is not listed in the `packages` configuration of setuptools.
  
      'multidict._multilib' has been automatically added to the distribution only
      because it may contain data files, but this behavior is likely to change
      in future versions of setuptools (and therefore is considered deprecated).
  
      Please make sure that 'multidict._multilib' is included as a package by using
      the `packages` configuration field or the proper discovery methods
      (for example by using `find_namespace_packages(...)`/`find_namespace:`
      instead of `find_packages(...)`/`find:`).
  
      You can read more about "package discovery" and "data files" on setuptools
      documentation page.
  
  
  !!
  
    check.warn(importable)
  error: command '/usr/bin/clang' failed with exit code 1
  ----------------------------------------
  ERROR: Failed building wheel for multidict
  Running setup.py clean for multidict
Successfully built checkthechain
Failed to build aiohttp numpy pandas yarl frozenlist multidict
ERROR: Could not build wheels for aiohttp, numpy, pandas, yarl, frozenlist, multidict which use PEP 517 and cannot be installed directly
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

1 participant