DjangoGirls / resources

Repository containing resources (graphics, presentations, texts) for Django Girls organizers
86 stars 91 forks source link

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

Open graingert opened 1 month ago

graingert commented 1 month ago

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:

graingert commented 1 month ago

It looks like the markdown it renders from is correct: https://github.com/DjangoGirls/resources/blame/master/cheatsheets/cheatsheet_venv_django_git.md#L6

But the PDF shows incorrectly for me on Android and the GitHub PDF renderer

Screenshot_20241027-233354