亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

瓶頸錯誤的造輪失敗

瓶頸錯誤的造輪失敗

開滿天機 2022-07-26 11:07:44
所以我試圖pip install bottleneck在命令 promt 中安裝瓶頸(通過做),我不斷收到錯誤:    ERROR: Command errored out with exit status 1:   command: 'c:\users\benito\appdata\local\programs\python\python36\python.exe' 'c:\users\benito\appdata\local\programs\python\python36\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\Benito\AppData\Local\Temp\tmp3cb_deoe'       cwd: C:\Users\Benito\AppData\Local\Temp\pip-install-hrd3bsvr\bottleneck  Complete output (51 lines):  running bdist_wheel  running build  running build_py  creating build  creating build\lib.win-amd64-3.6  creating build\lib.win-amd64-3.6\bottleneck  copying bottleneck\_pytesttester.py -> build\lib.win-amd64-3.6\bottleneck  copying bottleneck\_version.py -> build\lib.win-amd64-3.6\bottleneck  copying bottleneck\__init__.py -> build\lib.win-amd64-3.6\bottleneck  creating build\lib.win-amd64-3.6\bottleneck\benchmark  copying bottleneck\benchmark\autotimeit.py -> build\lib.win-amd64-3.6\bottleneck\benchmark  copying bottleneck\benchmark\bench.py -> build\lib.win-amd64-3.6\bottleneck\benchmark  copying bottleneck\benchmark\bench_detailed.py -> build\lib.win-amd64-3.6\bottleneck\benchmark  copying bottleneck\benchmark\__init__.py -> build\lib.win-amd64-3.6\bottleneck\benchmark  creating build\lib.win-amd64-3.6\bottleneck\slow  copying bottleneck\slow\move.py -> build\lib.win-amd64-3.6\bottleneck\slow  copying bottleneck\slow\nonreduce.py -> build\lib.win-amd64-3.6\bottleneck\slow  copying bottleneck\slow\nonreduce_axis.py -> build\lib.win-amd64-3.6\bottleneck\slow  copying bottleneck\slow\reduce.py -> build\lib.win-amd64-3.6\bottleneck\slow  copying bottleneck\slow\__init__.py -> build\lib.win-amd64-3.6\bottleneck\slow  creating build\lib.win-amd64-3.6\bottleneck\src我還安裝了 Microsoft Visual C++ 14.0,重置我的計算機并啟動程序并在程序中做了同樣的事情,我得到了同樣的錯誤。我也完成了pip install wheel,然后完成了pip install bottleneck,我收到了同樣的錯誤。我也有python 3.6
查看完整描述

3 回答

?
紫衣仙女

TA貢獻1839條經驗 獲得超15個贊

嘗試在 Windows 機器上安裝 pycaret 時我也遇到了同樣的問題。得到錯誤


ERROR: Failed building wheel for bottleneck

Failed to build bottleneck

ERROR: Could not build wheels for bottleneck which use PEP 517 and cannot be installed directly

讀取輸出表明安裝過程無法安裝瓶頸,因此您必須手動執行此操作。Pip 沒有這樣做,所以因為我使用的是 Anaconda env,所以 conda install 是要走的路。安裝 p5py 和 pep517 也是一個好主意。


我可以通過以下步驟解決問題:

  1. conda 安裝瓶頸

  2. 點安裝 p5py

  3. 點安裝 pep517

  4. 點安裝 pycaret


查看完整回答
反對 回復 2022-07-26
?
慕桂英546537

TA貢獻1848條經驗 獲得超10個贊

我通過使用該站點的相應輪子手動安裝瓶頸來使其工作:www.lfd.uci.edu/~gohlke/pythonlibs/。

只需下載適用于您的 Python 版本的文件(在我的情況下為 Bottleneck?1.3.2?cp38?cp38?win_amd64.whl)并安裝它:

pip install C:\Users\...


查看完整回答
反對 回復 2022-07-26
?
侃侃無極

TA貢獻2051條經驗 獲得超10個贊

首先安裝 PyPI 然后 pyinstaller 你需要做的就是

pip install PyPI
pip install pyinstaller

PyPI 安裝屏幕截圖

http://img1.sycdn.imooc.com//62df5abb0001e3cf11140564.jpg

查看完整回答
反對 回復 2022-07-26
  • 3 回答
  • 0 關注
  • 170 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號