简体   繁体   English

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

[英]python celery - ImportError: No module named _curses - while attempting to run manage.py celeryev

Background 背景

Windows 7 x 64 Python 2.7 Django 1.4 Celery with Redis bundle Windows 7 x 64 Python 2.7 Django 1.4 Celery与Redis捆绑

While trying to run manage.py celeryev, I get the following error in the terminal 在尝试运行manage.py celeryev时,我在终端中收到以下错误

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

I've tried looking at other posts, but haven't been able to solve this problem. 我试过看其他帖子,但一直无法解决这个问题。 Any thoughts on what is causing this error? 有关导致此错误的原因的任何想法? Thanks in advance. 提前致谢。

According to http://docs.python.org/library/curses.html the curses module is only supported on Unix platforms. 根据http://docs.python.org/library/curses.html ,仅在Unix平台上支持curses模块。 Try the Windows binaries from http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses . 尝试http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses中的Windows二进制文件。

根据https://pypi.org/project/windows-curses/,curses模块可以通过以下方式安装在Windows平台上:

pip install windows-curses

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 当我运行./manage.py运行服务器时,我得到错误ImportError:没有名为celery的模块 - When I run ./manage.py run server I get the error ImportError: No module named celery Python manage.py ImportError:没有名为django的模块 - Python manage.py ImportError: No module named django ModuleNotFoundError:在尝试 &gt;Python manage.py makemigrations|python 3.7、django 2.1.7 时没有名为“DEGNet”的模块 - ModuleNotFoundError: No module named 'DEGNet' while attempting >Python manage.py makemigrations|python 3.7, django 2.1.7 manage.py - 导入错误:没有名为 django 的模块 - manage.py - ImportError: No module named django pycharm manage.py tasks ImportError:没有名为manage的模块 - pycharm manage.py tasks ImportError: No module named manage ImportError:在Django项目中运行manage.py test时,没有名为简单的模块 - ImportError: No module named simple while running manage.py test in django project ImportError:使用manage.py来运行服务器时,没有名为TestModel的模块 - ImportError: No module named TestModel when use manage.py to runserver 给出ImportError的python manage.py build_solr_schema:没有名为markup的模块 - python manage.py build_solr_schema giving ImportError: No module named markup 出现ImportError:执行python manage.py syncdb时没有名为azure.storage.blob的模块 - Getting ImportError: No module named azure.storage.blob when doing python manage.py syncdb ImportError:没有名为toneapp.settings的模块-当我运行python manage.py makemigrations时 - ImportError: No module named toneapp.settings - when i am running python manage.py makemigrations
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM