Can anybody please help me with this error
now ran
Error:C:\Python37\kodovi\Projects\Flask_Blog>run.py
Traceback (most recent call last):
File "C:\Python37\kodovi\Projects\Flask_Blog\run.py", line 1, in <module>
from flaskblog import app
File "C:\Python37\kodovi\Projects\Flask_Blog\flaskblog\__init__.py", line 2, in <module>
from flask import Flask
File "C:\Python37\Anaconda3\lib\site-packages\flask\__init__.py", line 21, in <module>
from .app import Flask, Request, Response
File "C:\Python37\Anaconda3\lib\site-packages\flask\app.py", line 25, in <module>
from . import cli, json
File "C:\Python37\Anaconda3\lib\site-packages\flask\cli.py", line 18, in <module>
import ssl
File "C:\Python37\Anaconda3\lib\ssl.py", line 98, in <module>
import _ssl # if we can't import it, let the error propagate
ImportError: DLL load failed: The specified module could not be found.
The mess started when I decided to change the name of my root folder from 'Environments' to more suitable 'Projects'. So now I have Projects/Flask_blog and within Flask_blog have run.py and flaskblog subfolder with all the code for the web site.now ran
run.py
again and got this:Error:C:\Python37\lib\site-packages\flask_sqlalchemy\__init__.py:835: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future. Set it to True or False to suppress this warning.
'SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and '
* Serving Flask app "flaskblog" (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: on
* Restarting with stat
C:\Python37\lib\site-packages\flask_sqlalchemy\__init__.py:835: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future. Set it to True or False to suppress this warning.
'SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and '
* Debugger is active!
* Debugger PIN: 146-718-091
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
127.0.0.1 - - [13/Aug/2019 02:04:04] "GET / HTTP/1.1" 404 -
127.0.0.1 - - [13/Aug/2019 02:04:04] "GET /favicon.ico HTTP/1.1" 404 -