1
0
mirror of https://github.com/actix/examples synced 2025-02-20 00:14:21 +01:00

fix python docs and added venv (#640)

This commit is contained in:
Sebastian Detert 2023-10-30 00:26:09 +01:00 committed by GitHub
parent a3cf5ab77b
commit 4bcc43fdab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,9 @@ Use two tabs to set up a proper conversation.
## Python Client using aiohttp ## Python Client using aiohttp
Client connects to server. Reads input from stdin and sends to server. Client connects to server. Reads input from stdin and sends to server.
Fetch the needed python libraries `pip3 install --requirements requirements.txt` Create a venv environment `python3 -m venv venv`
Launch venv environment `source ./venv/bin/activate`
Fetch the needed python libraries `pip3 install -r requirements.txt`
Then start client as `./client.py` Then start client as `./client.py`