问题遇到的现象和发生背景
File "/usr/lib/python3/dist-packages/pip/_internal/utils/appdirs.py", line 13, in
from pip._vendor import appdirs as _appdirs
ImportError: cannot import name 'appdirs'
用代码块功能插入代码,请勿粘贴截图
pip install -e .
安装报错,跟python版本有关系吗
File "/usr/lib/python3/dist-packages/pip/_internal/utils/appdirs.py", line 13, in
from pip._vendor import appdirs as _appdirs
ImportError: cannot import name 'appdirs'
pip install -e .
安装报错,跟python版本有关系吗