You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to use the local version of the package instead of the global version, use a virtual environment. To set up a virtual environment and install all the necessary dependencies, run:
43
43
44
44
```
45
-
python3 -m venv testenv
46
-
source testenv/bin/activate
45
+
python3 -m venv .venv
46
+
source .venv/bin/activate
47
47
pip install --upgrade pip
48
48
pip install .
49
49
pip install '.[development]'
50
-
deactivate && source testenv/bin/activate
50
+
deactivate && source .venv/bin/activate
51
51
```
52
52
53
53
## Managing dependencies
@@ -61,7 +61,7 @@ The optional dependency sets also give the developer the option to manually list
61
61
#### Using PostgreSQLClient in an AWS Lambda
62
62
Because `psycopg` requires a statically linked version of the `libpq` library, the `PostgreSQLClient` cannot be installed as-is in an AWS Lambda function. Instead, it must be packaged as follows:
0 commit comments