no module named ‘lap‘

1、用pip install lap直接安装报错
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [59 lines of output]
Partial import of lap during the build process.
Generating cython files
running bdist_wheel
running build
running config_cc
running config_fc
running build_src
/home/max/anaconda3/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.

2、pip install lap git+https://github.com/samson-wang/cython_bbox.git@9badb346a9222c98f828ba45c63fe3b7f2790ea2也不行
3、到官网下载压缩包下不下来,不知道什么原因
4、最后成功的一次是 用下面的命令

conda install -c conda-forge lap

你可能感兴趣的:(python,linux,开发语言)