gpt4 book ai didi

python - 如何将 django-evolution 目录添加到我的 Python 路径 - Ubuntu

转载 作者:太空宇宙 更新时间:2023-11-04 09:51:02 26 4
gpt4 key购买 nike

我想安装 Django-Evolution,但他们的文档很少说明如何安装。我的主要绊脚石(我仍在学习 Linux 的东西)是下面一行:

Check out the Django Evolution sources, and put the checkout directory into your Python Path.

我该怎么做?我想我之前在安装 Django 时做过一次,但当时我只是按照一组指令进行操作 ( http://www.webmonkey.com/2010/02/install_django_and_build_your_first_app/ )。以下是他们关于 Evolution 的常见问题解答文件中的完整引述:

How do I install Django Evolution?

There have not been any official releases of Django Evolution. If you want to use Django Evolution, you will need to use a subversion checkout.

Check out the Django Evolution sources, and put the checkout directory into your Python Path.

Then add 'django_evolution' to the list of installed applications for the project in which you want to use Django Evolution.

最佳答案

要将目录放在 Python 路径中,请将其添加到 PYTHONPATH 环境变量,或创建指向结帐目录的变量。

关于python - 如何将 django-evolution 目录添加到我的 Python 路径 - Ubuntu,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11129801/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com