Open ivmarkov opened 2 years ago
I must say, manually creating the ~/.espressif
did not get me much further.
Now when I do idf-env idf install
it says Creating virtual environment: /Users/imarkov/.espressif/python_env/idf4.4_py3.8_env
... and then shows a command prompt as if it did everything already. However, when I look in ~/.espressif
, I don't see anything.
~/.espressif
folderidf-env
withcargo install idf-env --git https://github.com/espressif/idf-env
export RUST_BACKTRACE=1
idf-env idf install
It panics with output:Looking at
src/config.rs
line 61, it seems you are missing afs::create_dir_all
call that should create the~/.espressif
folder first, if it does not exist already.By the way, all these operations would've been easier if you were using
Path
/PathBuf
based operations, rather than plain string concats. You are lucky that those forward slashes actually do work on Windows. :)