Re: pip-py3.10 does not work
"Franchetti, Giuliano Dr." <[email protected]>
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Message-ID | <[email protected]> |
yes, it now works fine. Thanks Giuliano On 6. Feb 2022, at 14:46, Hanspeter Niederstrasser <[email protected]<mailto:[email protected]>> wrote: On 2/6/22 4:41 AM, Franchetti, Giuliano Dr. wrote: Hello, I have installed python310 and pip-py310. python310 works, but pip-py does not. Below is attached the messages Best Giuliano pip-py3.10 list Traceback (most recent call last): File "/opt/sw/bin/pip-py3.10", line 33, in <module> sys.exit(load_entry_point('pip==18.1', 'console_scripts', 'pip')()) File "/opt/sw/bin/pip-py3.10", line 25, in importlib_load_entry_point return next(matches).load() File "/opt/sw/lib/python3.10/importlib/metadata/__init__.py", line 162, in load module = import_module(match.group('module')) File "/opt/sw/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 "/opt/sw/lib/python3.10/site-packages/pip/_internal/__init__.py", line 40, in <module> from pip._internal.cli.autocompletion import autocomplete File "/opt/sw/lib/python3.10/site-packages/pip/_internal/cli/autocompletion.py", line 8, in <module> from pip._internal.cli.main_parser import create_main_parser File "/opt/sw/lib/python3.10/site-packages/pip/_internal/cli/main_parser.py", line 12, in <module> from pip._internal.commands import ( File "/opt/sw/lib/python3.10/site-packages/pip/_internal/commands/__init__.py", line 6, in <module> from pip._internal.commands.completion import CompletionCommand File "/opt/sw/lib/python3.10/site-packages/pip/_internal/commands/completion.py", line 6, in <module> from pip._internal.cli.base_command import Command File "/opt/sw/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 23, in <module> from pip._internal.index import PackageFinder File "/opt/sw/lib/python3.10/site-packages/pip/_internal/index.py", line 14, in <module> from pip._vendor import html5lib, requests, six File "/opt/sw/lib/python3.10/site-packages/pip/_vendor/html5lib/__init__.py", line 25, in <module> from .html5parser import HTMLParser, parse, parseFragment File "/opt/sw/lib/python3.10/site-packages/pip/_vendor/html5lib/html5parser.py", line 8, in <module> from . import _tokenizer File "/opt/sw/lib/python3.10/site-packages/pip/_vendor/html5lib/_tokenizer.py", line 16, in <module> from ._trie import Trie File "/opt/sw/lib/python3.10/site-packages/pip/_vendor/html5lib/_trie/__init__.py", line 3, in <module> from .py import Trie as PyTrie File "/opt/sw/lib/python3.10/site-packages/pip/_vendor/html5lib/_trie/py.py", line 6, in <module> from ._base import Trie as ABCTrie File "/opt/sw/lib/python3.10/site-packages/pip/_vendor/html5lib/_trie/_base.py", line 3, in <module> from collections import Mapping ImportError: cannot import name 'Mapping' from 'collections' (/opt/sw/lib/python3.10/collections/__init__.py) Thanks for the report. Our old pip-py was using stuff removed from python3.10 (and deprecated since python3.3). I've updated the pip packages and now 'pip-py3.10 list' works as expected. Hanspeter -- "If we knew what it was we were doing, it would not be called research, would it?" --Albert Einstein _______________________________________________ Fink-users mailing list [email protected] List archive: https://sourceforge.net/p/fink/mailman/fink-users/ Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users