Skip to content

Commit

Permalink
vault backup: 2024-05-02 18:01:36
Browse files Browse the repository at this point in the history
  • Loading branch information
benjitusk committed May 2, 2024
1 parent db55b84 commit 835f160
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/Year II/Semester II/AdComms/00. MacOS Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ Since the provided instructions only detail how to prepare the workspace for Win
#### PyEnv – Python Version Manager
The instructions specify to install Python 3.8.0. I, for no particular reason, went with the latest 3.8 release (3.8.19). It shouldn’t make a difference.

Using the [brew](https://brew.sh/), install `pyenv` with the Terminal:
Using [brew](https://brew.sh/), install `pyenv` with the Terminal:
```bash
brew install pyenv
```

Once that runs, go to the instructions at [this section](https://github.com/pyenv/pyenv?tab=readme-ov-file#set-up-your-shell-environment-for-pyenv) of the PyEnv GitHub repository, and find the steps specific to your shell environment. I’m using `zsh`, so I used the following:
Once that runs, go to the instructions at [this section](https://github.com/pyenv/pyenv?tab=readme-ov-file#set-up-your-shell-environment-for-pyenv) of the PyEnv GitHub repository, and find the steps specific to your shell environment. You can find your shell by running `echo $SHELL`.
I’m using `zsh`, so I ran the following commands:
```bash
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zshrc
echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.zshrc
Expand Down Expand Up @@ -52,7 +53,9 @@ python -m venv .venv
```

Activate the Virtual Environment:
`. .venv/bin/activate`
```bash
. .venv/bin/activate
```

Install `scapy`.
`pip install scapy`
Expand Down

0 comments on commit 835f160

Please sign in to comment.