ESP8266 Thing Dev Connection with Arduino Problem

I keep getting the following error when I try to verify my code on Arduino. I have the ESP8266 board installed. I’m using Arduino 1.8.10. I’m using a mac.

Multiple libraries were found for “Wire.h”

Used: /Users/maxbublitz/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/libraries/Wire

Multiple libraries were found for “SparkFunCCS811.h”

Used: /Users/maxbublitz/Documents/Arduino/libraries/SparkFun_CCS811_Arduino_Library

fork/exec /Users/maxbublitz/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3: no such file or directory

Error compiling for board Generic ESP8266 Module.

Can you open up the board manager and confirm which version of the “SparkFun ESP8266” boards you have installed? You don’t have the SparkFun specific boards downloaded then please do so.

You’re not using microPython or anything other than Arduino, correct?

Just using arduino, have all the boards installed. I pasted the link http://arduino.esp8266.com/versions/2.2 … index.json into my arduino preferences and installed the boards after.

Try uninstalling the ESP8266 Libraries you currently have installed and use the following JSON link to get “SparkFun” boards when you search ESP8266:

https://raw.githubusercontent.com/spark … index.json

After they are installed, choose ESP8266 Thing as your target and try verifying again.

Just tried using that link, still having problems. Installed and uninstalled Arduino multiple times, getting new errors.

Warning: platform.txt from core ‘ESP8266 Modules’ contains deprecated recipe.ar.pattern=“{compiler.path}{compiler.ar.cmd}” {compiler.ar.flags} {compiler.ar.extra_flags} “{build.path}/{archive_file}” “{object_file}”, automatically converted to recipe.ar.pattern=“{compiler.path}{compiler.ar.cmd}” {compiler.ar.flags} {compiler.ar.extra_flags} “{archive_file_path}” “{object_file}”. Consider upgrading this core.

/Users/maxbublitz/Documents/Arduino/libraries/SparkFun_CCS811_Arduino_Library/src/SparkFunCCS811.cpp: In member function ‘CCS811Core::status CCS811Core::beginCore(TwoWire&)’:

/Users/maxbublitz/Documents/Arduino/libraries/SparkFun_CCS811_Arduino_Library/src/SparkFunCCS811.cpp:62:12: error: ‘class TwoWire’ has no member named ‘setClockStretchLimit’

_i2cPort->setClockStretchLimit(200000);// was default 230 uS, now 200ms

^

Multiple libraries were found for “SparkFunCCS811.h”

Used: /Users/maxbublitz/Documents/Arduino/libraries/SparkFun_CCS811_Arduino_Library

Multiple libraries were found for “Wire.h”

Used: /Users/maxbublitz/Library/Arduino15/packages/esp8266/hardware/esp8266/2.1.2/libraries/Wire

exit status 1

Error compiling for board SparkFun ESP8266 Thing.

Can you tell me the version number of the CCS811 Library you’re using? You may want to try uninstalling the specific library, then reinstalling it.

Sparkfun CCS811 Arduino Library 1.0.7, it works fine when I’m using an Arduino Uno, I only have problems uploading to the ESP8266

you seem to have an older ESP8266 library than me ( 2.6.3). Remove the old driver / reference and use this link : http://arduino.esp8266.com/stable/packa … index.json to install. It contains the new driver for the ESP8266 thing and in the wire.h it has the setClockStretchLimit().

I’m still running in to similar errors with all these different methods. I’ve tried installing the boards on different macs and receive the same errors. I’ve tried it with two PC’s and it has worked perfectly fine, but it would be great to be able to get it to work on a mac.