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

unable to use and install in python12 #7

Open
Altria-Pendr opened this issue Sep 20, 2024 · 0 comments
Open

unable to use and install in python12 #7

Altria-Pendr opened this issue Sep 20, 2024 · 0 comments

Comments

@Altria-Pendr
Copy link

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
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