Skip to content

Commit a0b885f

Browse files
committed
Python venv fix
1 parent 7ef46ca commit a0b885f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Setup virtual environment (no cache hit)
3232
if: steps.virtualenv-cache.outputs.cache-hit != 'true'
3333
run: |
34-
python${{ env.PYTHON_VERSION }} -m venv .venv
34+
python3.12 -m venv .venv
3535
source .venv/bin/activate
3636
make install-ci
3737
set-short-sha:

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,12 +289,13 @@ curl -X 'POST'
289289
* Using `pyenv` to manage virtualenv's is recommended
290290
* Mac install instructions. See [here](https://github.com/Unstructured-IO/community#mac--homebrew) for more detailed instructions.
291291
* `brew install pyenv-virtualenv`
292-
* `pyenv install 3.12`
292+
* `pyenv install 3.12.11`
293293
* Linux instructions are available [here](https://github.com/Unstructured-IO/community#linux).
294294

295295
* Create a virtualenv to work in and activate it, e.g. for one named `document-processing`:
296296

297-
`pyenv virtualenv 3.12 unstructured-api` <br />
297+
`pyenv virtualenv 3.12.11
298+
unstructured-api` <br />
298299
`pyenv activate unstructured-api`
299300

300301
See the [Unstructured Quick Start](https://github.com/Unstructured-IO/unstructured#eight_pointed_black_star-quick-start) for the many OS dependencies that are required, if the ability to process all file types is desired.

0 commit comments

Comments
 (0)