Skip to content

Commit 1b56766

Browse files
committed
Add MaxText installation FAQ section for common installation errors
1 parent bb6f750 commit 1b56766

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

training/trillium/MAXTEXT_README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,24 @@ export PROJECT=#<your_compute_project>
5757
export ZONE=#<your_compute_zone>
5858
export CLUSTER_NAME=v6e-demo #<your_cluster_name>
5959
export OUTPUT_DIR=gs://v6e-demo/ #<your_GCS_folder_for_results>
60+
```
61+
62+
# FAQ
63+
64+
1. If you see the following error when creating your virtual environment in step 2, install the
65+
required dependency using the output's provided command. You may need to run the command with `sudo`. This
66+
example is for Python3.10.
67+
```
68+
The virtual environment was not created successfully because ensurepip is not
69+
available. On Debian/Ubuntu systems, you need to install the python3-venv
70+
package using the following command.
71+
72+
apt install python3.10-venv
73+
74+
You may need to use sudo with that command. After installing the python3-venv
75+
package, recreate your virtual environment.
76+
77+
Failing command: /home/bvandermoon/venvp3/bin/python3
78+
79+
-bash: /home/bvandermoon/venvp3/bin/activate: No such file or directory
6080
```

0 commit comments

Comments
 (0)