Skip to content

Commit

Permalink
issues/conda: check python executable
Browse files Browse the repository at this point in the history
  • Loading branch information
mara004 committed Nov 15, 2023
1 parent 07d336e commit 28649ad
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/1_pypa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ body:

- type: checkboxes
attributes:
label: Output validity
label: Validity
options:
- label: I confirm that I ran all commands, and pasted the whole output.
required: true
7 changes: 4 additions & 3 deletions .github/ISSUE_TEMPLATE/2_conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ body:
options:
- label: I have verified to be using the **official packages** from the `pypdfium2-team` and `bblanchon` channels.
required: true
- label: I confirm to be working with the **conda env in question, and its proper python executable** (not system python).

- type: textarea
attributes:
Expand All @@ -33,9 +34,9 @@ body:
render: shell
description: |
To provide information about your install, please run the following commands and paste the output into the field below.
**Note, the commands have to be run in the active conda env in question.**
```shell
python -m pypdfium2 -v
which python
python -VV
python -c "import platform as p; print(p.platform())"
python -m pip show pypdfium2_raw
Expand All @@ -48,7 +49,7 @@ body:

- type: checkboxes
attributes:
label: Output validity
label: Validity
options:
- label: I confirm that I ran all commands **in the active conda env in question**, and pasted the whole output.
- label: I confirm that I ran all commands in the conda env in question, with its proper python executable, and pasted the whole output.
required: true
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pypdfium2 includes helpers to simplify common use cases, while the raw PDFium/ct
Adding the channels permanently and tightening priority is optional, but encouraged to include pypdfium2 in `conda update` by default, and to avoid accidentally replacing the install with a different channel.
If desired, you may limit the channel config to the current environment by adding `--env`.

Alternatively, it is possible to allow the channels only once on install, but then you should be cautious when making changes to the environment:
The alternative is to allow the channels only once on install, but then you should be cautious when making changes to the environment:
```bash
conda install pypdfium2-team::pypdfium2_helpers -c bblanchon -c pypdfium2-team
```
Expand Down

0 comments on commit 28649ad

Please sign in to comment.