-
Notifications
You must be signed in to change notification settings - Fork 98
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
cargo-kani
setup fails due to python distutils error on Ubuntu 18.04.2
#1184
Comments
I'm going to guess it's a platform/os issue. I notice |
FWIW, the next release of Kani should use a newer version of viewer which relaxes python back to 3.6, and so it would work without needing a newer python package. If you can wait a week for that next release, it's probably the simplest fix! (That said, if there's a way we can work around python packages forcing |
I'm currently trying the source install instead to deal with this. Btw during the source install it worked fine. I'm not really sure how it could be because of the different pythons, but that said I did have to revert it for the source install so it might make sense to just wait it out for the next release and see if it fixes itself. |
This seems to be a known issue on some OS: https://stackoverflow.com/questions/4495120/combine-user-with-prefix-error-with-setup-py-install |
I reproduced the same error on a fresh 18.04 AWS instance with Kani version 0.2. |
I ran
cargo-kani setup
after successfully installingcargo +nightly install --locked kani-verifier
and got the following error:According to the interwebs this is because something is causing pip so perform a
--user
install, which does not combine with--target
. I couldn't quite figure out if this (the user install) is an option that is set by Ubuntu and if I could disable it.Apologies if you think this is not a kani issue.
Kani version: 0.1.0
The text was updated successfully, but these errors were encountered: