Pytest run failed after renaming project folder

Pytest running failed after renaming a project folder, prompt could find file error.

Solution:

Delete the python cache (pycache) and all “compiled” files.

Make sure that your init.py files are not referring to any folder or path.

唐胡璐 wechat
欢迎您扫一扫上面的微信公众号,订阅我的博客!
分享创造价值,您的支持将鼓励我继续前行!