- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试安装 bertopic,但出现此错误:
pip install bertopic
Collecting bertopic
> Using cached bertopic-0.11.0-py2.py3-none-any.whl (76 kB)
> Collecting hdbscan>=0.8.28
> Using cached hdbscan-0.8.28.tar.gz (5.2 MB)
> Installing build dependencies: started
> Installing build dependencies: finished with status 'done'
> Getting requirements to build wheel: started
> Getting requirements to build wheel: finished with status 'done'
> Preparing metadata (pyproject.toml): started
> Preparing metadata (pyproject.toml): finished with status 'done'
> Requirement already satisfied: tqdm>=4.41.1 in c:\users\martin kunth\anaconda3\lib\site-packages (from bertopic) (4.62.3)
> Collecting umap-learn>=0.5.0
> Using cached umap_learn-0.5.3-py3-none-any.whl
> Requirement already satisfied: scikit-learn>=0.22.2.post1 in c:\users\martin kunth\anaconda3\lib\site-packages (from bertopic)
>
(0.24.2)
>
Requirement already satisfied: numpy>=1.20.0 in c:\users\martin kunth\anaconda3\lib\site-packages (from bertopic)
> (1.20.3)
> Collecting plotly>=4.7.0
> Using cached plotly-5.9.0-py2.py3-none-any.whl (15.2 MB)
> Requirement already satisfied: pandas>=1.1.5 in c:\users\martin kunth\anaconda3\lib\site-packages (from bertopic)
> (1.3.4)
> Collecting pyyaml<6.0
> Note: you may need to restart the kernel to use updated packages.
> error: subprocess-exited-with-error
>
>
Building wheel for hdbscan (pyproject.toml) did not run successfully.
> exit code: 1
>
> [40 lines of output]
> running bdist_wheel
> running build
> running build_py
> creating build
> creating build\lib.win-amd64-cpython-39
> creating build\lib.win-amd64-cpython-39\hdbscan
> copying hdbscan\flat.py -> build\lib.win-amd64-cpython-39\hdbscan
> copying hdbscan\hdbscan_.py -> build\lib.win-amd64-cpython-39\hdbscan
> copying hdbscan\plots.py -> build\lib.win-amd64-cpython-39\hdbscan
> copying hdbscan\prediction.py -> build\lib.win-amd64-cpython-39\hdbscan
> copying hdbscan\robust_single_linkage_.py -> build\lib.win-amd64-cpython-39\hdbscan
> copying hdbscan\validity.py -> build\lib.win-amd64-cpython-39\hdbscan
> copying hdbscan\__init__.py -> build\lib.win-amd64-cpython-39\hdbscan
> creating build\lib.win-amd64-cpython-39\hdbscan\tests
> copying hdbscan\tests\test_flat.py -> build\lib.win-amd64-cpython-39\hdbscan\tests
> copying hdbscan\tests\test_hdbscan.py -> build\lib.win-amd64-cpython-39\hdbscan\tests
> copying hdbscan\tests\test_prediction_utils.py -> build\lib.win-amd64-cpython-39\hdbscan\tests
> copying hdbscan\tests\test_rsl.py -> build\lib.win-amd64-cpython-39\hdbscan\tests
> copying hdbscan\tests\__init__.py -> build\lib.win-amd64-cpython-39\hdbscan\tests
> running build_ext
> cythoning hdbscan/_hdbscan_tree.pyx to hdbscan\_hdbscan_tree.c
> C:\Users\Martin Kunth\AppData\Local\Temp\pip-build-env-a026odlf\overlay\Lib\site-packages\Cython\Compiler\Main.py:369:
> FutureWarning: Cython directive 'language_level' not set, using 2 for
> now (Py2). This will change in a later release! File: C:\Users\Martin
> Kunth\AppData\Local\Temp\pip-install-2r29izqw\hdbscan_215c105aa4414866a73cfee4bf64c07a\hdbscan\_hdbscan_tree.pyx
> tree = Parsing.p_module(s, pxd, full_module_name)
> cythoning hdbscan/_hdbscan_linkage.pyx to hdbscan\_hdbscan_linkage.c
> C:\Users\Martin Kunth\AppData\Local\Temp\pip-build-env-a026odlf\overlay\Lib\site-packages\Cython\Compiler\Main.py:369:
> FutureWarning: Cython directive 'language_level' not set, using 2 for
> now (Py2). This will change in a later release! File: C:\Users\Martin
> Kunth\AppData\Local\Temp\pip-install-2r29izqw\hdbscan_215c105aa4414866a73cfee4bf64c07a\hdbscan\_hdbscan_linkage.pyx
> tree = Parsing.p_module(s, pxd, full_module_name)
> cythoning hdbscan/_hdbscan_boruvka.pyx to hdbscan\_hdbscan_boruvka.c
> C:\Users\Martin Kunth\AppData\Local\Temp\pip-build-env-a026odlf\overlay\Lib\site-packages\Cython\Compiler\Main.py:369:
> FutureWarning: Cython directive 'language_level' not set, using 2 for
> now (Py2). This will change in a later release! File: C:\Users\Martin
> Kunth\AppData\Local\Temp\pip-install-2r29izqw\hdbscan_215c105aa4414866a73cfee4bf64c07a\hdbscan\_hdbscan_boruvka.pyx
> tree = Parsing.p_module(s, pxd, full_module_name)
> cythoning hdbscan/_hdbscan_reachability.pyx to hdbscan\_hdbscan_reachability.c
> C:\Users\Martin Kunth\AppData\Local\Temp\pip-build-env-a026odlf\overlay\Lib\site-packages\Cython\Compiler\Main.py:369:
> FutureWarning: Cython directive 'language_level' not set, using 2 for
> now (Py2). This will change in a later release! File: C:\Users\Martin
> Kunth\AppData\Local\Temp\pip-install-2r29izqw\hdbscan_215c105aa4414866a73cfee4bf64c07a\hdbscan\_hdbscan_reachability.pyx
> tree = Parsing.p_module(s, pxd, full_module_name)
> cythoning hdbscan/_prediction_utils.pyx to hdbscan\_prediction_utils.c
> C:\Users\Martin Kunth\AppData\Local\Temp\pip-build-env-a026odlf\overlay\Lib\site-packages\Cython\Compiler\Main.py:369:
> FutureWarning: Cython directive 'language_level' not set, using 2 for
> now (Py2). This will change in a later release! File: C:\Users\Martin
> Kunth\AppData\Local\Temp\pip-install-2r29izqw\hdbscan_215c105aa4414866a73cfee4bf64c07a\hdbscan\_prediction_utils.pyx
> tree = Parsing.p_module(s, pxd, full_module_name)
> cythoning hdbscan/dist_metrics.pyx to hdbscan\dist_metrics.c
> C:\Users\Martin Kunth\AppData\Local\Temp\pip-build-env-a026odlf\overlay\Lib\site-packages\Cython\Compiler\Main.py:369:
> FutureWarning: Cython directive 'language_level' not set, using 2 for
> now (Py2). This will change in a later release! File: C:\Users\Martin
> Kunth\AppData\Local\Temp\pip-install-2r29izqw\hdbscan_215c105aa4414866a73cfee4bf64c07a\hdbscan\dist_metrics.pxd
> tree = Parsing.p_module(s, pxd, full_module_name)
> Using cached PyYAML-5.4.1-cp39-cp39-win_amd64.whl (213 kB)
> Collecting sentence-transformers>=0.4.1
> Using cached sentence_transformers-2.2.2-py3-none-any.whl
> Requirement already satisfied: scipy>=1.0 in c:\users\martin kunth\anaconda3\lib\site-packages (from hdbscan>=0.8.28->bertopic)
> (1.7.1)
> Requirement already satisfied: cython>=0.27 in c:\users\martin kunth\anaconda3\lib\site-packages (from hdbscan>=0.8.28->bertopic)
> (0.29.28)
> Requirement already satisfied: joblib>=1.0 in c:\users\martin kunth\anaconda3\lib\site-packages (from hdbscan>=0.8.28->bertopic)
> (1.1.0)
> Requirement already satisfied: python-dateutil>=2.7.3 in c:\users\martin kunth\anaconda3\lib\site-packages (from
> pandas>=1.1.5->bertopic) (2.8.2)
> Requirement already satisfied: pytz>=2017.3 in c:\users\martin kunth\anaconda3\lib\site-packages (from pandas>=1.1.5->bertopic)
> (2021.3)
> Collecting tenacity>=6.2.0
> Using cached tenacity-8.0.1-py3-none-any.whl (24 kB)
> Requirement already satisfied: threadpoolctl>=2.0.0 in c:\users\martin kunth\anaconda3\lib\site-packages (from
> scikit-learn>=0.22.2.post1->bertopic) (2.2.0)
> Collecting torch>=1.6.0
> Using cached torch-1.12.0-cp39-cp39-win_amd64.whl (161.8 MB)
> Collecting sentencepiece
> Using cached sentencepiece-0.1.96-cp39-cp39-win_amd64.whl (1.1 MB)
> Requirement already satisfied: nltk in c:\users\martin kunth\anaconda3\lib\site-packages (from
> sentence-transformers>=0.4.1->bertopic) (3.6.5)
> Collecting torchvision
> Using cached torchvision-0.13.0-cp39-cp39-win_amd64.whl (1.1 MB)
> Collecting transformers<5.0.0,>=4.6.0
> Using cached transformers-4.21.0-py3-none-any.whl (4.7 MB)
> Collecting huggingface-hub>=0.4.0
> Using cached huggingface_hub-0.8.1-py3-none-any.whl (101 kB)
> Requirement already satisfied: colorama in c:\users\martin kunth\anaconda3\lib\site-packages (from tqdm>=4.41.1->bertopic)
> (0.4.4)
> Collecting pynndescent>=0.5
> Using cached pynndescent-0.5.7-py3-none-any.whl
> Requirement already satisfied: numba>=0.49 in c:\users\martin kunth\anaconda3\lib\site-packages (from umap-learn>=0.5.0->bertopic)
> (0.54.1)
> Requirement already satisfied: filelock in c:\users\martin kunth\anaconda3\lib\site-packages (from
> huggingface-hub>=0.4.0->sentence-transformers>=0.4.1->bertopic)
> (3.3.1)
> Requirement already satisfied: typing-extensions>=3.7.4.3 in c:\users\martin kunth\anaconda3\lib\site-packages (from
> huggingface-hub>=0.4.0->sentence-transformers>=0.4.1->bertopic)
> (3.10.0.2)
> Requirement already satisfied: requests in c:\users\martin kunth\anaconda3\lib\site-packages (from
> huggingface-hub>=0.4.0->sentence-transformers>=0.4.1->bertopic)
> (2.27.1)
> Requirement already satisfied: packaging>=20.9 in c:\users\martin kunth\anaconda3\lib\site-packages (from
> huggingface-hub>=0.4.0->sentence-transformers>=0.4.1->bertopic) (21.0)
> Requirement already satisfied: setuptools in c:\users\martin kunth\anaconda3\lib\site-packages (from
> numba>=0.49->umap-learn>=0.5.0->bertopic) (58.0.4)
> Requirement already satisfied: llvmlite<0.38,>=0.37.0rc1 in c:\users\martin kunth\anaconda3\lib\site-packages (from
> numba>=0.49->umap-learn>=0.5.0->bertopic) (0.37.0)
> Requirement already satisfied: six>=1.5 in c:\users\martin kunth\anaconda3\lib\site-packages (from
> python-dateutil>=2.7.3->pandas>=1.1.5->bertopic) (1.16.0)
> Requirement already satisfied: regex!=2019.12.17 in c:\users\martin kunth\anaconda3\lib\site-packages (from
> transformers<5.0.0,>=4.6.0->sentence-transformers>=0.4.1->bertopic)
> (2021.8.3)
> Collecting tokenizers!=0.11.3,<0.13,>=0.11.1
> Using cached tokenizers-0.12.1-cp39-cp39-win_amd64.whl (3.3 MB)
> Requirement already satisfied: click in c:\users\martin kunth\anaconda3\lib\site-packages (from
> nltk->sentence-transformers>=0.4.1->bertopic) (7.1.2)
> Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in c:\users\martin kunth\anaconda3\lib\site-packages (from
> torchvision->sentence-transformers>=0.4.1->bertopic) (8.4.0)
> Requirement already satisfied: pyparsing>=2.0.2 in c:\users\martin kunth\anaconda3\lib\site-packages (from
> packaging>=20.9->huggingface-hub>=0.4.0->sentence-transformers>=0.4.1->bertopic) (3.0.4)
> Requirement already satisfied: charset-normalizer~=2.0.0 in c:\users\martin kunth\anaconda3\lib\site-packages (from
> requests->huggingface-hub>=0.4.0->sentence-transformers>=0.4.1->bertopic)
> (2.0.4)
> Requirement already satisfied: certifi>=2017.4.17 in c:\users\martin kunth\anaconda3\lib\site-packages (from
> requests->huggingface-hub>=0.4.0->sentence-transformers>=0.4.1->bertopic)
> (2021.10.8)
> Requirement already satisfied: idna<4,>=2.5 in c:\users\martin kunth\anaconda3\lib\site-packages (from
> requests->huggingface-hub>=0.4.0->sentence-transformers>=0.4.1->bertopic)
> (3.2)
> Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\martin kunth\anaconda3\lib\site-packages (from
> requests->huggingface-hub>=0.4.0->sentence-transformers>=0.4.1->bertopic)
> (1.26.7)
> Building wheels for collected packages: hdbscan
> Building wheel for hdbscan (pyproject.toml): started
> Building wheel for hdbscan (pyproject.toml): finished with status 'error'
> Failed to build hdbscan
> building 'hdbscan._hdbscan_tree' extension
> 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 hdbscan
> ERROR: Could not build wheels for hdbscan, which is required to install pyproject.toml-based projects
我安装了 Microsoft Visual C++ 2015-2019 Redistributable (x86) - 14.32.31332。我也升级了我的 pip pip-22.2.1
我尝试安装 hdbscan,但我也遇到了错误:
pip install hdbscan
> Collecting hdbscan
> Using cached hdbscan-0.8.28.tar.gz (5.2 MB)
> Installing build dependencies: started
> Installing build dependencies: finished with status 'done'
> Getting requirements to build wheel: started
> Getting requirements to build wheel: finished with status 'done'
> Preparing metadata (pyproject.toml): started
> Preparing metadata (pyproject.toml): finished with status 'done'
> Requirement already satisfied: scikit-learn>=0.20 in c:\users\martin kunth\anaconda3\lib\site-packages (from hdbscan)
> (0.24.2)
> Requirement already satisfied: joblib>=1.0 in c:\users\martin kunth\anaconda3\lib\site-packages (from hdbscan) (1.1.0)
> Requirement already satisfied: scipy>=1.0 in c:\users\martin kunth\anaconda3\lib\site-packages (from hdbscan) (1.7.1)
> Requirement already satisfied: numpy>=1.20 in c:\users\martin kunth\anaconda3\lib\site-packages (from hdbscan) (1.20.3)
> Requirement already satisfied: cython>=0.27 in c:\users\martin kunth\anaconda3\lib\site-packages (from hdbscan) (0.29.28)
> Requirement already satisfied: threadpoolctl>=2.0.0 in c:\users\martin kunth\anaconda3\lib\site-packages (from
> scikit-learn>=0.20->hdbscan) (2.2.0)
> Building wheels for collected packages: hdbscan
> Building wheel for hdbscan (pyproject.toml): started
> Building wheel for hdbscan (pyproject.toml): finished with status 'error'
> Failed to build hdbscan
> Note: you may need to restart the kernel to use updated packages.
> error: subprocess-exited-with-error
>
> Building wheel for hdbscan (pyproject.toml) did not run successfully.
> exit code: 1
>
> [40 lines of output]
> running bdist_wheel
> running build
> running build_py
> creating build
> creating build\lib.win-amd64-cpython-39
> creating build\lib.win-amd64-cpython-39\hdbscan
> copying hdbscan\flat.py -> build\lib.win-amd64-cpython-39\hdbscan
> copying hdbscan\hdbscan_.py -> build\lib.win-amd64-cpython-39\hdbscan
> copying hdbscan\plots.py -> build\lib.win-amd64-cpython-39\hdbscan
> copying hdbscan\prediction.py -> build\lib.win-amd64-cpython-39\hdbscan
> copying hdbscan\robust_single_linkage_.py -> build\lib.win-amd64-cpython-39\hdbscan
> copying hdbscan\validity.py -> build\lib.win-amd64-cpython-39\hdbscan
> copying hdbscan\__init__.py -> build\lib.win-amd64-cpython-39\hdbscan
> creating build\lib.win-amd64-cpython-39\hdbscan\tests
> copying hdbscan\tests\test_flat.py -> build\lib.win-amd64-cpython-39\hdbscan\tests
> copying hdbscan\tests\test_hdbscan.py -> build\lib.win-amd64-cpython-39\hdbscan\tests
> copying hdbscan\tests\test_prediction_utils.py -> build\lib.win-amd64-cpython-39\hdbscan\tests
> copying hdbscan\tests\test_rsl.py -> build\lib.win-amd64-cpython-39\hdbscan\tests
> copying hdbscan\tests\__init__.py -> build\lib.win-amd64-cpython-39\hdbscan\tests
> running build_ext
> cythoning hdbscan/_hdbscan_tree.pyx to hdbscan\_hdbscan_tree.c
> C:\Users\Martin Kunth\AppData\Local\Temp\pip-build-env-cn18pe9m\overlay\Lib\site-packages\Cython\Compiler\Main.py:369:
> FutureWarning: Cython directive 'language_level' not set, using 2 for
> now (Py2). This will change in a later release! File: C:\Users\Martin
> Kunth\AppData\Local\Temp\pip-install-k2_bwg0z\hdbscan_9b50b30873a2465bb3156fb27111abf2\hdbscan\_hdbscan_tree.pyx
> tree = Parsing.p_module(s, pxd, full_module_name)
> cythoning hdbscan/_hdbscan_linkage.pyx to hdbscan\_hdbscan_linkage.c
> C:\Users\Martin Kunth\AppData\Local\Temp\pip-build-env-cn18pe9m\overlay\Lib\site-packages\Cython\Compiler\Main.py:369:
> FutureWarning: Cython directive 'language_level' not set, using 2 for
> now (Py2). This will change in a later release! File: C:\Users\Martin
> Kunth\AppData\Local\Temp\pip-install-k2_bwg0z\hdbscan_9b50b30873a2465bb3156fb27111abf2\hdbscan\_hdbscan_linkage.pyx
> tree = Parsing.p_module(s, pxd, full_module_name)
> cythoning hdbscan/_hdbscan_boruvka.pyx to hdbscan\_hdbscan_boruvka.c
> C:\Users\Martin Kunth\AppData\Local\Temp\pip-build-env-cn18pe9m\overlay\Lib\site-packages\Cython\Compiler\Main.py:369:
> FutureWarning: Cython directive 'language_level' not set, using 2 for
> now (Py2). This will change in a later release! File: C:\Users\Martin
> Kunth\AppData\Local\Temp\pip-install-k2_bwg0z\hdbscan_9b50b30873a2465bb3156fb27111abf2\hdbscan\_hdbscan_boruvka.pyx
> tree = Parsing.p_module(s, pxd, full_module_name)
> cythoning hdbscan/_hdbscan_reachability.pyx to hdbscan\_hdbscan_reachability.c
> C:\Users\Martin Kunth\AppData\Local\Temp\pip-build-env-cn18pe9m\overlay\Lib\site-packages\Cython\Compiler\Main.py:369:
> FutureWarning: Cython directive 'language_level' not set, using 2 for
> now (Py2). This will change in a later release! File: C:\Users\Martin
> Kunth\AppData\Local\Temp\pip-install-k2_bwg0z\hdbscan_9b50b30873a2465bb3156fb27111abf2\hdbscan\_hdbscan_reachability.pyx
> tree = Parsing.p_module(s, pxd, full_module_name)
> cythoning hdbscan/_prediction_utils.pyx to hdbscan\_prediction_utils.c
> C:\Users\Martin Kunth\AppData\Local\Temp\pip-build-env-cn18pe9m\overlay\Lib\site-packages\Cython\Compiler\Main.py:369:
> FutureWarning: Cython directive 'language_level' not set, using 2 for
> now (Py2). This will change in a later release! File: C:\Users\Martin
> Kunth\AppData\Local\Temp\pip-install-k2_bwg0z\hdbscan_9b50b30873a2465bb3156fb27111abf2\hdbscan\_prediction_utils.pyx
> tree = Parsing.p_module(s, pxd, full_module_name)
> cythoning hdbscan/dist_metrics.pyx to hdbscan\dist_metrics.c
> C:\Users\Martin Kunth\AppData\Local\Temp\pip-build-env-cn18pe9m\overlay\Lib\site-packages\Cython\Compiler\Main.py:369:
> FutureWarning: Cython directive 'language_level' not set, using 2 for
> now (Py2). This will change in a later release! File: C:\Users\Martin
> Kunth\AppData\Local\Temp\pip-install-k2_bwg0z\hdbscan_9b50b30873a2465bb3156fb27111abf2\hdbscan\dist_metrics.pxd
> tree = Parsing.p_module(s, pxd, full_module_name)
> building 'hdbscan._hdbscan_tree' extension
> 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 hdbscan
> ERROR: Could not build wheels for hdbscan, which is required to install pyproject.toml-based projects
我现在不知道如何进行。任何帮助,将不胜感激。非常感谢。
最佳答案
你可以通过安装python-dev
来解决这个问题
python3 -m pip install python-dev-tools --user --upgrade
此外,尝试使用 conda install
而不是 pip
conda install -c conda-forge hdbscan
此外,请确保安装 Microsoft Visual C++
关于python - 如何解决安装基于 pyproject.toml 的项目所需的错误 : Could not build wheels for hdbscan,,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/73171473/
背景 我正要尝试从GitHub下载的Python包,发现它没有setup.py ,所以我无法安装它 pip install -e 相反,该软件包具有 pyproject.toml 文件似乎具有与 s
Pip 支持 pyproject.toml文件,但到目前为止,新模式的所有实际使用都需要一个 3rd 方工具来自动生成这些文件(例如,诗歌和 pip)。不像 setup.py这已经是人类可写的,pyp
src(mlm) 目录下的 python 文件将被忽略。我已将 mlm 目录包含在 where 中以查找包。 [build-system] requires = ["setuptools"] buil
我正在使用诗歌来创建 .whl 文件。 我有一个在远程主机上运行的 ftp 服务器。 我编写了一个 python 脚本(log_revision.py),它在数据库中保存 git commit,更多参
我发现python可以使用pyproject.toml来列出依赖项而不是requirements.txt文件。它更方便,并且与节 pip 的 package.json 非常相似。但是,我找不到像 np
我有一个带有 pyproject.toml 文件的 python 项目。通常我将项目的版本号存储在 pyproject.toml 中,如下所示: % grep version pyproject.to
通常,在为 pytest 定义环境变量时使用 pytest-env插件,这是使用 pytest.ini 完成的: [pytest] env = DATA_DIR = data/test_ass
Pytest cov 未从 pyproject.toml 文件中读取其设置。我正在使用 nox,所以我使用以下命令运行测试: python3 -m nox 即使没有 nox,我似乎也有同样的问题。 其
我有一个pyproject.toml,并且我已经做了poetry init(显然)和poetry install。 如果我手动更改 toml 文件,我到底需要做什么? 一方面,我认为我必须同步poet
我正在试一试 pyproject.toml 文件,但我坚持执行这个简单的任务。考虑以下可选依赖项: [project.optional-dependencies] style = ["black",
在有些复杂的 Python setup.py 配置中,通常需要其他已经存在的库才能执行 setuptools.setup。在我的例子中,这将是 setuptools>=45.0 和 cython>=0
以前,在定义如何构建 Python 包时,您可以使用 Manifest.in 中的一行来包含文件夹。 : recursive-include my_package/assets * 不过,我想poet
仅通过 pyproject.toml 指定项目时(即没有 setup.{py,cfg} 文件),如何通过 pip 以可编辑模式安装它(即 python -m pip install -e . )? 我
我在尝试安装 PyAudio 时遇到此错误: ERROR: Could not build wheels for pyaudio, which is required to install pypro
我在安装 pymsql 时遇到问题,你们中有人遇到过类似情况吗? 我发现了与我的 M1 用户类似的问题 Link 我也试过: 升级pip:python -m pip install --upgrade
我正在尝试安装 bertopic,但出现此错误: pip install bertopic Collecting bertopic > Using cached ber
我正在尝试通过笔记本电脑上的 pip install pandas 安装 pandas。 环境: Windows 11 专业版 python 3.10.4 pip 版本 22.0.4 兼容性: Off
GitLab 用于为包注册表打包 Python 项目的说明指导用户创建一个包含以下内容的 pyproject.toml 文件: [build-system] requires = ["setuptoo
我在使用对象检测 API 安装 TensorFlow 时遇到问题。我按照此 URL 中的步骤操作:https://github.com/tensorflow/models/blob/master/re
在未 root 的 Samsung Galaxy s10 Android 12 上使用 Termux 安装 bit 时出错 ~ $ pip3 install bit
我是一名优秀的程序员,十分优秀!