推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
pacino
V2EX  ›  Python

关于 django 版本

  •  
  •   pacino · Apr 19, 2014 · 3526 views
    This topic created in 4550 days ago, the information mentioned may be changed or developed.
    之前在Mac上装好了最新的django和Python,今天因为一个项目的原因(它是django 1.3.1开发的),用sudo easy_install "django==1.3.1"安装了旧版。完了又用sudo easy_install django 自动装了最新的1.6.2版,然后问题来了。

    使用django-admin.py startproject新建项目时,不是“manage.py+项目文件夹”了,而是旧版本的形式。
    请问是有旧版的文件没删导致的吗?
    3 replies  •  1970-01-01 08:00:00 +08:00
    cbsw
        1
    cbsw  
       Apr 19, 2014
    查看一下 django-admin.py 是指向哪个版本的: django-admin.py --version
    pacino
        2
    pacino  
    OP
       Apr 19, 2014
    @cbsw 谢谢,我看过,没发现问题。我直接删了,重新装了一次就好了。
    skydiver
        3
    skydiver  
       Apr 20, 2014 via Android
    为什么不用virtualenv
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   772 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 20:00 · PVG 04:00 · LAX 13:00 · JFK 16:00
    ♥ Do have faith in what you're doing.