Python 如果没有故障,则无法运行manage.py runserver

Python 如果没有故障,则无法运行manage.py runserver,python,django,python-2.7,Python,Django,Python 2.7,我在本地机器上使用预先打包的默认python轻量级服务器来运行我的应用程序,但当我运行python manage.py runserver 我得到以下输出 Traceback (most recent call last): File "manage.py", line 10, in <module> execute_from_command_line(sys.argv) File "/Library/Frameworks/Python.framework/Versi

我在本地机器上使用预先打包的默认python轻量级服务器来运行我的应用程序,但当我运行
python manage.py runserver

我得到以下输出

Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/core/management/__init__.py", line 453, in execute_from_command_line
    utility.execute()
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/core/management/__init__.py", line 263, in fetch_command
    app_name = get_commands()[subcommand]
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/core/management/__init__.py", line 109, in get_commands
    apps = settings.INSTALLED_APPS
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/conf/__init__.py", line 53, in __getattr__
    self._setup(name)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/conf/__init__.py", line 48, in _setup
    self._wrapped = Settings(settings_module)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/conf/__init__.py", line 134, in __init__
    raise ImportError("Could not import settings '%s' (Is it on sys.path?): %s" % (self.SETTINGS_MODULE, e))
ImportError: Could not import settings 'myapp.settings' (Is it on sys.path?): dlopen(/Library/Python/2.7/site-packages/greenlet.so, 2): Symbol not found: __PyTrash_thread_deposit_object
  Referenced from: /Library/Python/2.7/site-packages/greenlet.so
  Expected in: flat namespace
 in /Library/Python/2.7/site-packages/greenlet.so
我也试过跑步:

>>> import sys
>>> for path in sys.path: print path
这会在OSX的终端中抛出一个
分段错误:11

我已经验证了
myapp的路径。设置
包含在eclipse->pydev中的python路径中

有人吗


谢谢

听起来greenlet没有正确安装。如果提到“请重新生成您的虚拟机”,这可能会有所帮助。我如何重新生成我的虚拟机?
>>> import sys
>>> for path in sys.path: print path