Skip to content

Virtual Environment

Brenton Carter edited this page Dec 20, 2024 · 2 revisions

Setup Virtual Environment

It's recommended to use a virtual environment to manage dependencies. Follow the steps below to set up a virtual environment:

python -m venv qiskit_env

Activate the Virtual Environment:

For Linux/macOS:

source qiskit_env/bin/activate

For Windows:

qiskit_env\Scripts\activate

Install Dependencies

With the virtual environment activated, install the necessary dependencies using pip:

pip install --upgrade pip pip install -r requirements.txt

Note: Ensure that all dependencies are correctly installed to avoid issues during training and inference.

Clone this wiki locally