sreenivasdoosa / sdoosa-algo-trade-python

Algo trade project in python
521 stars 320 forks source link

Error: ModuleNotFoundError: No module named 'config.Config' #24

Open viks555 opened 3 years ago

viks555 commented 3 years ago

Please suggest on how to correct this error. I added pythonpath ':\sdoosa-algo-trade-python-master\sdoosa-algo-trade-python-master\config but still getting the same error

import os import logging from flask import Flask import sys

sys.path.append('D:\sdoosa-algo-trade-python-master\sdoosa-algo-trade-python-master\config')

from config.Config import getBrokerAppConfig, getServerConfig, getSystemConfig

viks555 commented 3 years ago

Please suggest on how to correct this error.

I added pythonpath ':\sdoosa-algo-trade-python-master\sdoosa-algo-trade-python-master\config but still getting the same error

import os import logging from flask import Flask import sys

sys.path.append('D:\sdoosa-algo-trade-python-master\sdoosa-algo-trade-python-master\config')

from config.Config import getBrokerAppConfig, getServerConfig, getSystemConfig

i was able to correct the issue by adding the external path to pythonpathmanager!