Installing Python on Windows 10 – for Makerbot Firmware Upgrades
This is a quick article on which Python version you will need to assist with manually uploading the Makerbot Firmware.
If you are trying to manually upload firmware for the Makerbot Replicator 2, and you try to use the most recent version of Python (version 3.8 at the time of this writing), it simply will not allow you to run the Makerbot firmware upload tool. If you see the following error when you run the tool, you will know what I mean:
C:\Users\%username%\Downloads\winBotTool_76_G\winBotTool_76_G>Traceback (most
recent call last):
File “C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.752.0_x64__qbz5n2kfra8p0\lib\runpy.py”,
line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File “C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.752.0_x64__qbz5n2kfra8p0\lib\runpy.py”,
line 86, in _run_code
exec(code, run_globals)
File “bot_tool_v1\__main__.py”, line 2, in <module>
File “<frozen importlib._bootstrap>”, line 991, in _find_and_load
File “<frozen importlib._bootstrap>”, line 971, in _find_and_load_unlocked
File “<frozen importlib._bootstrap>”, line 914, in _find_spec
File “<frozen importlib._bootstrap_external>”, line 1342, in find_spec
File “<frozen importlib._bootstrap_external>”, line 1316, in _get_spec
File “<frozen importlib._bootstrap_external>”, line 1297, in
_legacy_get_spec
File “<frozen importlib._bootstrap>”, line 414, in spec_from_loader
File “<frozen importlib._bootstrap_external>”, line 649, in
spec_from_file_location
File “<frozen zipimport>”, line 191, in get_filename
File “<frozen zipimport>”, line 713, in _get_module_code
File “<frozen zipimport>”, line 647, in _compile_source
File “bot_tool_v1\bot_tool.py”, line 37
yield (str(value[1]), str(value[0]))
^
TabError: inconsistent use of tabs and spaces in indentation
To fix this error above, simply remove Python 3.8 and install Python 2.7 from the following link:
https://www.python.org/ftp/python/2.7.17/python-2.7.17.amd64.msi