日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程语言 > python >内容正文

python

pip 另一种安装方法:python setup.py install

發(fā)布時(shí)間:2025/4/5 python 45 豆豆
生活随笔 收集整理的這篇文章主要介紹了 pip 另一种安装方法:python setup.py install 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

????????最近在安裝prophet,使用'pip install prophet‘ 怎么安裝都不對(duì)(報(bào)錯(cuò)信息附在最后【Requirement already satisfied和warning部分略去了】,如果有大神能指教一下,感激不盡~)

1 另一種安裝方法

先從prophet/python at main · facebook/prophet (github.com)中下載代碼(將網(wǎng)址復(fù)制到GitZip (kinolien.github.io)??

然后在對(duì)應(yīng)的路徑上執(zhí)行python setup.py install 即可

檢驗(yàn)結(jié)果

?

pip 報(bào)錯(cuò)信息

pip install prophet Collecting prophetUsing cached prophet-1.0.1.tar.gz (65 kB)Preparing metadata (setup.py) ... done......c:\users\16000\appdata\local\programs\python\python37\lib\site-packages (from python-dateutil>=2.8.0->prophet) (1.15.0) Building wheels for collected packages: prophetBuilding wheel for prophet (setup.py) ... errorerror: subprocess-exited-with-error× python setup.py bdist_wheel did not run successfully.│ exit code: 1╰─> [1054 lines of output]running bdist_wheelrunning buildrunning build_pycreating buildcreating build\libcreating build\lib\prophetcreating build\lib\prophet\stan_model.....C:\Users\16000\AppData\Local\Temp\tmpyl7kw1p2\stanfit4anon_model_f5236004a3fd5b8429270d00efcc0cf9_7855577885934722650.cp37-win_amd64.pyd : fatal error LNK1120: 4 unresolved externalserror: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\link.exe' failed with exit status 1120[end of output]note: This error originates from a subprocess, and is likely not a problem with pip.ERROR: Failed building wheel for prophetRunning setup.py clean for prophet Failed to build prophet Installing collected packages: pystan, prophetAttempting uninstall: pystanFound existing installation: pystan 2.18.0.0Uninstalling pystan-2.18.0.0:Successfully uninstalled pystan-2.18.0.0Running setup.py install for prophet ... errorerror: subprocess-exited-with-error× Running setup.py install for prophet did not run successfully.│ exit code: 1╰─> [124 lines of output]running installrunning buildrunning build_pycreating buildcreating build\libcreating build\lib\prophetcreating build\lib\prophet\stan_model....Internal Compiler Error in C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe. You will be prompted to send an error report to Microsoft later.error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2[end of output]note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure× Encountered error while trying to install package. ╰─> prophetnote: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.

總結(jié)

以上是生活随笔為你收集整理的pip 另一种安装方法:python setup.py install的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。