Replaced FileNotFoundError with EnvironmentError
Created by: LexiconCode
Replaced FileNotFoundError with EnvironmentError as it produces a readable error on Python 2 or Python 3.
python ./setup.py install
Traceback (most recent call last):
File "./setup.py", line 24, in <module>
except FileNotFoundError:
NameError: name 'FileNotFoundError' is not defined
$ python ./setup.py install
ERROR: _version.py file is missing
ERROR: Please run 'make version' first