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

error: subprocess-exited-with-error #315

Open
nmww opened this issue Feb 20, 2024 · 0 comments
Open

error: subprocess-exited-with-error #315

nmww opened this issue Feb 20, 2024 · 0 comments

Comments

@nmww
Copy link

nmww commented Feb 20, 2024

image

image

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 109.2/109.2 kB 2.1 MB/s eta 0:00:00

Preparing metadata (setup.py) ... done
Requirement already satisfied: six>=1.5 in c:\users\pc\appdata\roaming\python\python37\site-packages (from python-dateutil>=2.7->matplotlib->cnstd>=1.2.3->cnocr[ort-cpu]) (1.16.0)
Building wheels for collected packages: Polygon3, pyreadline
Building wheel for Polygon3 (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [14 lines of output]
Using NumPy extension!
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\Polygon
copying Polygon\IO.py -> build\lib.win-amd64-3.7\Polygon
copying Polygon\Shapes.py -> build\lib.win-amd64-3.7\Polygon
copying Polygon\Utils.py -> build\lib.win-amd64-3.7\Polygon
copying Polygon_init_.py -> build\lib.win-amd64-3.7\Polygon
running build_ext
building 'Polygon.cPolygon' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for Polygon3
Running setup.py clean for Polygon3
Building wheel for pyreadline (setup.py) ... done
Created wheel for pyreadline: filename=pyreadline-2.1-py3-none-any.whl size=93852 sha256=89efe4a5e7f88a6241ef9536e66209c662b27199a0009206d636e42fce2f2bcb
Stored in directory: c:\users\pc\appdata\local\pip\cache\wheels\4d\90\28\e0a56429ed4e8629caeaae59d36193af08186191181f1de392
Successfully built pyreadline
Failed to build Polygon3
ERROR: Could not build wheels for Polygon3, which is required to install pyproject.toml-based projects

C:\Users\PC>pip install pyproject.toml-based projects -i https://mirrors.aliyun.com/pypi/simple
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://mirrors.aliyun.com/pypi/simple
ERROR: Could not find a version that satisfies the requirement pyproject.toml-based (from versions: none)
ERROR: No matching distribution found for pyproject.toml-based

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