Skip to content

Commit 1869642

Browse files
authored
Merge pull request #73 from AI-Hypercomputer/bvandermoon-recipes
Add FAQ instruction for pip cache conflict
2 parents 4645fe6 + 6ff3ee0 commit 1869642

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

training/trillium/MAXTEXT_README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,18 @@ package, recreate your virtual environment.
7777
Failing command: /home/bvandermoon/venvp3/bin/python3
7878
7979
-bash: /home/bvandermoon/venvp3/bin/activate: No such file or directory
80-
```
80+
```
81+
82+
2. If you see an error like the following while building your Docker image, there could be a pip versioning
83+
conflict in your cache.
84+
85+
```
86+
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the
87+
package versions, please update the hashes. Otherwise, examine the package contents carefully;
88+
someone may have tampered with them.
89+
unknown package:
90+
Expected sha256 b3e54983cd51875855da7c68ec05c05cf8bb08df361b1d5b69e05e40b0c9bd62
91+
Got f3b7ea1da59dc4f182437cebc7ef37b847d55c7ebfbc3ba286302f1c89ff5929
92+
```
93+
94+
Try deleting your pip cache file: `rm ~/.cache/pip -rf`. Then retry the Docker build

0 commit comments

Comments
 (0)