Skip to content

Commit

Permalink
lock python version for windows install on 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Gadorek authored and Hahihula committed Oct 18, 2024
1 parent 6787628 commit 929a1e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/wizard/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ pub async fn run_wizzard_run(mut config: Settings) -> Result<(), String> {
version_instalation_path.push(&idf_version);
let mut idf_path = version_instalation_path.clone();
idf_path.push("esp-idf");
config.idf_path = Some(idf_path.clone());
config.idf_path = Some(idf_path.clone()); // todo: list all of the paths
idf_im_lib::add_path_to_path(idf_path.to_str().unwrap());

// download idf
Expand Down
2 changes: 1 addition & 1 deletion src/wizard/prompts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ pub fn check_and_install_python() -> Result<(), String> {
if std::env::consts::OS == "windows" {
info!("{}", t!("python.sanitycheck.fail"));
if generic_confirm("pythhon.install.prompt").map_err(|e| e.to_string())? {
system_dependencies::install_prerequisites(vec!["python".to_string()])
system_dependencies::install_prerequisites(vec!["python@3.11.5".to_string()])
.map_err(|e| e.to_string())?;
let scp = system_dependencies::get_scoop_path();
let usable_python = match scp {
Expand Down

0 comments on commit 929a1e9

Please sign in to comment.