python - 在 Ubuntu 14.04 上安装 django-cms

标签 python django ubuntu pip django-cms

我一直在尝试将 django-cms 安装到 Ubuntu 上的虚拟环境中。我完全按照文档(http://django-cms.readthedocs.org/en/support-3.0.x/introduction/install_from_scratch.html)中的安装说明进行操作,但是在执行以下命令后我一直收到错误消息。

djangocms -p . mysite

错误:
Path '.' already exists and is not empty, please choose a different one
If you want to use this path anyway use the -s flag to skip this check.

这是什么意思,我该如何解决?

最佳答案

您需要为命令提供一个不存在的路径作为参数,它将在其中创建项目。

例如 djangocms -p mysite mysite

关于python - 在 Ubuntu 14.04 上安装 django-cms,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28749988/

相关文章:

编译 systrace 给出 "two or more data types in declaration specifiers"

php - 从服务器发送的所有邮件的日志

linux - 在linux中添加一两个目录到PATH变量(使用Bash脚本)

python - 如何在 Linux/Raspberry Pi 中将 .py 文件转换为可执行文件

python - 如何检查平面列表中是否有重复项?

python - 如何在Python中进行参数匹配、捕获

python - Django/Python 邮件列表实现

python - 在 PyTorch 中找到一批向量之间的 jaccard 相似性

python - 如何填充和访问 Django ArrayField?

python - Django django.db.utils.ProgrammingError。关系 <<Pages_account>> 不存在