Something prepends /usr/bin to PATH (IEP-255)
See original GitHub issueWhen I try to run the build I get this error:
-- Checking Python dependencies...
The following Python requirements are not satisfied:
setuptools>=21
future>=0.15.2
pyparsing>=2.0.3,<2.4.0
pyelftools>=0.22
gdbgui>=0.13.2.0
pygdbmi<=0.9.0.2
reedsolo>=1.5.3,<=1.5.4
bitstring>=3.1.6
To install the missing packages, please run "/home/szabi/esp/esp-idf/install.sh"
Diagnostic information:
IDF_PYTHON_ENV_PATH: /home/szabi/.espressif/python_env/idf4.3_py3.8_env
Python interpreter used: /usr/bin/python
Warning: python interpreter not running from IDF_PYTHON_ENV_PATH
PATH: /usr/bin:/home/szabi/.espressif/python_env/idf4.3_py3.8_env/bin:/home/szabi/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin:/home/szabi/.espressif/tools/xtensa-esp32s2-elf/esp-2020r2-8.2.0/xtensa-esp32s2-elf/bin:/home/szabi/.espressif/tools/riscv-none-embed-gcc/riscv-none-embed-gcc-8.2.0/xPacks/riscv-none-embed-gcc/8.2.0-3.1/bin:/home/szabi/.espressif/tools/esp32ulp-elf/2.28.51-esp-20191205/esp32ulp-elf-binutils/bin:/home/szabi/.espressif/tools/esp32s2ulp-elf/2.28.51-esp-20191205/esp32s2ulp-elf-binutils/bin:/home/szabi/.espressif/tools/cmake/3.16.4/bin:/home/szabi/.espressif/tools/openocd-esp32/v0.10.0-esp32-20200709/openocd-esp32/bin:/home/szabi/.espressif/python_env/idf4.3_py3.8_env/bin:/home/szabi/esp/esp-idf/tools:/home/szabi/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
As you can see, the problem is that something prepends /usr/bin
to PATH. This is not coming from my project environment settings, it starts with the second entry of the above.
Anybody seen this before? I spent hours looking through project settings and eclipse preferences, haven’t found anything. A grep -r
in the project folder didn’t reveal any file containing /usr/bin
apart from the project environment settings file.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Add /usr/local/sbin to the PATH of a user [duplicate]
The easiest way is to add this line to your user's ~/.bashrc file: export PATH=$PATH:/usr/local/sbin. Bear in mind that /sbin/ , /usr/sbin ...
Read more >How to correctly add a path to PATH? - Unix StackExchange
The bottom line is that to add a new directory to the path, you must append or prepend the directory to the $PATH...
Read more >My PATH Variable is a Mess. How to clean up your PATH in…
You always append or prepend new paths to $PATH variable in your config file, such as ~/.zshrc , ~/bashrc , etc. I recommend...
Read more >cygwin - /usr/local/bin:/usr/bin: to the end of $PATH instead of ...
For a default installation of Cygwin, PATH is set is /etc/profile. You can modify PATH so that /usr/local/bin:/usr/bin are appended rather than prepended....
Read more >Adding a Path to the Linux PATH Variable | Baeldung on Linux
We can add a new path to the PATH variable using the export command. To prepend a new path, such as /some/new/path, we...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
HI @szekelyisz For unresolved errors, I would request you to create a new issue with the following logs.
Before you capture the logs, please create a new project from the templates and build the project.
@szekelyisz theoretically, same should be the case with this plugin, as it obtains information about include paths and preprocessor flags from compile_commands.json, generated by CMake. If for some reason indexing is not working for you, we can try to investigate.