Install Locally
Last updated
Was this helpful?
Last updated
Was this helpful?
Follow the steps below to use the locally.
Start by for your operating system.
If you'd like to skip installing quilc
and qvm
locally, you can run them from pre-created images instead. For example:
Start by for your operating system. Then, follow the instructions for your platform to install them:
To check that the binaries were properly installed, run the following commands in a terminal. They should each execute successfully and print version numbers.
pyQuil requires Python 3.8 or greater.
Using pip
:
Using poetry
:
Open a terminal window and start the compiler in server mode:
Then, open a second terminal window and start the QVM in server mode:
We publish new versions of pyQuil to . You can install pyQuil just like any other PyPI package.
If you'd like to install pyQuil from source, see the .
We highly recommend installing into a . For example, you can create a virtual environment named .venv
and activate it with the following command prior to installing pyQuil or other packages:
For more details on using the quilc
and qvm
binaries, see the and the .
Now that the compiler and QVM servers are running, you are ready to !