简体   繁体   中英

Django installation in windows command line

I've done below command in command line in 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. You can easily install it with the 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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM