0

我想使用 pip3 安装 flask_dance 但每次我收到此错误: ImportError: cannot import name 'dist'

我的回溯看起来像这样:

Traceback (most recent call last):
  File "/home/kishori/bookverm/alpha/bin/pip3", line 7, in <module>
    from pip import main
  File "/home/kishori/bookverm/alpha/lib/python3.6/site-packages/pip/__init__.py", line 29, in <module>
    from pip.utils import get_installed_distributions, get_prog
  File "/home/kishori/bookverm/alpha/lib/python3.6/site-packages/pip/utils/__init__.py", line 23, in <module>
    from pip.locations import (
  File "/home/kishori/bookverm/alpha/lib/python3.6/site-packages/pip/locations.py", line 9, in <module>
    from distutils import sysconfig
  File "/home/kishori/bookverm/alpha/lib/python3.6/distutils/__init__.py", line 25, in <module>
    from distutils import dist, sysconfig
ImportError: cannot import name 'dist'
4

0 回答 0