簡體   English   中英

pyAV pip 安裝失敗,退出狀態為 1181

[英]pip installation failure of pyAV with exit status 1181

我在通過 pip 安裝 PyAV 時遇到問題。 首先它要求我下載 Microsoft Visual C++ Build Tools

building 'av.buffer' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/

當我安裝它時,出現以下錯誤

LINK : fatal error LNK1181: cannot open input file 'avcodec.lib'
    error: command 'C:\\Users\\Kesar\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\link.exe' failed with exit status 1181

我什至嘗試從源代碼構建 PyAV,但同樣的問題仍然存在。 我該如何解決這個問題?

它通過將lib文件復制到python“libs”目錄和包含目錄到“includes”目錄中的方法對我有用,這也可以在這個站點中看到

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM