-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
while debuging the code #6250
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PS C:\Users\admin\AppData\Local\Programs\Python\Convolutional_neural_network-master> python run.py
Traceback (most recent call last):
File "C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\werkzeug\utils.py", line 412, in import_string
import(import_name)
ImportError: bad magic number in 'config': b'\x03\xf3\r\n'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "run.py", line 2, in
from app import app
File "C:\Users\admin\AppData\Local\Programs\Python\Convolutional_neural_network-master\app_init_.py", line 6, in
app.config.from_object('config')
File "C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\flask\config.py", line 162, in from_object
obj = import_string(obj)
File "C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\werkzeug\utils.py", line 437, in import_string
sys.exc_info()[2])
File "C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\werkzeug_compat.py", line 133, in reraise
raise value.with_traceback(tb)
File "C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\werkzeug\utils.py", line 412, in import_string
import(import_name)
werkzeug.utils.ImportStringError: import_string() failed for 'config'. Possible reasons are:
Debugged import:
Original exception:
ImportError: bad magic number in 'config': b'\x03\xf3\r\n'
PS C:\Users\admin\AppData\Local\Programs\Python\Convolutional_neural_network-master>
The text was updated successfully, but these errors were encountered: