Skip to content

Conversation

@grunt22fox
Copy link
Member

Modifies OSC instructions for MacOS/Linux to include the creation of a virtual environment to isolate the OSCDL program from the base Python install. Instructions tested and confirmed working on Linux Mint 22.2 with the latest version of Python 3.

Closes #154.

1. Extract the archive to a location on your computer that you would like to use OSCDL in.
1. Open the location of the extracted files in a terminal and run the command `pip install -r requirements.txt`. This will download Python packages needed to run OSCDL.
1. If you chose to download the source code, extract the archive to a location on your computer that you would like to use OSCDL in.
1. Open the location of the extracted files in a terminal and run the command `python3 -m venv venv` to create a virtual environment. Note that, if you receive a message that `ensurepip` is not available, you must install the `python3-venv` package for your distribution. Python may provide a command for you to use to accomplish this.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important to note that python3 is not standardised. On some distros, the binary is only available through python. Once the venv is activated it doesn't matter, but for the venv creation step it might be worth mentioning that it could be either python or python3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pip installs needs new steps to install packages in Pyhon Env

2 participants