Fatal Python error: PyImport_GetModuleDict: no module dictionary!
2016-03-18 17:01
2266 查看
The problem is that when you run this as a stand alone script you have a lot of daemon threads in doWork, but the script will exit
when only daemon threads are left, so they all get killed by the interpreter exiting. When you run it interactively in IDLE the interpreter doesn't exit, so you don't run into that problem.
http://stackoverflow.com/questions/17679715/fatal-python-error-pyimport-getmoduledict-no-module-dictionary
when only daemon threads are left, so they all get killed by the interpreter exiting. When you run it interactively in IDLE the interpreter doesn't exit, so you don't run into that problem.
http://stackoverflow.com/questions/17679715/fatal-python-error-pyimport-getmoduledict-no-module-dictionary
相关文章推荐
- win64下python2.7安装numpy
- python的版本切换
- 我的Python成长之路---第六天---Python基础(20)---2016年2月20日(晴)
- 把Sublime Text 2打造成一个轻量级Python的IDE
- 树莓派+python+web.py 搭建微信公众平台(1)
- [转]Introduction to Machine Learning with Python and Scikit-Learn
- 在win7上 python 无法安装 lxml的问题
- Python:鼠标滑动时坐标变化显示
- Python学习笔记--装饰器
- 一行 Python 实现并行化 -- 日常多线程操作的新思路
- 【零基础入门学习Python笔记015】字符串:格式化
- python--基础学习(一)开发环境搭建,体验HelloWorld
- samba和python和groovy的关联
- 如何在python下安装xgboost
- 编程书单:十本Python编程语言的入门书籍
- Python——编写类装饰器
- 在win7上 python 无法安装 lxml的问题
- 听技术播客:一边学Python编程一边学英语
- python 索引和分片
- Python软件的正确安装方式