[英]Django installation in windows command line
I've done below command in command line in windows: 我已经在Windows的命令行中完成了以下命令:
python.exe setup.py install
It was running then came up with this error: 它正在运行,然后出现此错误:
error: invalid command 'install_lib' (no class 'install_lib' in module 'distutil
s.command.install_lib')
Can anyone pinpoint what it is? 任何人都可以查明它是什么吗?
下载并安装Windows的setuptools ,然后运行命令。
Seems like you don't have setuptools installed. 好像您没有安装setuptools 。 You can easily install it with the
ez_setup.py
. 您可以使用
ez_setup.py
轻松安装它。 After you did that, I recommend you to install pip
with easy_install pip
(easy_install comes with setuptools), then installing django
is just: pip install django
. 完成之后,我建议您使用
easy_install pip
(easy_install随setuptools一起安装)安装pip
,然后安装django
就是: pip install django
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.