Python中文
首页
教程
问答
标签
搜索
登录
注册
如何安装Django 1.4
回答此问题可获得
20
贡献值,回答如果被采纳可获得
50
分。
<p>当尝试通过以下方式下载django时:</p> <pre><code>sudo pip uninstall django </code></pre> <p>不过,这将下载django 1.5的新版本。如何通过pip强制下载1.4版?以下是我在尝试安装时得到的信息:</p> <pre><code>imac9:site-packages pdadmin$ sudo pip install django==1.4.1 Downloading/unpacking django==1.4.1 Running setup.py egg_info for package django warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' Requested django==1.4.1, but installing version 1.5.1 Installing collected packages: django Found existing installation: Django 1.5.1 </code></pre>
0 条评论
分类:
Python问答
请先
登录
后评论
默认排序
时间排序
1 个回答
匿名
1天前
擅长:python、mysql、java
<p>这可以通过使用这个命令来完成</p> <pre><code>sudo pip install django==1.4 #or any desired version. </code></pre> <p>应该有用。</p>
请先
登录
后评论
针对此问题:
更多的回答
关注
89
关注
收藏
1
收藏,
216
浏览
网友 提问于 2天前
相关Python问题
在python中使用pandas将日志或文本文件转换为数据帧
9 回答
在python中使用pandas或dask高效地读取大型csv文件
3 回答
在Python中使用pandas或numpy进行列到列的匹配
6 回答
在python中使用Pandas打印CSV文件时出现问题
8 回答
在Python中使用Pandas打印列的索引
4 回答
在Python中使用Pandas拆分数据集
10 回答
在python中使用pandas按多索引分组而不丢失索引
8 回答
在python中使用pandas按结构化顺序打印网页中的表
3 回答
在python中使用pandas操作大文本文件时出现问题
3 回答
在Python中使用Pandas数据帧Date正在转换为timestamp
7 回答
在Python中使用pandas数据帧中的时间序列数据,如何计算具有相同日期的列的总和
4 回答
在python中使用pandas时,如何按降序排序?
1 回答
在python中使用pandas时出错
5 回答
在python中使用pandas时如何修复“属性错误”
8 回答
在python中使用pandas映射列上匹配的字数
5 回答
在python中使用pandas映射带有dataframe列的关键字
10 回答
在python中使用pandas映射带有数据帧列的关键字
7 回答
在Python中使用Pandas显示输出CSV
3 回答
在python中使用pandas有条件地连接数据帧
10 回答
在python中使用pandas根据其他列中给定的值选择列
2 回答