Skip to content

Commit 186d311

Browse files
chore(apollo_infra_utils): explicit instructions in verify_cairo0_compiler_deps
1 parent 7d86c6e commit 186d311

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ target
1818
*/.vscode/*
1919
*.DS_Store
2020
tmp_venv/*
21+
sequencer_venv/*
2122
.vscode/settings.json
2223
/data
2324
/logs

crates/apollo_infra_utils/src/cairo0_compiler.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ pub fn verify_cairo0_compiler_deps() {
2525

2626
assert!(
2727
expected_cairo_lang_version.ends_with(cairo_lang_version),
28-
"cairo-lang version {expected_cairo_lang_version} not found ({}). Please run:\npip3.9 \
29-
install -r {:?}\nthen rerun the test.",
28+
"cairo-lang version {expected_cairo_lang_version} not found ({}). Run the following \
29+
commands (enter a python venv and install dependencies) and retry:\npython -m venv \
30+
sequencer_venv\n. sequencer_venv/bin/activate\npip install -r {:?}",
3031
if cairo_lang_version.is_empty() {
3132
String::from("no installed cairo-lang found")
3233
} else {

0 commit comments

Comments
 (0)