pkg_resources.VersionConflict: (Django 1.9.7

[root@cdh2 local]# django-admin.py startproject HelloWorld
Traceback (most recent call last):
  File "/usr/local/python3/lib/python3.4/site-packages/setuptools-23.1.0-py3.4.egg/pkg_resources/__init__.py", line 635, in _build_master
  File "/usr/local/python3/lib/python3.4/site-packages/setuptools-23.1.0-py3.4.egg/pkg_resources/__init__.py", line 943, in require
  File "/usr/local/python3/lib/python3.4/site-packages/setuptools-23.1.0-py3.4.egg/pkg_resources/__init__.py", line 834, in resolve
pkg_resources.VersionConflict: (Django 1.9.7 (/usr/local/python3/lib/python3.4/site-packages/Django-1.9.7-py3.4.egg), Requirement.parse('Django==1.10b1'))


During handling of the above exception, another exception occurred:


Traceback (most recent call last):
  File "/usr/bin/django-admin.py", line 4, in <module>
    __import__('pkg_resources').run_script('Django==1.10b1', 'django-admin.py')
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible
  File "/usr/local/python3/lib/python3.4/site-packages/setuptools-23.1.0-py3.4.egg/pkg_resources/__init__.py", line 2927, in <module>
  File "/usr/local/python3/lib/python3.4/site-packages/setuptools-23.1.0-py3.4.egg/pkg_resources/__init__.py", line 2913, in _call_aside
  File "/usr/local/python3/lib/python3.4/site-packages/setuptools-23.1.0-py3.4.egg/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set
  File "/usr/local/python3/lib/python3.4/site-packages/setuptools-23.1.0-py3.4.egg/pkg_resources/__init__.py", line 637, in _build_master
  File "/usr/local/python3/lib/python3.4/site-packages/setuptools-23.1.0-py3.4.egg/pkg_resources/__init__.py", line 650, in _build_from_requirements
  File "/usr/local/python3/lib/python3.4/site-packages/setuptools-23.1.0-py3.4.egg/pkg_resources/__init__.py", line 829, in resolve
pkg_resources.DistributionNotFound: The 'Django==1.10b1' distribution was not found and is required by the application
[root@cdh2 local]# 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

5icode.top

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值