Skip to content
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

esptool not found on MacOS using Python 3 #39

Open
r-goebel opened this issue Aug 16, 2022 · 0 comments
Open

esptool not found on MacOS using Python 3 #39

r-goebel opened this issue Aug 16, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@r-goebel
Copy link

r-goebel commented Aug 16, 2022

I used the Connector on my MacBook where Python 3.8 was installed. Each time i tried to flash a program I got the error message "esptool not found" although it was installed.
This error resulted from the fact that I use python 3.8 and the connector expects python 2.7 with MacOS, since the path for Python is hard coded in the file connector/tree/master/src/main/java/de/fhg/iais/roberta/util/PythonRequireHelper.java. This is really hard to find.

I did not want to change back to python 2. Hence did the following steps to overcome the problem:

  • I created the dummy-folder, which the connector expects to find: /Users/$myname/Library/Python/2.7/bin/
  • In this folder, I created a link to the esptool.py in my python3.8 folder

It should either be mention in the README that the connector expects python 2.7 on MacOS or the way the connector identifies the python path should be changed to a more flexible way.

@bjost2s bjost2s added the enhancement New feature or request label Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants