1. 在执行python manage.py shell之后的一些错误:

wyl@wyl:~/myobject$ python manage.py shell
/usr/lib/python2.7/dist-packages/pkg_resources.py:1049: UserWarning: /home/wyl/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
warnings.warn(msg, UserWarning) Python 2.7.8 (default, Oct 20 2014, 15:05:19)
Type "copyright", "credits" or "license" for more information. IPython 2.3.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details. In [1]:

有人说是权限问题,只要执行一下权限设置语句就OK了,可是我执行了一下的一句权限语句但是还是不OK。

权限设置语句:

chmod g-wx,o-wx ~/.python-eggs

语句执行之后的错误:

wyl@wyl:~/myobject$ python manage.py shell
Python 2.7.8 (default, Oct 20 2014, 15:05:19)
Type "copyright", "credits" or "license" for more information. IPython 2.3.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details. In [1]:

错误确实是不一样了。但是出现以上错误是什么原因呢?

其实到这一步已经没有错误了,这个只是不是python的操作界面而已,这是ipython的操作界面,而且这个比python的操作更人性化,这个还带tab命令补全的功能,是不是很爽啊!

In [3]: fro
from frozenset In [3]: from django.
django.conf django.forms django.templatetags
django.contrib django.http django.test
django.core django.middleware django.utils
django.db django.shortcuts django.views
django.dispatch django.template In [3]: from django.d
django.db django.dispatch In [3]: from django.db import conn
connection connections In [3]: from django.db import connection In [4]: cursor = connection.cursor() In [5]:

最新文章

  1. HDFS 架构解析
  2. Repository 返回 IQueryable?还是 IEnumerable?
  3. cocos基础教程(13)使用Physicals代替Box2D和chipmunk
  4. UTF-7编码
  5. SLA了解
  6. iOS调试程序时,启动应用失败的解决办法
  7. 三招搞挂Mysql(转)
  8. [HMLY]5.模仿喜马拉雅 FM
  9. activemq学习
  10. $(function(){})和$(document).ready(function(){}) 的区别
  11. 【interview】Microsoft面经
  12. centos7.4安装redis
  13. 艺术模板 art-template-web
  14. JAVA核心技术I---JAVA基础知识(文件系统及java文件基本操作)
  15. [转]bootstrapValidator.js 做表单验证
  16. HTML--SVG基础
  17. mybatis框架之foreach标签
  18. 伤不起:File.toPath() & Paths.get()
  19. update pm storage
  20. centos6.5 导入matplotlib报错 No module named '_tkinter

热门文章

  1. phpcms 源码分析二:
  2. 构建本地yum源之rpmbuild
  3. Adapter 适配器模式
  4. verilog 数组参数
  5. 一个不错的flash 模板
  6. SQL 收缩数据库文件大小
  7. Block中的引用循环
  8. iOS app提交审核 11.13条款问题
  9. c# 串口发送接收数据
  10. 迭代map方法