$ sudo apt-get install python3 python3-pip
$ sudo pip3 install ck
$ brew update
$ brew reinstall python
$ pip install ck
You can install CK in your local user space as follows:
$ git clone http://github.com/ctuning/ck
$ export PATH=$PWD/ck/bin:$PATH
$ export PYTHONPATH=$PWD/ck:$PYTHONPATH
$ ck version
$ ck pull repo:ck-quantum
$ ck pull repo:ck-env
$ ck pull repo:ck-rigetti
$ ck pull repo:ck-qiskit
$ ck detect soft:compiler.python
$ ck install package:tool-hackathon
$ ck install package:lib-pyquil-1.9.0
$ ck run program:pyquil-demo
...
* tmp-stdout.tmp
Number of games: 10
Q's winning average: 1.0
Picard's flip-decision average: 0.5
$ ck run program:rigetti-vqe