Stock-Market-AI-GUI: TypeError: 'module' object is not iterable
I have been trying to get this program to run but I’m having a problem, i keep getting an error in django which breaks everything, i tried to downgrade to version 2.2.6 but that didn’t help either
M:\Downloads\Stock-Market-AI-GUI-master>python36 manage.py runserver
Watching for file changes with StatReloader
Performing system checks...
Exception in thread django-main-thread:
Traceback (most recent call last):
File "M:\pythons\3.6\lib\site-packages\django\urls\resolvers.py", line 591, in url_patterns
iter(patterns)
TypeError: 'module' object is not iterable
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "M:\pythons\3.6\lib\threading.py", line 916, in _bootstrap_inner
self.run()
File "M:\pythons\3.6\lib\threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "M:\pythons\3.6\lib\site-packages\django\utils\autoreload.py", line 53, in wrapper
fn(*args, **kwargs)
File "M:\pythons\3.6\lib\site-packages\django\core\management\commands\runserver.py", line 118, in inner_run
self.check(display_num_errors=True)
File "M:\pythons\3.6\lib\site-packages\django\core\management\base.py", line 396, in check
databases=databases,
File "M:\pythons\3.6\lib\site-packages\django\core\checks\registry.py", line 70, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
File "M:\pythons\3.6\lib\site-packages\django\core\checks\urls.py", line 13, in check_url_config
return check_resolver(resolver)
File "M:\pythons\3.6\lib\site-packages\django\core\checks\urls.py", line 23, in check_resolver
return check_method()
File "M:\pythons\3.6\lib\site-packages\django\urls\resolvers.py", line 408, in check
for pattern in self.url_patterns:
File "M:\pythons\3.6\lib\site-packages\django\utils\functional.py", line 48, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "M:\pythons\3.6\lib\site-packages\django\urls\resolvers.py", line 598, in url_patterns
raise ImproperlyConfigured(msg.format(name=self.urlconf_name)) from e
django.core.exceptions.ImproperlyConfigured: The included URLconf 'StockMarket.urls' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15 (8 by maintainers)
Thank you, I hope you enjoy using it 😃
I plan to update this project to tensorflow v2 and add GPU support during my summer vacations, currently I am a little busy with university classes.