https://github.com/devgametools/pip-venv-practice
PIP AND VIRTUAL ENVIRONMENT
https://github.com/devgametools/pip-venv-practice
Last synced: 4 months ago
JSON representation
PIP AND VIRTUAL ENVIRONMENT
- Host: GitHub
- URL: https://github.com/devgametools/pip-venv-practice
- Owner: Devgametools
- Created: 2025-01-02T15:38:18.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-01-05T04:35:12.000Z (6 months ago)
- Last Synced: 2025-02-26T03:45:28.894Z (4 months ago)
- Language: Python
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#TERMINAL INSTRUCTIONS
#WSL-LINUX
```sh
python3 -V
sudo apt install -y python3-pip
pip3 -V
sudo apt install -y build-essential libssl-dev libffi-dev python3-dev
```#MAC
```sh
sudo xcode-select --install
sudo xcode-select --reset
brew install python3
```#GAME PROJECT
```sh
cd game
python3 main.py
```#CREATING ENVIRONMENTS
```sh
sudo apt install python3-venv
#MOVE TO PROOJECT FILE
python3 -m venv nameOfEnvironment #CREATING ENVIRONMENT
source nameOfEnvironment/bin/activate #RUNNING ENVIRONMENT
deactivate #TO EXIT OF ENVIRONMENT
```#REQUIREMENTS.TXT
```sh
pip3 freeze > requirements.txt
pip3 install -r requirements.txt
```