Comments (2)
Sorry, at the moment the plugin supports IDF 4.x. We will update IDF 3.3.x to include features required by the plugin in the future.
https://github.com/espressif/idf-eclipse-plugin/blob/master/README.md#prerequisites
from idf-eclipse-plugin.
******** Please disregard. It turns out that the subprocess lib I installed was then causing a problem. Once I remove it with "pip uninstall subprocess.run" I could relaunch the tools install and this time completed properly. Apologies for the waste of time ***********
************** disregard *******************
Thanks for the prompt answer, but there is still the same problem even with 4.0. As I said, I copied all the relevant files from 4.0, but still had errors.
Anyway, I downloaded 4.0-beta1, the officially suggested 4.0 build, rerun on a clean slate. Same missing module in Python (which is something many users without that module will face; the module is not installed by default in Python Windows)
And same error at the end (I removed all the download % from the console), see below
I'd be happy enough to enter the environment settings by hand, if needed, but while some names re listed, there's no details on how to set them
Installing tools...
This can take a while. Please be patient.
Executing C:\Program Files\Python37\python.exe C:\ESP32\esp-idf-v4.0-beta1\tools\idf_tools.py install all
Installing tools: xtensa-esp32-elf, esp32ulp-elf, cmake, openocd-esp32, mconf, ninja, idf-exe, ccache
Installing [email protected]
Downloading xtensa-esp32-elf-gcc8_2_0-esp32-2019r1-win32.zip to C:\Users\Roberto.espressif\dist\xtensa-esp32-elf-gcc8_2_0-esp32-2019r1-win32.zip.tmp
0%
100%
Done
Extracting C:\Users\Roberto.espressif\dist\xtensa-esp32-elf-gcc8_2_0-esp32-2019r1-win32.zip to C:\Users\Roberto.espressif\tools\xtensa-esp32-elf\esp32-2019r1-8.2.0
Installing [email protected]
Downloading binutils-esp32ulp-win32-2.28.51-esp32ulp-20180809.zip to C:\Users\Roberto.espressif\dist\binutils-esp32ulp-win32-2.28.51-esp32ulp-20180809.zip.tmp
0%
100%
Done
Extracting C:\Users\Roberto.espressif\dist\binutils-esp32ulp-win32-2.28.51-esp32ulp-20180809.zip to C:\Users\Roberto.espressif\tools\esp32ulp-elf\2.28.51.20170517
Installing [email protected]
Downloading cmake-3.13.4-win64-x64.zip to C:\Users\Roberto.espressif\dist\cmake-3.13.4-win64-x64.zip.tmp
0%
100%
Done
Extracting C:\Users\Roberto.espressif\dist\cmake-3.13.4-win64-x64.zip to C:\Users\Roberto.espressif\tools\cmake\3.13.4
Installing [email protected]
Downloading openocd-esp32-win32-0.10.0-esp32-20190313.zip to C:\Users\Roberto.espressif\dist\openocd-esp32-win32-0.10.0-esp32-20190313.zip.tmp
0%
100%
Done
Extracting C:\Users\Roberto.espressif\dist\openocd-esp32-win32-0.10.0-esp32-20190313.zip to C:\Users\Roberto.espressif\tools\openocd-esp32\v0.10.0-esp32-20190313
Installing [email protected]
Downloading mconf-v4.6.0.0-idf-20190628-win32.zip to C:\Users\Roberto.espressif\dist\mconf-v4.6.0.0-idf-20190628-win32.zip.tmp
0%
100%
Done
Extracting C:\Users\Roberto.espressif\dist\mconf-v4.6.0.0-idf-20190628-win32.zip to C:\Users\Roberto.espressif\tools\mconf\v4.6.0.0-idf-20190628
Installing [email protected]
Downloading ninja-1.9.0-win64.zip to C:\Users\Roberto.espressif\dist\ninja-1.9.0-win64.zip.tmp
0%
100%
Done
Extracting C:\Users\Roberto.espressif\dist\ninja-1.9.0-win64.zip to C:\Users\Roberto.espressif\tools\ninja\1.9.0
Installing [email protected]
Downloading idf-exe-v1.0.1.zip to C:\Users\Roberto.espressif\dist\idf-exe-v1.0.1.zip.tmp
0%
100%
Done
Extracting C:\Users\Roberto.espressif\dist\idf-exe-v1.0.1.zip to C:\Users\Roberto.espressif\tools\idf-exe\1.0.1
Installing [email protected]
Downloading ccache-3.7-w64.zip to C:\Users\Roberto.espressif\dist\ccache-3.7-w64.zip.tmp
0%
97%
100%
Done
Extracting C:\Users\Roberto.espressif\dist\ccache-3.7-w64.zip to C:\Users\Roberto.espressif\tools\ccache\3.7
Executing C:\Program Files\Python37\python.exe C:\ESP32\esp-idf-v4.0-beta1\tools\idf_tools.py install-python-env
Traceback (most recent call last):
File "C:\ESP32\esp-idf-v4.0-beta1\tools\idf_tools.py", line 1317, in
main(sys.argv[1:])
File "C:\ESP32\esp-idf-v4.0-beta1\tools\idf_tools.py", line 1313, in main
action_func(args)
File "C:\ESP32\esp-idf-v4.0-beta1\tools\idf_tools.py", line 1112, in action_install_python_env
idf_python_env_path, , virtualenv_python = get_python_env_path()
File "C:\ESP32\esp-idf-v4.0-beta1\tools\idf_tools.py", line 813, in get_python_env_path
idf_version_str = subprocess.check_output(['git', '-C', global_idf_path, 'describe', '--tags'], cwd=global_idf_path, env=os.environ).decode()
File "C:\Program Files\Python37\lib\subprocess.py", line 395, in check_output
**kwargs).stdout
File "C:\Program Files\Python37\lib\site-packages\run_init.py", line 145, in new
process = cls.create_process(command, stdin, cwd=cwd, env=env, shell=shell)
File "C:\Program Files\Python37\lib\site-packages\run_init_.py", line 121, in create_process
shlex.split(command),
File "C:\Program Files\Python37\lib\shlex.py", line 305, in split
return list(lex)
File "C:\Program Files\Python37\lib\shlex.py", line 295, in next
token = self.get_token()
File "C:\Program Files\Python37\lib\shlex.py", line 105, in get_token
raw = self.read_token()
File "C:\Program Files\Python37\lib\shlex.py", line 136, in read_token
nextchar = self.instream.read(1)
AttributeError: 'list' object has no attribute 'read'
Executing C:\Program Files\Python37\python.exe C:\ESP32\esp-idf-v4.0-beta1\tools\idf_tools.py export --format=key-value
Traceback (most recent call last):
File "C:\ESP32\esp-idf-v4.0-beta1\tools\idf_tools.py", line 1317, in
main(sys.argv[1:])
File "C:\ESP32\esp-idf-v4.0-beta1\tools\idf_tools.py", line 1313, in main
action_func(args)
File "C:\ESP32\esp-idf-v4.0-beta1\tools\idf_tools.py", line 953, in action_export
idf_python_env_path, idf_python_export_path, virtualenv_python = get_python_env_path()
File "C:\ESP32\esp-idf-v4.0-beta1\tools\idf_tools.py", line 813, in get_python_env_path
idf_version_str = subprocess.check_output(['git', '-C', global_idf_path, 'describe', '--tags'], cwd=global_idf_path, env=os.environ).decode()
File "C:\Program Files\Python37\lib\subprocess.py", line 395, in check_output
**kwargs).stdout
File "C:\Program Files\Python37\lib\site-packages\run_init_.py", line 145, in new
process = cls.create_process(command, stdin, cwd=cwd, env=env, shell=shell)
File "C:\Program Files\Python37\lib\site-packages\run_init_.py", line 121, in create_process
shlex.split(command),
File "C:\Program Files\Python37\lib\shlex.py", line 305, in split
return list(lex)
File "C:\Program Files\Python37\lib\shlex.py", line 295, in next
token = self.get_token()
File "C:\Program Files\Python37\lib\shlex.py", line 105, in get_token
raw = self.read_token()
File "C:\Program Files\Python37\lib\shlex.py", line 136, in read_token
nextchar = self.instream.read(1)
AttributeError: 'list' object has no attribute 'read'
from idf-eclipse-plugin.
Related Issues (20)
- Add the Reset & Restart functionality (IEP-1177) HOT 7
- Abort build process in presence of errors (IEP-1180) HOT 1
- Latest version brings more unresolved warnings (IEP-1181) HOT 24
- Espressif-IDE-2.12.1-linux.gtk.x86_64 seems Scanner is broken (IEP-1182) HOT 1
- macOS 14.4 Sonoma (IEP-1185) HOT 1
- IDE installation error (IEP-1188) HOT 3
- Not able to see data in teraterm (IEP-1191)
- Unresolved inclusion. unless it was included in "app_main.c". (IEP-1206)
- Drop python in favor of out-of-the-box available java (IEP-1235) HOT 1
- Move 'ESP-IDF: ****' context menu items into 'ESP-IDF' SUBMENU instead of putting them on top level (IEP-1236) HOT 4
- Remove internet shortcut icon out of the status bar (IEP-1237) HOT 1
- com.espressif.idf.core.idfNature resource key must have matching localized string value (IEP-1238)
- Invalid (tools and dist) installation path: '${USER_HOME}/.espressif/...' instead of user-provided directory (IEP-1239) HOT 2
- Invalid 'Espressif IDF Project' project configuration (IEP-1240) HOT 1
- Eclipse muzz never stuck building espressif plugin project (IEP-1241) HOT 1
- Invalid error message "ninja failed with exit code 1, output of the command is in the ..." (IEP-1242)
- Invalid ะก/ะก++ project structure concept: using separate source files accompanied with headers(*.h) included in main *.c file muzz be possible (IEP-1243) HOT 2
- Invalid error message "Configuring incomplete, errors occurred!\nSee also..." (IEP-1244)
- Multi-Target Build ad sdkconfig editor (IEP-1250)
- sdkconfig.default is crashed by sdkconfig editor (IEP-1251)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from idf-eclipse-plugin.