簡體   English   中英

opencv-python與pyinstaller的兼容性

[英]opencv-python compatibility with pyinstaller

我的系統具有以下軟件包(隨pip list一起報告):

C:\WINDOWS\system32>pip list

numpy (1.13.1+mkl)
opencv-python (3.3.0)
pip (9.0.1)
setuptools (28.8.0)*

然后,當我嘗試安裝Pyinstaller時,出現此錯誤:

C:\WINDOWS\system32>pip install --index-url=http://pypi.python.org/simple/ --trusted-host pypi.python.org pyinstaller

Collecting pyinstaller
Could not find a version that satisfies the requirement pyinstaller (from versions: )
No matching distribution found for pyinstaller*

是否沒有與我的Opencv-python安裝(即3.3.0)兼容的Pyinstaller版本?

就在這里。 Pyinstaller與OpenCV無關。 這是您需要擔心的Python安裝規范。 該錯誤意味着pip無法找到所需的軟件包。

您仍然可以下載它。 適用於Python 2.7和幾乎所有版本的Python-3。 這是如何做:

1)轉到Pyinstaller下載頁面

2)下載3.3.1(最新的穩定版本),您正在尋找tar.gz文件

3)提取內容。

4)一旦擁有所有文件的文件夾(您需要解壓縮它們),請運行python setup.py install

5)等待安裝。 大功告成!

暫無
暫無

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

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