Skip to content

cheat-sheet.pdf activating virtual environment for OSX/Linux doesn't work #41

@graingert

Description

@graingert

https://github.com/DjangoGirls/resources/blob/master/cheatsheets/cheat-sheet.pdf recommends:

source myvenv/bin/activate
or myvenv/bin/activate

But the second option doesn't work with venv or virtualenv created environments:

~ $ myvenv/bin/activate
bash: myvenv/bin/activate: Permission denied

If you cat the script, it notes that "you cannot run it directly" in the comment at the top:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions