如何在Ubuntu 11.10上安装Django? [英] How do I install Django on Ubuntu 11.10?

查看:129
本文介绍了如何在Ubuntu 11.10上安装Django?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 ubuntu上安装Django的最终指南讽刺的是需要一些更确定的东西,因为我不能使它工作。

I'm using The Definitive guide to installing Django on ubuntu and ironically need something more definitive because I can't make it work.

(我已经按照上面的链接执行了这些步骤)

(I have followed the steps before this on the link above)

这是我的情况/停顿:

drewverlee@ubuntu:/var/src$ tar xzvf Django-1.3.1.tar.gz
tar (child): Django-1.3.1.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

那么它告诉我没有Django-1.3.1.tar.gz文件?我想我可以通过以下方式检查文件:

So it tells me there is no file Django-1.3.1.tar.gz? I think I can check for a file by us by:

drewverlee@ubuntu:/var/src$ ls
index.html  index.html.1
drewverlee@ubuntu:/var/src$

我需要做什么?

推荐答案

确实,按照链接我得到同样的问题,首先。 b
$ b

Indeed, following the link I get the same problem, first.

mv index.html Django-1.3.1.tar.gz

为我修复。然后你可以继续

fixes it for me. Then you can continue with

tar xzvf Django-1.3.1.tar.gz

这篇关于如何在Ubuntu 11.10上安装Django?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆