Closed piggybit closed 5 years ago
... Copying files:
Seems to be an error with your dependencies. Try running in a virtual environment.
and in any case, this repo is outdated. please use the 0.11.x branch in ASKBOT/askbot-devel
thanks. I can askbot-setup by changing "basestring" to "str" in vew.py then change: from: export DJANGO_SETTINGS_MODULE=askbot_app.settings to right django project name.
However, when i load the web, it's showing default Django page instead of askbot page.
I have issue with manage.py, here is the error:
python3 manage.py collectstatic
Traceback (most recent call last): File "/home/thang/.local/lib/python3.6/site-packages/django/core/management/init.py", line 204, in fetch_command app_name = commands[subcommand] KeyError: 'collectstatic'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/home/thang/.local/lib/python3.6/site-packages/django/core/management/init.py", line 381, in execute_from_command_line
utility.execute()
File "/home/thang/.local/lib/python3.6/site-packages/django/core/management/init.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/thang/.local/lib/python3.6/site-packages/django/core/management/init.py", line 211, in fetch_command
settings.INSTALLED_APPS
File "/home/thang/.local/lib/python3.6/site-packages/django/conf/init.py", line 79, in getattr
self._setup(name)
File "/home/thang/.local/lib/python3.6/site-packages/django/conf/init.py", line 66, in _setup
self._wrapped = Settings(settings_module)
File "/home/thang/.local/lib/python3.6/site-packages/django/conf/init.py", line 157, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 941, in _find_and_load_unlocked
File "", line 219, in _call_with_frames_removed
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'askbot_app'