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

Open
SIRISIPALLINARENDRA opened this issue Jun 22, 2024 · 6 comments
Open

error: subprocess-exited-with-error #408

SIRISIPALLINARENDRA opened this issue Jun 22, 2024 · 6 comments

Comments

@SIRISIPALLINARENDRA
Copy link

Building wheels for collected packages: lap
Building wheel for lap (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [52 lines of output]
C:\Users\siris\AppData\Local\Temp\pip-install-yfc267dk\lap_beed07b910df4a8a8b
5b3c40845841c1\setup.py:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import parse_version
Partial import of lap during the build process.
C:\Users\siris\AppData\Local\Temp\pip-install-yfc267dk\lap_beed07b910df4a8a8b5b3c40845841c1\setup.py:223: DeprecationWarning:

    `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
    of the deprecation of `distutils` itself. It will be removed for
    Python >= 3.12. For older Python versions it will remain present.
    It is recommended to use `setuptools < 60.0` for those Python versions.    
    For more details, see:
      https://numpy.org/devdocs/reference/distutils_status_migration.html      


    from numpy.distutils.core import setup
  Generating cython files
  running bdist_wheel
  running build
  running config_cc
  INFO: unifing config_cc, config, build_clib, build_ext, build commands --compiler options
  running config_fc
  INFO: unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
  running build_src
  INFO: build_src
  INFO: building extension "lap._lapjv" sources
  INFO: building data_files sources
  INFO: build_src: building npy-pkg config files
  C:\Users\siris\.conda\envs\pythonProject3\lib\site-packages\setuptools\_distutils\cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.      
  !!

          ********************************************************************************
          Please avoid running ``setup.py`` directly.
          Instead, use pypa/build, pypa/installer or other
          standards-based tools.

          See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
          ********************************************************************************

  !!
    self.initialize_options()
  running build_py
  creating build
  creating build\lib.win-amd64-cpython-38
  creating build\lib.win-amd64-cpython-38\lap
  copying lap\lapmod.py -> build\lib.win-amd64-cpython-38\lap
  copying lap\__init__.py -> build\lib.win-amd64-cpython-38\lap
  running build_ext
  INFO: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  INFO: customize MSVCCompiler
  INFO: customize MSVCCompiler using build_ext
  INFO: CCompilerOpt.cc_test_flags[1077] : testing flags (/O2)
  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 lap
Running setup.py clean for lap
Failed to build lap
ERROR: Could not build wheels for lap, which is required to install pyproject.toml-based projects

@SIRISIPALLINARENDRA
Copy link
Author

i am geeting this error while running the requirements

@likith1908
Copy link

likith1908 commented Jul 9, 2024

I am also facing the same issue, I am using a MacBook Air M1.
I have installed the latest version of the libraries which show that exit code still it's not working, I am facing some build issues after that..

@SIRISIPALLINARENDRA
Copy link
Author

@likith1908 have you sloved this error

@likith1908
Copy link

Nope @SIRISIPALLINARENDRA

@SIRISIPALLINARENDRA
Copy link
Author

@likith1908 just now I have solved it

@likith1908
Copy link

@likith1908 just now I have solved it

Can you comment how did you solve that issue?

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

2 participants