Commit 6b70f32
authored
Use 'tensor-network-decoder' in pip install instructions (#263)
The name`tensor_network_decoder` from the `.toml` file is normalized to
be `tensor-network-decoder` in the wheel's METADATA. Newer version of
`pip` is able to resolve this difference and `pip install
cudaq-qec[tensor_network_decoder]` will work correctly.
However, if you use an older version of `pip/setuptools`, you'll see an
error such as "cudaq-qec 0.4.0 does not provide the extra
'tensor_network_decoder'". A safer alternative is to use the exact name
as appeared in the METADATA (the normalized name with dash instead of
underscore) such that even earlier versions of `pip` will find the
package and install the dependencies as needed.
---------
Signed-off-by: Melody Ren <[email protected]>1 parent bfa374e commit 6b70f32
File tree
4 files changed
+7
-7
lines changed- docs/sphinx/examples/qec/python
- libs/qec
- python
- bindings
- tests
4 files changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
| 287 | + | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments