Microsoft Windows [版本 10.0.19042.1645]
(c) Microsoft Corporation。保留所有权利。
(lprenv) D:\Programs\python39\lprenv>pip install pymysql
Traceback (most recent call last):
File "d:\python3.9\lib\runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File "d:\python3.9\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "D:\Programs\python39\lprenv\Scripts\pip.exe_main.py", line 4, in
File "D:\Programs\python39\lprenv\lib\site-packages\pip_internal\cli\main.py", line 9, in
from pip._internal.cli.autocompletion import autocomplete
File "D:\Programs\python39\lprenv\lib\site-packages\pip_internal\cli\autocompletion.py", line 10, in
from pip._internal.cli.main_parser import create_main_parser
File "D:\Programs\python39\lprenv\lib\site-packages\pip_internal\cli\main_parser.py", line 8, in
from pip._internal.cli import cmdoptions
File "D:\Programs\python39\lprenv\lib\site-packages\pip_internal\cli\cmdoptions.py", line 24, in
from pip._internal.cli.parser import ConfigOptionParser
File "D:\Programs\python39\lprenv\lib\site-packages\pip_internal\cli\parser.py", line 12, in
from pip._internal.configuration import Configuration, ConfigurationError
File "D:\Programs\python39\lprenv\lib\site-packages\pip_internal\configuration.py", line 20, in
from pip._internal.exceptions import (
File "D:\Programs\python39\lprenv\lib\site-packages\pip_internal\exceptions.py", line 14, in
from pip._vendor.rich.console import Console, ConsoleOptions, RenderResult
File "D:\Programs\python39\lprenv\lib\site-packages\pip_vendor\rich\console.py", line 46, in
from ._log_render import FormatTimeCallable, LogRender
File "D:\Programs\python39\lprenv\lib\site-packages\pip_vendor\rich_log_render.py", line 5, in
from .text import Text, TextType
File "D:\Programs\python39\lprenv\lib\site-packages\pip_vendor\rich\text.py", line 5, in
from pip._vendor.rich.emoji import EmojiVariant
File "D:\Programs\python39\lprenv\lib\site-packages\pip_vendor\rich\emoji.py", line 4, in
from .jupyter import JupyterMixin
File "D:\Programs\python39\lprenv\lib\site-packages\pip_vendor\rich\jupyter.py", line 4, in
from .segment import Segment
File "D:\Programs\python39\lprenv\lib\site-packages\pip_vendor\rich\segment.py", line 19, in
from .cells import (
File "D:\Programs\python39\lprenv\lib\site-packages\pip_vendor\rich\cells.py", line 6, in
from ._lru_cache import LRUCache
File "D:\Programs\python39\lprenv\lib\site-packages\pip_vendor\rich_lru_cache.py", line 13, in
class LRUCache(OrderedDict[CacheKey, CacheValue]):
TypeError: 'type' object is not subscriptable