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

Install error #144

Open
mabouelk opened this issue Nov 22, 2021 · 3 comments
Open

Install error #144

mabouelk opened this issue Nov 22, 2021 · 3 comments

Comments

@mabouelk
Copy link

I am trying to install civet on macOS but I keep getting this error message:

Pip subprocess error:
Running command git clone -q https://github.com/cov-ert/datafunk.git /private/var/folders/vy/29g9j_0j5zb1kb7bk66t6dz80000gn/T/pip-req-build-k1c5v6ad
Running command git clone -q https://github.com/cov-ert/reportfunk.git /private/var/folders/vy/29g9j_0j5zb1kb7bk66t6dz80000gn/T/pip-req-build-98xm72dt
Running command git clone -q https://github.com/cov-ert/clusterfunk.git /private/var/folders/vy/29g9j_0j5zb1kb7bk66t6dz80000gn/T/pip-req-build-oijwpoq1
ERROR: Package 'jsonschema' requires a different Python: 3.6.13 not in '>=3.7'

failed

CondaEnvException: Pip failed

@ViralVerity
Copy link
Collaborator

This sounds like an environment error - the Python specified in the environment provided for civet is 3.6, so that will cover that package's requirements.
Make sure that you have built and activated the civet environment properly and then try installing in the environment again

@mabouelk
Copy link
Author

python 3.6 is no longer available

@ViralVerity
Copy link
Collaborator

I took another look, and it's that one of the packages we use requires a different python version to the one that we specify in the environment. Jsonschema needs 3.7, and we specify 3.6.13.

This is a slightly tricky issue, and we're currently trying to move beyond this version of civet - I recommend you try and use the newer version of civet (civet3) which we will be releasing soon: https://github.com/cov-ert/civet3

@ViralVerity ViralVerity reopened this Nov 23, 2021
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