Skip to content

Commit 526e46c

Browse files
authored
update python docs (#1436)
1 parent 83b790f commit 526e46c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pages/custom-query-modules/python.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ inside a Docker container, run the following command in the terminal:
5555

5656

5757
```
58-
docker exec -i -u root <container_id> bash -c "apt install -y python3-pip &&
58+
docker exec -i -u memgraph <container_id> bash -c "apt install -y python3-pip &&
5959
pip install pandas"
6060
```
6161

@@ -69,16 +69,16 @@ commands in the Dockerfile:
6969
```
7070
FROM memgraph/memgraph:latest
7171
72-
USER root
72+
USER memgraph
7373
7474
RUN apt install -y python3-pip
7575
RUN pip install pandas
7676
77-
USER memgraph
7877
```
7978

80-
It is important that you install Python library as a `root` user, rather than
81-
the default `memgraph` user.
79+
Python libraries should now be installed as the `memgraph` user, which is the
80+
default user inside the Memgraph container. You no longer need to switch to the
81+
`root` user to perform installations.
8282

8383
## Example
8484

0 commit comments

Comments
 (0)