-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request