首先 我电脑上的python  是

安装Django  是需要通过 pip  来安装的  最新办的python3.4 应该内置了pip  因此这里 需要下载安装pip

pip是常用的Python包管理工具

图未截全 。。。

pip  install  django

最后成这样了

InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.

InsecurePlatformWarning

因为SSL的问题,urllib3需要pyopenssl。
最简单的方法是:
sudo pip install pyopenssl ndg-httpsclient pyasn1

然后再次安装diango

pip install -i http://pypi.douban.com/simple/  --trusted-host pypi.douban.com Django

这个是安装mysql时遇到的错误  需要下载一个 mysql-python 的 依赖。 当然如果你自己可以FQ 那就用不到。

pip install -i http://pypi.douban.com/simple/  --trusted-host pypi.douban.com MySQL-python

最新文章

  1. 多线程编程-工具篇-BlockingQueue
  2. com.apache.dc.query.Query所属包名apache-common-sid.jar
  3. javafx之CSS初探
  4. BZOJ_1052_[HAOI2007]_覆盖问题_(二分+贪心)
  5. XSHELL和XFTP,亲兄弟啊。
  6. [LeetCode] 230. Kth Smallest Element in a BST 解题思路
  7. Bulk-Only传输协议 UFI命令块规范
  8. rpm包制作
  9. hihoCoder #1082 : 然而沼跃鱼早就看穿了一切(字符串处理)
  10. 【Luogu3478】【POI2008】STA-Station(动态规划)
  11. vs2015 key
  12. python的各种推导式
  13. YII框架实现 RBAC
  14. 【C/C++】Rotate Array
  15. C++进阶--结构体和类
  16. [LCT应用]
  17. [STL][C++]VECTOR
  18. Go开发环境与LIteIDE安装、配置、搭建
  19. MikroTik-ROS-无线设备传输距离
  20. python模块的打包

热门文章

  1. git 错误 fatal: loose object...is corrupt
  2. 转: android之虚拟机访问tomcat服务器资源
  3. Oracle 和 mysql 的批量操作Sql语句 的区别
  4. HDU5296 Annoying problem(LCA)
  5. ES6必知必会 (六)—— Class
  6. 使用VS2008进行WEB负载测试
  7. <script type="text/template">是干什么的,为什么要把html写在js中? 这是什么编程语言风格,都能这样用吗?
  8. 适合Centos Web服务器的iptables规则
  9. Linux 增加系统调用 (转)
  10. TextRank in Python