At last I have configured the environment successfully, and I accessed localhost:5000 and upload a picture. Then I pressed the go art button, an unexpected error occurred:
FileNotFoundError: [Errno 2] No such file or directory: 'tmp/0a520bff535e11ebbe7680fa5b60bc61.png'
Traceback (most recent call last)
File "D:\Anaconda\envs\py37\lib\site-packages\flask\app.py", line 2464, in call
return self.wsgi_app(environ, start_response)
File "D:\Anaconda\envs\py37\lib\site-packages\flask\app.py", line 2450, in wsgi_app
response = self.handle_exception(e)
File "D:\Anaconda\envs\py37\lib\site-packages\flask\app.py", line 1867, in handle_exception
reraise(exc_type, exc_value, tb)
File "D:\Anaconda\envs\py37\lib\site-packages\flask_compat.py", line 39, in reraise
raise value
File "D:\Anaconda\envs\py37\lib\site-packages\flask\app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "D:\Anaconda\envs\py37\lib\site-packages\flask\app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "D:\Anaconda\envs\py37\lib\site-packages\flask\app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "D:\Anaconda\envs\py37\lib\site-packages\flask_compat.py", line 39, in reraise
raise value
File "D:\Anaconda\envs\py37\lib\site-packages\flask\app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "D:\Anaconda\envs\py37\lib\site-packages\flask\app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "F:\WorkPlace\artline-demo\artline-demo\app.py", line 76, in result_view
f.save(local_file)
File "D:\Anaconda\envs\py37\lib\site-packages\werkzeug\datastructures.py", line 3066, in save
dst = open(dst, "wb")
FileNotFoundError: [Errno 2] No such file or directory: 'tmp/0a520bff535e11ebbe7680fa5b60bc61.png'
I want to know how to solve this error.