-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
ModuleNotFoundError: No module named 'jsonschema' #63
Comments
@moi90 this was intended to be an optional command you install with:
We have a few options here:
Are you suggesting the latter as the best approach? The only command that needs to import this file is the one you ran so I'm hesitant to do the latter but definitely we can chat about it. |
Here are my proposed fixes:
|
Hmm, if you don't want to make it a global requirement (Why not? It isn't large, I assume), I would catch the ModuleNotFoundError and instruct the user to install it manually. |
That’s exactly what would have happened if there wasn’t a stray input put before that. |
I installed
singularity-compose
usingpip install --user -U singularity-compose
.When running
singularity-compose check
, I get:After
pip install --user -U jsonschema
, it works:It seems that
jsonschema
should be included inINSTALL_REQUIRES
(/scompose/version.py
).The text was updated successfully, but these errors were encountered: