ERROR: Could not build wheels for kenlm which use PEP 517 and cannot be installe d directly
时间: 2023-10-29 12:20:17 浏览: 81
forgi-2.2.2.dist-info
ERROR: Could not build wheels for kenlm which use PEP 517 and cannot be installed directly. 这个错误是因为 kenlm 的构建过程中出现了问题,无法直接安装。根据引用中的提示,这可能是由于缺少 Rust 编译器导致的。引用中建议更新 pip 并重试软件包的安装,或者尝试从系统包管理器中安装 Rust 编译器,并确保它在安装过程中在 PATH 环境变量中。另外,引用中提到可以尝试使用 conda 指令进行安装,具体命令为 sudo conda install -n torch_m1 -c huggingface transformer。希望这些信息对您有帮助。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [ERROR: Could not build wheels for tokenizers which use PEP 517 and cannot be installed directly](https://blog.csdn.net/like_jmo/article/details/126574234)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文