Skip to content

Commit 6c89cea

Browse files
authored
Merge pull request #1565 from jlehnersd/chem-updates-110
Updated install instructions according to new updates
2 parents 7223f84 + ac7db04 commit 6c89cea

2 files changed

Lines changed: 17 additions & 10 deletions

File tree

articles/how-to-use-molecule-visualizer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ To use the molecule visualizer, you must install the following:
2222

2323
- Python environment (version 3.11, 3.12, or 3.13) with Python and Pip
2424
- Visual Studio Code (VS Code) with the Jupyter Notebook extension, or open VS Code for the Web
25-
- The latest version of the `qdk` Python library with the `jupyter` extra, and the `qdk-chemistry` library
25+
- The latest version of the `qdk` Python library with the `jupyter` extra, and the `qdk-chemistry` library with all extras:
2626

2727
```bash
28-
pip install --upgrade "qdk[jupyter]" qdk-chemistry
28+
pip install --upgrade "qdk[jupyter]" "qdk-chemistry[all]"
2929
```
3030

3131
## Create a `Structure` object

articles/install-qdk-chemistry.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,24 @@ In this article, you learn how to install QDK for chemistry (QDK/Chemistry), a P
2727
2828
## Install the `qdk-chemistry` library
2929

30-
QDK/Chemistry is distributed as the `qdk-chemistry` Python library through PyPI. To install the package, run the following command in a Python virtual environment:
30+
QDK/Chemistry is distributed as the `qdk-chemistry` Python library through PyPI. To install the package, follow these steps:
3131

32-
```bash
33-
python -m pip install qdk-chemistry
34-
```
32+
1. Create a Python virtual environment. For example, `myenv`:
3533

36-
To use the `qdk-chemistry` library in Jupyter Notebook, run the following command:
34+
```bash
35+
python3 -m venv myenv
36+
```
3737

38-
```bash
39-
python -m pip install "qdk-chemistry[jupyter]"
40-
```
38+
1. Activate the virtual environment:
39+
40+
```bash
41+
source myvenv/bin/activate
42+
43+
1. Install the `qdk-chemistry` library with all extras:
44+
45+
```bash
46+
python3 -m pip install "qdk-chemistry[all]"
47+
```
4148

4249
> [!NOTE]
4350
> To use QDK/Chemistry with Jupyter Notebook in VS Code, make sure that your notebook uses the Python interpreter in the virtual environment where you installed `qdk-chemistry`.

0 commit comments

Comments
 (0)