Difference between revisions of "Arduino Big-Sur Workaround"
From Digipool-Wiki
(→Workaround) |
|||
Line 11: | Line 11: | ||
== Workaround == | == Workaround == | ||
− | # | + | # Suche die Datei: '''list_ports_osx.py''' |
#* '''Verwende cmd + shift + [.]''' um den versteckten '''Library''' in deinem Konto sichtbar zu machen | #* '''Verwende cmd + shift + [.]''' um den versteckten '''Library''' in deinem Konto sichtbar zu machen | ||
+ | #* Öffne: '''~/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/pyserial/serial/tools/list_ports_osx.py''' | ||
# Comment out lines 29 and 30 | # Comment out lines 29 and 30 | ||
# Append these lines: | # Append these lines: |
Revision as of 21:31, 24 January 2021
Fehlermeldung
pyserial or esptool directories not found next to this upload.py tool. An error occurred while uploading the sketch
Workaround
- Suche die Datei: list_ports_osx.py
- Verwende cmd + shift + [.] um den versteckten Library in deinem Konto sichtbar zu machen
- Öffne: ~/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/pyserial/serial/tools/list_ports_osx.py
- Comment out lines 29 and 30
- Append these lines:
- iokit = ctypes.cdll.LoadLibrary('/System/Library/Frameworks/IOKit.framework/IOKit')
- cf = ctypes.cdll.LoadLibrary('/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation')
The code should look like this
#iokit = ctypes.cdll.LoadLibrary(ctypes.util.find_library('IOKit')) #cf = ctypes.cdll.LoadLibrary(ctypes.util.find_library('CoreFoundation')) iokit = ctypes.cdll.LoadLibrary('/System/Library/Frameworks/IOKit.framework/IOKit') cf = ctypes.cdll.LoadLibrary('/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation')