@
b2504420230 原问题虽然没了(原问题是根本无法运行).
但是新问题是无法访问数据库.
同样的配置下 vscode 却可以.
(确定了运行路径无误.)
```
Traceback (most recent call last):
File "C:\Users\test\miniconda3\lib\site-packages\flask\
app.py", line 2213, in __call__
return self.wsgi_app(environ, start_response)
File "C:\Users\test\miniconda3\lib\site-packages\flask\
app.py", line 2193, in wsgi_app
response = self.handle_exception(e)
File "C:\Users\test\miniconda3\lib\site-packages\flask\
app.py", line 2190, in wsgi_app
response = self.full_dispatch_request()
File "C:\Users\test\miniconda3\lib\site-packages\flask\
app.py", line 1486, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\Users\test\miniconda3\lib\site-packages\flask\
app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Users\test\miniconda3\lib\site-packages\flask\
app.py", line 1469, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "C:\Users\test\Desktop\workSpace\Y36_1204\iMusic\
iMusic.py", line 23, in statistics
genres = get_genres()
File "C:\Users\test\Desktop\workSpace\Y36_1204\iMusic\
iMusic.py", line 231, in get_genres
conn = sqlite3.connect("iMusic.db")
sqlite3.OperationalError: unable to open database file
```