Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot start the server #333

Open
snylonue opened this issue Feb 26, 2022 · 0 comments
Open

Cannot start the server #333

snylonue opened this issue Feb 26, 2022 · 0 comments

Comments

@snylonue
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant