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

Got an import error on macos system #76

Open
wzcprince opened this issue Mar 16, 2023 · 1 comment
Open

Got an import error on macos system #76

wzcprince opened this issue Mar 16, 2023 · 1 comment

Comments

@wzcprince
Copy link

ErrorMessge:

[blue@teddymac ufm_pkeys 17:02:34]$ python3 ufm_pkeys.py --get_pkeys
Error occurred while importing python modules, Please make sure that you exported your repository to PYTHONPATH by running: export PYTHONPATH="${PYTHONPATH}:/Users/blue/code_hpc/ufm_sdk_3.0"

@wzcprince
Copy link
Author

on macos system, it may be to install jsonschema lib beforehand, I have already fixed the issue locally and done the verification.
The root cause of the problem is the code "from jsonschema.exceptions import ValidationError" in commit dfbdc65 of merge #47 without adding the jsonschema to requirements.txt

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

1 participant