Skip to content

Commit 45f6bd2

Browse files
authored
Merge pull request #682 from Anas-Elhounsri/master
Pushing the fixes of instructions about "poetry shell" to dev branch
2 parents bd597be + 7780ecb commit 45f6bd2

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,24 @@ With the following instruction, we can see the environments available in the pro
158158
poetry env list
159159
```
160160

161-
And this way, we enter the virtual environment established by Poetry. Once inside the environment, we can perform the installation test for SOMEF detailed later.
161+
Now we need to access our virtual environment, to do so you have to install the [poetry plugin shell](https://github.com/python-poetry/poetry-plugin-shell) and run the following possible commands:
162162

163+
- If you want to install the `shell` plugin is via the `self add` command of Poetry
164+
```
165+
poetry self add poetry-plugin-shell
166+
```
167+
- or if you used pipx to install Poetry:
168+
```
169+
pipx inject poetry poetry-plugin-shell
170+
```
171+
- otherwise if you used pip install:
172+
```
173+
pip install poetry-plugin-shell
174+
```
175+
After `shell` is set up, you can run the following comand to access the virtual environment
163176
```
164177
poetry shell
165178
```
166-
167179
Test SOMEF installation
168180

169181
```bash

0 commit comments

Comments
 (0)