Unable to install cymunk

20 views
Skip to first unread message

Gibier

unread,
Nov 27, 2022, 5:56:10 PM11/27/22
to KivEnt
Hi, it seems like I'm unable to install cymunk my every attempt failed so far. Does someones could help me with this error please?

Collecting git+git://github.com/tito/cymunk
  Cloning git://github.com/tito/cymunk to c:\users\jessy\appdata\local\temp\pip-req-build-ax_ecetg
  Resolved git://github.com/tito/cymunk to commit 24845cc0834cd07b9495d06ef3873252237c6714
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Building wheels for collected packages: cymunk
  Building wheel for cymunk (setup.py): started
  Building wheel for cymunk (setup.py): finished with status 'error'
  Running setup.py clean for cymunk
Failed to build cymunk
Installing collected packages: cymunk
  Running setup.py install for cymunk: started
  Running setup.py install for cymunk: finished with status 'error'

  Running command git clone --filter=blob:none --quiet git://github.com/tito/cymunk 'C:\Users\Jessy\AppData\Local\Temp\pip-req-build-ax_ecetg'
  error: subprocess-exited-with-error
 
  python setup.py bdist_wheel did not run successfully.
  exit code: 1
 
  [18 lines of output]
  Using distutils
  warning: build_py: byte-compiling is disabled, skipping.
 
  C:\Users\Jessy\AppData\Local\Programs\Python\Python310\lib\site-packages\Cython\Compiler\Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: C:\Users\Jessy\AppData\Local\Temp\pip-req-build-ax_ecetg\cymunk\cymunk.pxd
    tree = Parsing.p_module(s, pxd, full_module_name)
  warning: cymunk\constraint.pxd:6:41: Declarations should not be declared inline.
  warning: cymunk\space.pxd:23:4: 'cpTimestamp' redeclared
  warning: cymunk\space.pxd:59:4: 'cpConstraintPreSolveFunc' redeclared
  warning: cymunk\space.pxd:60:4: 'cpConstraintPostSolveFunc' redeclared
  warning: cymunk\shape.pxi:204:86: local variable 'info' referenced before assignment
  warning: cymunk\shape.pxi:205:54: local variable 'info' referenced before assignment
  warning: cymunk\shape.pxi:205:62: local variable 'info' referenced before assignment
  cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
  cl : Command line warning D9002 : ignoring unknown option '-ffast-math'
  cl : Command line warning D9002 : ignoring unknown option '-fPIC'
  chipmunk.c
  C:\Users\Jessy\AppData\Local\Temp\pip-req-build-ax_ecetg\cymunk\Chipmunk-Physics\include\chipmunk\chipmunk.h(36): fatal error C1083: Cannot open include file: 'alloca.h': No such file or directory
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.34.31933\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
  [end of output]
 
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for cymunk
  error: subprocess-exited-with-error
 
  Running setup.py install for cymunk did not run successfully.
  exit code: 1
 
  [11 lines of output]
  Using distutils
  C:\Users\Jessy\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
    warnings.warn(
  warning: build_py: byte-compiling is disabled, skipping.
 
  cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
  cl : Command line warning D9002 : ignoring unknown option '-ffast-math'
  cl : Command line warning D9002 : ignoring unknown option '-fPIC'
  chipmunk.c
  C:\Users\Jessy\AppData\Local\Temp\pip-req-build-ax_ecetg\cymunk\Chipmunk-Physics\include\chipmunk\chipmunk.h(36): fatal error C1083: Cannot open include file: 'alloca.h': No such file or directory
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.34.31933\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
  [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.

cymunk

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
Reply all
Reply to author
Forward
0 new messages