惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

大猫的无限游戏
大猫的无限游戏
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园_首页
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
D
Docker
酷 壳 – CoolShell
酷 壳 – CoolShell
宝玉的分享
宝玉的分享
Martin Fowler
Martin Fowler
美团技术团队
量子位
M
MIT News - Artificial intelligence
Apple Machine Learning Research
Apple Machine Learning Research
阮一峰的网络日志
阮一峰的网络日志
博客园 - 叶小钗
博客园 - 三生石上(FineUI控件)
腾讯CDC
Hugging Face - Blog
Hugging Face - Blog
博客园 - 【当耐特】
小众软件
小众软件
博客园 - 司徒正美
罗磊的独立博客
云风的 BLOG
云风的 BLOG
B
Blog RSS Feed
博客园 - 聂微东

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - python-pycaption
2026-06-22 · via AUR Newest Packages

pfrenssen commented on 2025-01-06 08:43 (UTC)

Getting an error when building:

ImportError while importing test module '/mnt/workspace/aur/python-pycaption/src/pycaption-2.2.15/tests/test_base.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_base.py:3: in <module>
    from pycaption.base import CaptionList, Caption
pycaption/__init__.py:6: in <module>
    from .sami import SAMIReader, SAMIWriter
pycaption/sami.py:48: in <module>
    from cssutils import parseString, log, css as cssutils_css
E   ModuleNotFoundError: No module named 'cssutils'

I have python-cssutils installed.

simona commented on 2024-12-25 09:01 (UTC)

lmartinez-mirror commented on 2022-02-21 15:17 (UTC)

@bartus Please update your python-installer, it received an update recently with a CLI module. I built this in a clean chroot, so there should be no reason why it fails to build.

bartus commented on 2022-02-21 10:21 (UTC) (edited on 2022-02-21 10:21 (UTC) by bartus)

Fails in package()

/usr/bin/python: No module named installer.__main__; 'installer' is a package and cannot be directly executed

nikonaum commented on 2021-12-30 22:16 (UTC)

collections.Callable is deprecated since python 3.3. n python 3.10 is completely removed. I build the package manually by downloading the PKGBUILD file and adding the following line in the prepare() section:

sed -i 's/collections.Callable/collections.abc.Callable/g' pycaption/scc/specialized_collections.py

simona commented on 2021-12-25 15:57 (UTC)

upgrade to newest "python-beautifulsoup4 (4.10.0-1)" ?

cyberpunkrocker commented on 2021-12-18 15:19 (UTC)

Same test_scc.py error here...

McGinks commented on 2021-12-17 05:58 (UTC)

I'm getting the same build error as simona: ERROR tests/test_scc.py::TestSCCReader::test_reader_only_supports_unicode_input

simona commented on 2021-12-16 17:52 (UTC)

reinstalled with yay -S (I already had it) and now it give:
ERROR tests/test_scc.py::TestSCCReader::test_reader_only_supports_unicode_input - AttributeError: module 'collections' h...

lmartinez-mirror commented on 2021-12-16 15:17 (UTC)

I believe you're missing python-cssutils; it's in the AUR.