运行pip冻结时的点差错误

时间:2018-05-10 07:29:52

标签: django python-3.x pip

我使用芹菜,redis与Django建立了注册系统。它一直工作到今天。但是在尝试注册新用户时出现此错误'Redis is not install'。我试图检查使用pip安装的软件包并获取此信息。

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

我正在使用 pip版本9.0.2, Python版本3.6.3 Django 1.11 已经被困在这里很长一段时间了,无法解决它。

0 个答案:

没有答案