Package Details: python-genpac 2.1.0-1

Git Clone URL: https://aur.archlinux.org/python-genpac.git (read-only, click to copy)
Package Base: python-genpac
Description: convert gfwlist to pac, custom rules supported.
Upstream URL: https://github.com/JinnLynn/genpac
Keywords: convert custom gfwlist pac, rules supported. to
Licenses: MIT
Submitter: 71e6fd52
Maintainer: None
Last Packager: AsukaMinato
Votes: 0
Popularity: 0.000000
First Submitted: 2018-02-07 05:25 (UTC)
Last Updated: 2023-07-07 16:24 (UTC)

Latest Comments

AsukaMinato commented on 2023-07-07 16:25 (UTC)

fixed it by https://github.com/JinnLynn/genpac/pull/47/files

blacktea commented on 2022-02-01 06:49 (UTC) (edited on 2022-02-01 06:57 (UTC) by blacktea)

运行genpac报错:

Traceback (most recent call last):
File "/usr/bin/genpac", line 33, in <module>
    sys.exit(load_entry_point('genpac==2.1.0', 'console_scripts', 'genpac')())
File "/usr/bin/genpac", line 25, in importlib_load_entry_point
    return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 162, in load
    module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.10/site-packages/genpac/__init__.py", line 14, in <module>
    from .core import GenPAC, Generator, Namespace, run, formater, parse_rules
File "/usr/lib/python3.10/site-packages/genpac/core.py", line 17, in <module>
    from .pysocks.socks import PROXY_TYPES as _PROXY_TYPES
File "/usr/lib/python3.10/site-packages/genpac/pysocks/socks.py", line 65, in <module>
    from collections import Callable
ImportError: cannot import name 'Callable' from 'collections' (/usr/lib/python3.10/collections/__init__.py)

https://github.com/JinnLynn/genpac/issues/12