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

The error of installation #65

Open
Laplace3210 opened this issue Jul 5, 2021 · 4 comments
Open

The error of installation #65

Laplace3210 opened this issue Jul 5, 2021 · 4 comments

Comments

@Laplace3210
Copy link

I tried to pack synthpops-1.8.0, but it showed the error here:
1625459608(1)

@cliffckerr
Copy link
Member

Hi @Laplace3210 , that's an interesting error, one I haven't seen before! Can you try the command it suggests just above, namely

pip install cython>=0.29.21,<1.0.0

and then repeat the installation with pip install -e . instead of python setup.py develop, and see if that fixes it? If so, we will add this to the installation instructions.

@Laplace3210
Copy link
Author

Thank you for your reply, but there are still some errors here:
image

@Laplace3210
Copy link
Author

Laplace3210 commented Jul 6, 2021 via email

@cliffckerr
Copy link
Member

Hi @Laplace3210 , sorry that didn't fix the error. It seems you may be missing C++ compiler on your computer. We will see if we can make the installation process simpler in future, but for now, could you try installing Visual Studio to include a C++ compiler? The instructions for doing that are here:
https://docs.microsoft.com/en-us/cpp/build/vscpp-step-0-installation?view=msvc-160

For Vietnam, we have updated the installation instructions:
https://github.com/optimamodel/covid_vietnam

Please try that and if you have any problems, you can email us at [email protected]. Thank you!

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