Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build av #700

Open
pzchu opened this issue Aug 5, 2024 · 2 comments
Open

Failed to build av #700

pzchu opened this issue Aug 5, 2024 · 2 comments
Assignees

Comments

@pzchu
Copy link

pzchu commented Aug 5, 2024

av的8以上版本安装都不报错,但是安装ppvideo的时候会强行安装av==8.0.3。然后就报错。

python版本是3.8.
报错内容就是装不上。av的9x版本及以上都可以安装。

@luyao-cv
Copy link
Collaborator

luyao-cv commented Aug 6, 2024

可以降级 ppvideo 的版本,再尝试安装av。 并且请尝试换其他python版本,例如3.6, 3.7等

@pzchu
Copy link
Author

pzchu commented Aug 6, 2024

解决办法如下:

  1. 将仓库中的requirements.txt中的av==8.0.3 改为av=9 or 更好版本。
  2. 本地仓库中,打包安装文件 python setup.py bdist_wheel
  3. pip install dist/ppvideo-2.3.0-py3-none-any.whl

采用方式可以安装成功。这个和python版本没关系。python3.7安装av=8也会报错。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants