Skip to content

unable to use and install in python12 #7

@Altria-Pendr

Description

@Altria-Pendr

the log is here

  Building wheel for Polygon3 (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for Polygon3 (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [13 lines of output]
      <string>:39: SyntaxWarning: invalid escape sequence '\|'
      NumPy extension not found - disabling support for it!
      running bdist_wheel
      running build
      running build_py
      creating build\lib.win-amd64-cpython-312\Polygon
      copying Polygon\IO.py -> build\lib.win-amd64-cpython-312\Polygon
      copying Polygon\Shapes.py -> build\lib.win-amd64-cpython-312\Polygon
      copying Polygon\Utils.py -> build\lib.win-amd64-cpython-312\Polygon
      copying Polygon\__init__.py -> build\lib.win-amd64-cpython-312\Polygon
      running build_ext
      building 'Polygon.cPolygon' extension
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for Polygon3
Failed to build Polygon3
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (Polygon3)```
according this log provided information
it shows that the system need Microsoft Visual C++ 14.0 or greater MVC,im installed MVC14,but it still cant run and install in my system,include CMD,powershell and even pycharm env cammand

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