Skip to content

Problem while installing pybinding #61

@joyphysics

Description

@joyphysics

I am trying to install the package on Windows 11. Even I tried to install it on Ubuntu, I am still getting the same error.

I have ->
Python 3.10.11
cmake version 3.30.1
visual studio 2022 17.10.5
and others as well....

pip3 install pybinding
Collecting pybinding
  Using cached pybinding-0.9.5.tar.gz (1.6 MB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy>=1.12 in c:\users\hp\appdata\local\programs\python\python310\lib\site-packages (from pybinding) (2.0.1)
Requirement already satisfied: scipy>=0.19 in c:\users\hp\appdata\local\programs\python\python310\lib\site-packages (from pybinding) (1.14.0)
Requirement already satisfied: matplotlib>=2.0 in c:\users\hp\appdata\local\programs\python\python310\lib\site-packages (from pybinding) (3.9.1)
Requirement already satisfied: pytest>=5.0 in c:\users\hp\appdata\local\programs\python\python310\lib\site-packages (from pybinding) (8.3.2)
Requirement already satisfied: contourpy>=1.0.1 in c:\users\hp\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=2.0->pybinding) (1.2.1)
Requirement already satisfied: cycler>=0.10 in c:\users\hp\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=2.0->pybinding) (0.12.1)
Requirement already satisfied: fonttools>=4.22.0 in c:\users\hp\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=2.0->pybinding) (4.53.1)
Requirement already satisfied: kiwisolver>=1.3.1 in c:\users\hp\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=2.0->pybinding) (1.4.5)
Requirement already satisfied: packaging>=20.0 in c:\users\hp\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=2.0->pybinding) (24.1)
Requirement already satisfied: pillow>=8 in c:\users\hp\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=2.0->pybinding) (10.4.0)
Requirement already satisfied: pyparsing>=2.3.1 in c:\users\hp\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=2.0->pybinding) (3.1.2)
Requirement already satisfied: python-dateutil>=2.7 in c:\users\hp\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=2.0->pybinding) (2.9.0.post0)
Requirement already satisfied: iniconfig in c:\users\hp\appdata\local\programs\python\python310\lib\site-packages (from pytest>=5.0->pybinding) (2.0.0)
Requirement already satisfied: pluggy<2,>=1.5 in c:\users\hp\appdata\local\programs\python\python310\lib\site-packages (from pytest>=5.0->pybinding) (1.5.0)
Requirement already satisfied: exceptiongroup>=1.0.0rc8 in c:\users\hp\appdata\local\programs\python\python310\lib\site-packages (from pytest>=5.0->pybinding) (1.2.2)
Requirement already satisfied: tomli>=1 in c:\users\hp\appdata\local\programs\python\python310\lib\site-packages (from pytest>=5.0->pybinding) (2.0.1)
Requirement already satisfied: colorama in c:\users\hp\appdata\local\programs\python\python310\lib\site-packages (from pytest>=5.0->pybinding) (0.4.6)
Requirement already satisfied: six>=1.5 in c:\users\hp\appdata\local\programs\python\python310\lib\site-packages (from python-dateutil>=2.7->matplotlib>=2.0->pybinding) (1.16.0)
Building wheels for collected packages: pybinding
  Building wheel for pybinding (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [876 lines of output]
.
.
.
error continues . . . . 
.
.
.
      subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '/v:m', '/m']' returned non-zero exit status 1.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pybinding
  Running setup.py clean for pybinding
Failed to build pybinding
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pybinding)

Please provide a possible resolution to this issue or provide an alternate way to install the package. Thank you.

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