Skip to content

Unable to Use Poetry Python Virtualenv #616

Discussion options

You must be logged in to vote

That is simple and would break any environment manager tool, including python virtualenv, likely rbenv and nvm too.

Each command entry under cmds list is a standalone shell, so it will inherit nothing from the previous command, so basically you will not have the virtualenv activated,

The workaround is to write an entire shell script as a single command:

cmds:
  - |
    activate
    echo 123
    ...

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ghostsquad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
type: bug Something not working as intended.
3 participants
Converted from issue

This discussion was converted from issue #607 on November 28, 2021 19:34.