Could not build wheels for lap

pip install lap
Collecting lap
Using cached lap-0.4.0.tar.gz (1.5 MB)
Preparing metadata (setup.py) … done
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
╰─> [120 lines of output]
C:UsersMubeenAppDataLocalTemppip-install-hh16qmmclap_9adc7bcb7b5f44e99e1eb4eed277ed1bsetup.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:UsersMubeenAppDataLocalTemppip-install-hh16qmmclap_9adc7bcb7b5f44e99e1eb4eed277ed1bsetup.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:UsersMubeenanaconda3Libsite-packagessetuptools_distutilscmd.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 buildlib.win-amd64-cpython-311
  creating buildlib.win-amd64-cpython-311lap
  copying laplapmod.py -> buildlib.win-amd64-cpython-311lap
  copying lap__init__.py -> buildlib.win-amd64-cpython-311lap
  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)
  creating C:UsersMubeenAppDataLocalTemptmpkm3g3h71Users
  creating C:UsersMubeenAppDataLocalTemptmpkm3g3h71UsersMubeen
  creating C:UsersMubeenAppDataLocalTemptmpkm3g3h71UsersMubeenanaconda3
  creating C:UsersMubeenAppDataLocalTemptmpkm3g3h71UsersMubeenanaconda3Lib
  creating C:UsersMubeenAppDataLocalTemptmpkm3g3h71UsersMubeenanaconda3Libsite-packages
  creating C:UsersMubeenAppDataLocalTemptmpkm3g3h71UsersMubeenanaconda3Libsite-packagesnumpy
  creating C:UsersMubeenAppDataLocalTemptmpkm3g3h71UsersMubeenanaconda3Libsite-packagesnumpydistutils
  creating C:UsersMubeenAppDataLocalTemptmpkm3g3h71UsersMubeenanaconda3Libsite-packagesnumpydistutilschecks
  INFO: CCompilerOpt.cc_test_flags[1077] : testing flags (/WX)
  WARN: CCompilerOpt.__init__[1244] : feature 'AVX512_KNL' is disabled, MSVC compiler doesn't support it
  WARN: CCompilerOpt.__init__[1244] : feature 'AVX512_KNM' is disabled, MSVC compiler doesn't support it
  INFO: CCompilerOpt.__init__[1786] : check requested baseline
  INFO: CCompilerOpt.feature_test[1551] : testing feature 'SSE' with flags ()
  INFO: CCompilerOpt.feature_test[1551] : testing feature 'SSE2' with flags ()
  INFO: CCompilerOpt.feature_test[1551] : testing feature 'SSE3' with flags ()
  INFO: CCompilerOpt.__init__[1795] : check requested dispatch-able features
  INFO: CCompilerOpt.cc_test_flags[1077] : testing flags (/arch:AVX)
  INFO: CCompilerOpt.feature_test[1551] : testing feature 'F16C' with flags (/arch:AVX)
  INFO: CCompilerOpt.feature_test[1551] : testing feature 'SSE41' with flags ()
  INFO: CCompilerOpt.feature_test[1551] : testing feature 'AVX' with flags (/arch:AVX)
  INFO: CCompilerOpt.feature_test[1551] : testing feature 'POPCNT' with flags ()
  INFO: CCompilerOpt.feature_test[1551] : testing feature 'SSE42' with flags ()
  INFO: CCompilerOpt.cc_test_flags[1077] : testing flags (/arch:AVX2)
  INFO: CCompilerOpt.feature_test[1551] : testing feature 'AVX2' with flags (/arch:AVX2)
  INFO: CCompilerOpt.feature_test[1551] : testing feature 'SSSE3' with flags ()
  INFO: CCompilerOpt.feature_test[1551] : testing feature 'FMA3' with flags (/arch:AVX2)
  INFO: CCompilerOpt.cc_test_flags[1077] : testing flags (/arch:AVX512)
  INFO: CCompilerOpt.feature_test[1551] : testing feature 'AVX512CD' with flags (/arch:AVX512)
  INFO: CCompilerOpt.feature_test[1551] : testing feature 'AVX512F' with flags (/arch:AVX512)
  INFO: CCompilerOpt.feature_test[1551] : testing feature 'AVX512_SKX' with flags (/arch:AVX512)
  INFO: CCompilerOpt.feature_test[1551] : testing feature 'AVX512_CNL' with flags (/arch:AVX512)
  INFO: CCompilerOpt.feature_test[1551] : testing feature 'AVX512_CLX' with flags (/arch:AVX512)
  INFO: CCompilerOpt.feature_test[1551] : testing feature 'AVX512_ICL' with flags (/arch:AVX512)
  INFO: CCompilerOpt.__init__[1807] : skip features (SSE2 SSE SSE3) since its part of baseline
  INFO: CCompilerOpt.__init__[1811] : initialize targets groups
  INFO: CCompilerOpt.__init__[1813] : parse target group simd_test
  INFO: CCompilerOpt._parse_target_tokens[2024] : skip targets (VSX4 VXE VSX2 NEON FMA4 VSX XOP VSX3 ASIMD VX VXE2) not part of baseline or dispatch-able features
  INFO: CCompilerOpt._parse_policy_not_keepbase[2136] : skip baseline features (SSE2)
  INFO: CCompilerOpt.generate_dispatch_header[2357] : generate CPU dispatch header: (buildsrc.win-amd64-3.11numpydistutilsincludenpy_cpu_dispatch_config.h)
  WARN: CCompilerOpt.generate_dispatch_header[2366] : dispatch header dir buildsrc.win-amd64-3.11numpydistutilsinclude does not exist, creating it
  INFO: CCompilerOpt.feature_extra_checks[1631] : Testing extra checks for feature 'AVX512F' (AVX512F_REDUCE)
  INFO: CCompilerOpt.feature_extra_checks[1631] : Testing extra checks for feature 'AVX512_SKX' (AVX512BW_MASK AVX512DQ_MASK)
  INFO: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
  INFO: customize MSVCCompiler
  WARN: Missing compiler_cxx fix for MSVCCompiler
  INFO: customize MSVCCompiler using build_ext
  INFO: building 'lap._lapjv' extension
  INFO: compiling C sources
  creating buildtemp.win-amd64-cpython-311Releaselap
  INFO: C:Program Files (x86)Microsoft Visual Studio2022BuildToolsVCToolsMSVC14.39.33519binHostX86x64cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:UsersMubeenanaconda3Libsite-packagesnumpycoreinclude -Ilap -IC:UsersMubeenanaconda3Libsite-packagesnumpycoreinclude -Ibuildsrc.win-amd64-3.11numpydistutilsinclude -IC:UsersMubeenanaconda3include -IC:UsersMubeenanaconda3Include -IC:Program Files (x86)Microsoft Visual Studio2022BuildToolsVCToolsMSVC14.39.33519include -IC:Program Files (x86)Microsoft Visual Studio2022BuildToolsVCAuxiliaryVSinclude -IC:Program Files (x86)Windows Kits10include10.0.22621.0ucrt -IC:Program Files (x86)Windows Kits10\include10.0.22621.0\um -IC:Program Files (x86)Windows Kits10\include10.0.22621.0\shared -IC:Program Files (x86)Windows Kits10\include10.0.22621.0\winrt -IC:Program Files (x86)Windows Kits10\include10.0.22621.0\cppwinrt /EHsc /Tplap_lapjv.cpp /Fobuildtemp.win-amd64-cpython-311Releaselap_lapjv.obj /Zm1000
  _lapjv.cpp
  lap_lapjv.cpp(181): fatal error C1083: Cannot open include file: 'longintrepr.h': No such file or directory
  error: Command "C:Program Files (x86)Microsoft Visual Studio2022BuildToolsVCToolsMSVC14.39.33519binHostX86x64cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:UsersMubeenanaconda3Libsite-packagesnumpycoreinclude -Ilap -IC:UsersMubeenanaconda3Libsite-packagesnumpycoreinclude -Ibuildsrc.win-amd64-3.11numpydistutilsinclude -IC:UsersMubeenanaconda3include -IC:UsersMubeenanaconda3Include -IC:Program Files (x86)Microsoft Visual Studio2022BuildToolsVCToolsMSVC14.39.33519include -IC:Program Files (x86)Microsoft Visual Studio2022BuildToolsVCAuxiliaryVSinclude -IC:Program Files (x86)Windows Kits10include10.0.22621.0ucrt -IC:Program Files (x86)Windows Kits10\include10.0.22621.0\um -IC:Program Files (x86)Windows Kits10\include10.0.22621.0\shared -IC:Program Files (x86)Windows Kits10\include10.0.22621.0\winrt -IC:Program Files (x86)Windows Kits10\include10.0.22621.0\cppwinrt /EHsc /Tplap_lapjv.cpp /Fobuildtemp.win-amd64-cpython-311Releaselap_lapjv.obj /Zm1000" failed with exit status 2
  INFO:
  ########### EXT COMPILER OPTIMIZATION ###########
  INFO: Platform      :
    Architecture: x64
    Compiler    : msvc

  CPU baseline  :
    Requested   : 'min'
    Enabled     : SSE SSE2 SSE3
    Flags       : none
    Extra checks: none

  CPU dispatch  :
    Requested   : 'max -xop -fma4'
    Enabled     : SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 AVX512F AVX512CD AVX512_SKX AVX512_CLX AVX512_CNL AVX512_ICL
    Generated   : none
  INFO: CCompilerOpt.cache_flush[857] : write cache to path -> C:UsersMubeenAppDataLocalTemppip-install-hh16qmmclap_9adc7bcb7b5f44e99e1eb4eed277ed1bbuildtemp.win-amd64-cpython-311Releaseccompiler_opt_cache_ext.py
  [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

i am having following issue when i run the pip install lap command in vs code. Need your guidance

New contributor

Mubeen chaghtai is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật