File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -131,15 +131,15 @@ in order for the subsequent commands to run from within the virtual environment.
131131
132132
133133Alternatively, to avoid creating a new shell, you can manually activate the
134- virtual environment by running ` source {path_to_venv}/bin/activate ` (` {path_to_venv}\Scripts\activate.bat ` on Windows).
134+ virtual environment by running ` source {path_to_venv}/bin/activate ` (` {path_to_venv}\Scripts\activate.ps1 ` on Windows PowerShell ).
135135To get the path to your virtual environment run ` poetry env info --path ` .
136136You can also combine these into a nice one-liner, ` source $(poetry env info --path)/bin/activate `
137137To deactivate this virtual environment simply use ` deactivate ` .
138138
139- | | POSIX Shell | Windows | Exit/Deactivate |
139+ | | POSIX Shell | Windows (PowerShell) | Exit/Deactivate |
140140| ----------------- | ----------------------------------------------- | ------------------------------------- | --------------- |
141141| New Shell | ` poetry shell ` | ` poetry shell ` | ` exit ` |
142- | Manual Activation | ` source {path_to_venv}/bin/activate ` | ` {path_to_venv}\Scripts\activate.bat ` | ` deactivate ` |
142+ | Manual Activation | ` source {path_to_venv}/bin/activate ` | ` {path_to_venv}\Scripts\activate.ps1 ` | ` deactivate ` |
143143| One-liner | ` source $(poetry env info --path)/bin/activate ` | | ` deactivate ` |
144144
145145
You can’t perform that action at this time.
0 commit comments