Python error - “ImportError: cannot import name 'dist'”

前端 未结 5 645
遥遥无期
遥遥无期 2021-01-03 20:19

I\'m on Ubuntu 16.04, and I get:

Traceback (most recent call last):
  File \"/home/omermazig/.virtualenvs/fixi/bin/pip\", line 7, in 
    from          


        
5条回答
  •  死守一世寂寞
    2021-01-03 20:40

    My case was when I upgraded Ubuntu 18 -> 19. So it reinstalled python and what I needed to do is:

    1. remove old virtual environment

    2. create a new one

    3. install requirements via pip into it

提交回复
热议问题