We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
解决方案:在run_test.py文件最前面加上以下代码,必须放在所有improt之前!!!!!
import sys import os curPath = os.path.abspath(os.path.dirname(file)) rootPath = os.path.split(curPath)[0] sys.path.append(rootPath)
The text was updated successfully, but these errors were encountered:
或者 import sys sys.path.append('..') 在from xxx import之前加上这句
Sorry, something went wrong.
No branches or pull requests
解决方案:在run_test.py文件最前面加上以下代码,必须放在所有improt之前!!!!!
import sys
import os
curPath = os.path.abspath(os.path.dirname(file))
rootPath = os.path.split(curPath)[0]
sys.path.append(rootPath)
The text was updated successfully, but these errors were encountered: