问题 python celery - ImportError:没有名为_curses的模块 - 在尝试运行manage.py celeryev时


背景

Windows 7 x 64 Python 2.7 Django 1.4 芹菜与Redis捆绑

在尝试运行manage.py celeryev时,我在终端中收到以下错误

import curses
File 'c:\Python2\lib\curses\__init__.py', line 15, in <module> from _curses import *
ImportError: No module named _curses

我试过看其他帖子,但一直无法解决这个问题。有关导致此错误的原因的任何想法?提前致谢。


13025
2018-05-07 20:41


起源



答案:


根据 http://docs.python.org/library/curses.html curses模块仅在Unix平台上受支持。尝试使用Windows二进制文件 http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses


15
2018-05-07 22:36



谢谢!第一次在windows上编程python! - snakesNbronies
很棒的网站“lfd.uci.edu/~gohlke/pythonlibs“! - aztack


答案:


根据 http://docs.python.org/library/curses.html curses模块仅在Unix平台上受支持。尝试使用Windows二进制文件 http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses


15
2018-05-07 22:36



谢谢!第一次在windows上编程python! - snakesNbronies
很棒的网站“lfd.uci.edu/~gohlke/pythonlibs“! - aztack