Mamba413 / bess

Best Subset Selection algorithm for Regression, Classification, Count, Survival analysis
18 stars 2 forks source link

ERROR: Could not build wheels for bess, which is required to install pyproject.toml-based projects #2

Open DO891 opened 4 months ago

DO891 commented 4 months ago

C:\Users\DO>pip install bess Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting bess Downloading https://pypi.tuna.tsinghua.edu.cn/packages/89/cf/2b88045d7a5a211159d8370132a9375787b266035920883a8ea555312a5e/bess-0.0.13.tar.gz (1.4 MB) ---------------------------------------- 1.4/1.4 MB 946.5 kB/s eta 0:00:00 Preparing metadata (setup.py) ... done Requirement already satisfied: numpy in c:\users\do\appdata\local\programs\python\python312\lib\site-packages (from bess) (1.26.4) Building wheels for collected packages: bess Building wheel for bess (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [17 lines of output] 'bash' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-312 creating build\lib.win-amd64-cpython-312\bess copying bess\cbess.py -> build\lib.win-amd64-cpython-312\bess copying bess\gen_data.py -> build\lib.win-amd64-cpython-312\bess copying bess\linear.py -> build\lib.win-amd64-cpython-312\bess copying bess__init__.py -> build\lib.win-amd64-cpython-312\bess running build_ext building 'bess._cbess' extension swigging src/bess.i to src/bess_wrap.cpp swig.exe -python -c++ -o src/bess_wrap.cpp src/bess.i error: command 'swig.exe' failed: None [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for bess Running setup.py clean for bess Failed to build bess ERROR: Could not build wheels for bess, which is required to install pyproject.toml-based projects