-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail to install on mac OS (IDFGH-1808) #4018
Comments
@X-Ryl669 Thanks for reporting. Would you please help provide more details as suggested in the issue template? Information like elf, sdk configuration, backtrace, log outputs, commit ID, hardware and etc. would help us debug further. Thanks. |
Se #4017 |
I'm sorry. According to the method you provided, I did not get the correct result and running "./install.sh" still has an error. |
@makermuyi, Have you downloaded ESP-IDF as a .zip archive from GitHub and extracted it? This will not work, you need to use Git to clone the repository. Please refer to the steps in the Getting Started guide: https://docs.espressif.com/projects/esp-idf/en/latest/get-started/index.html#installation-step-by-step |
I followed exactly all the steps described there, but I got this same problem. I'm trying to install on Linux Mint 17.3 |
You must clone the repository (via git clone). If you do so, you'll not get this error:
@gabrielantao : Please report the error you get exactly. |
@X-Ryl669 I tested those steps here on Ubuntu 18.04 and it worked fine. I got this when I try step 3 when I try on Mint. gabrielantao@gabriel-antao ~/esp/esp-idf $ ./install.sh |
Python error trace are a real pain to decipher. But here, the line that's important is:
This is not related to this bug. You'd install pip |
This problem is caused by the use of macOS. |
As the title said? |
@X-Ryl669 what is the version of git when this error happened? |
I'll tell you later today. In all cases, |
git version 1.8.3.4 |
I've followed this step-by-step, more than once and get the same error:
running the command works though: |
@Quentinb please check that your ESP-IDF directory is a valid Git repository. Does running |
I've managed to get it to work by adding a IDF_PATH=~/esp/esp-idf into my user profile. |
I had this error even though pip was installed. This resolved the issue for me,
|
this worked for me
|
Using latest master(a7e8d87),
install.sh
fails with:Please notice that
-C
is not a valid command for git (you need the generic--work-tree=
). I've replaced${IDF_PATH}/tools/idf_tools.py
with this:And it passed.
The text was updated successfully, but these errors were encountered: