Skip to content

Cannot start the server #333

@snylonue

Description

@snylonue

env: windows 10, python 3.9, installed through pip

python manage.py waitress
Traceback (most recent call last):
  File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\site-packages\django\core\management\
__init__.py", line 224, in fetch_command
    app_name = commands[subcommand]
KeyError: 'waitress'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\user\AppData\Local\Programs\Python\Python39\Lib\site-packages\feedsubs\manage.py", li
ne 44, in <module>
    main()
  File "C:\Users\user\AppData\Local\Programs\Python\Python39\Lib\site-packages\feedsubs\manage.py", li
ne 40, in main
    execute_from_command_line(sys.argv)
  File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\site-packages\django\core\management\
__init__.py", line 401, in execute_from_command_line
    utility.execute()
  File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\site-packages\django\core\management\
__init__.py", line 395, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\site-packages\django\core\management\
__init__.py", line 231, in fetch_command
    settings.INSTALLED_APPS
  File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\site-packages\django\conf\__init__.py
", line 82, in __getattr__
    self._setup(name)
  File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\site-packages\django\conf\__init__.py
", line 69, in _setup
    self._wrapped = Settings(settings_module)
  File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\site-packages\django\conf\__init__.py
", line 170, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\importlib\__init__.py", line 127, in
import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\site-packages\feedsubs\settings\dev.p
y", line 1, in <module>
    from .base import *
  File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\site-packages\feedsubs\settings\base.
py", line 16, in <module>
    from spinach.brokers.redis import RedisBroker, recommended_socket_opts
  File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\site-packages\spinach\brokers\redis.p
y", line 12, in <module>
    from redis.client import Script
ImportError: cannot import name 'Script' from 'redis.client' (C:\Users\user\AppData\Local\Programs\Pyt
hon\Python39\lib\site-packages\redis\client.py)

Is there any other dependency that I need to install?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions