Skip to content
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

codes_drug.txt #1

Open
jingjingyac opened this issue Feb 17, 2022 · 6 comments
Open

codes_drug.txt #1

jingjingyac opened this issue Feb 17, 2022 · 6 comments

Comments

@jingjingyac
Copy link

[Errno 2] No such file or directory: 'codes_drug.txt'
请问您的代码是不是没有这个codes_drug.txt文件啊

@YifanDengWHU
Copy link
Owner

你好 很抱歉现在才回复,已经把文件上传好了,如果还有什么问题的话请继续提问,多谢!

@jingjingyac
Copy link
Author

谢谢您的回答 请问数据下载下来怎么处理呢 数据库有要求吗

@YifanDengWHU
Copy link
Owner

解压成data文件夹放在同级目录里就可以了

@jingjingyac
Copy link
Author

但是 为什么会报错打不开数据库文件的错呢 sqlite3.OperationalError: unable to open database file

@YifanDengWHU
Copy link
Owner

你好,我刚才看了一下,请把main.py里的147行的路径改成解压后的数据路径

@jingjingyac
Copy link
Author

好的 谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants